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:
parent
f652564eb1
commit
709c1aac30
22
cpu/nrf52/radio/nrf802154/Kconfig
Normal file
22
cpu/nrf52/radio/nrf802154/Kconfig
Normal 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
|
@ -5,4 +5,5 @@
|
||||
# directory for more details.
|
||||
|
||||
menu "Drivers"
|
||||
rsource "Kconfig.net"
|
||||
endmenu # Drivers
|
||||
|
9
drivers/Kconfig.net
Normal file
9
drivers/Kconfig.net
Normal 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
|
Loading…
Reference in New Issue
Block a user