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

drivers/cc110x : Expose to Kconfig

Expose Configurations to Kconfig
This commit is contained in:
Akshai M 2020-04-17 23:55:07 +05:30
parent 01a8c64e39
commit be097f8533
2 changed files with 25 additions and 0 deletions

View File

@ -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

24
drivers/cc110x/Kconfig Normal file
View File

@ -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