diff --git a/drivers/Kconfig.net b/drivers/Kconfig.net index 4979cf290f3f8..b7ae037e610bd 100644 --- a/drivers/Kconfig.net +++ b/drivers/Kconfig.net @@ -5,6 +5,7 @@ # directory for more details. menu "Network Device Drivers" +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 0000000000000..eb8a9d92a7993 --- /dev/null +++ b/drivers/dose/Kconfig @@ -0,0 +1,24 @@ +# 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 "Configure timeout(uS)" + default 5000 + help + Configure the timeout, in micro seconds, to bring the driver back + into idle state if the remote side died within a transaction. + Default channel is 5000 micro seconds. + +endif # KCONFIG_MODULE_DOSE