diff --git a/drivers/Kconfig.net b/drivers/Kconfig.net index 4979cf290f..8a0e81d515 100644 --- a/drivers/Kconfig.net +++ b/drivers/Kconfig.net @@ -5,6 +5,7 @@ # directory for more details. menu "Network Device Drivers" +rsource "cc110x/Kconfig" rsource "mrf24j40/Kconfig" source "$(RIOTCPU)/nrf52/radio/nrf802154/Kconfig" endmenu # Network Device Drivers diff --git a/drivers/cc110x/Kconfig b/drivers/cc110x/Kconfig new file mode 100644 index 0000000000..a3ad238fd6 --- /dev/null +++ b/drivers/cc110x/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_CC110X + bool "Configure CC110X driver" + depends on MODULE_CC110X + help + Configure the CC110X driver using Kconfig. + +if KCONFIG_MODULE_CC110X + +config CC110X_DEFAULT_CHANNEL + int "Configure default channel" + range 0 7 + default 0 + help + Set the default channel for transmission from the allowed + maximum of 8 (0-7) Channels. + Default channel is 0. + +endif # KCONFIG_MODULE_CC110X