Skip to content

Commit

Permalink
drivers/dose : Expose to Kconfig
Browse files Browse the repository at this point in the history
Expose Configurations to Kconfig
  • Loading branch information
akshaim committed Apr 20, 2020
1 parent a0d1517 commit 4472c77
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/Kconfig.net
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
24 changes: 24 additions & 0 deletions drivers/dose/Kconfig
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4472c77

Please sign in to comment.