diff --git a/drivers/Kconfig.net b/drivers/Kconfig.net index 8a0e81d515..901f6d3b2a 100644 --- a/drivers/Kconfig.net +++ b/drivers/Kconfig.net @@ -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 diff --git a/drivers/dose/Kconfig b/drivers/dose/Kconfig new file mode 100644 index 0000000000..b79622d5c3 --- /dev/null +++ b/drivers/dose/Kconfig @@ -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