1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/dose : Expose to Kconfig

Expose Configurations to Kconfig

Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
This commit is contained in:
Akshai M 2020-04-20 23:14:37 +05:30
parent 0784190c9c
commit 3a65d163f6
2 changed files with 24 additions and 0 deletions

View File

@ -6,6 +6,7 @@
menu "Network Device Drivers"
rsource "cc110x/Kconfig"
rsource "dose/Kconfig"
rsource "mrf24j40/Kconfig"
source "$(RIOTCPU)/nrf52/radio/nrf802154/Kconfig"
endmenu # Network Device Drivers

23
drivers/dose/Kconfig Normal file
View File

@ -0,0 +1,23 @@
# Copyright (c) 2020 Freie Universitaet Berlin
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
menuconfig KCONFIG_MODULE_DOSE
bool "Configure DOSE driver"
depends on MODULE_DOSE
help
Configure the Differentially Operated Serial Ethernet (DOSE)
driver using Kconfig.
if KCONFIG_MODULE_DOSE
config DOSE_TIMEOUT_USEC
int "Transaction timeout in microseconds [us]"
default 5000
help
Timeout, in microseconds, to bring the driver back into idle state if
the remote side died within a transaction.
endif # KCONFIG_MODULE_DOSE