1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

Kconfig: Expose NRF802154 configurations

This commit is contained in:
Jose Alamos 2020-01-16 16:36:31 +01:00
parent f652564eb1
commit 709c1aac30
3 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# Copyright (c) 2020 HAW Hamburg
#
# 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_NRF802154
bool "Configure nRF802154"
depends on MODULE_NRF802154
help
Configure nRF802154 module using Kconfig.
if KCONFIG_MODULE_NRF802154
config NRF802154_CCA_THRESH_DEFAULT
hex "Default CCA threshold value"
default 0x14
range 0x00 0xFF
help
Default CCA threshold value for the CCACTRL register.
endif # KCONFIG_MODULE_NRF802154

View File

@ -5,4 +5,5 @@
# directory for more details.
menu "Drivers"
rsource "Kconfig.net"
endmenu # Drivers

9
drivers/Kconfig.net Normal file
View File

@ -0,0 +1,9 @@
# Copyright (c) 2020 HAW Hamburg
#
# 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.
menu "Network Device Drivers"
source "$(RIOTCPU)/nrf52/radio/nrf802154/Kconfig"
endmenu # Network Device Drivers