mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 10:12:45 +01:00
drivers/mrf24j40: Expose configurations to Kconfig
This commit is contained in:
parent
ede9117a1e
commit
f89514e466
@ -5,5 +5,6 @@
|
||||
# directory for more details.
|
||||
|
||||
menu "Network Device Drivers"
|
||||
rsource "mrf24j40/Kconfig"
|
||||
source "$(RIOTCPU)/nrf52/radio/nrf802154/Kconfig"
|
||||
endmenu # Network Device Drivers
|
||||
|
30
drivers/mrf24j40/Kconfig
Normal file
30
drivers/mrf24j40/Kconfig
Normal file
@ -0,0 +1,30 @@
|
||||
# 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_MRF24J40
|
||||
bool "Configure MRF24J40 driver"
|
||||
depends on MODULE_MRF24J40
|
||||
help
|
||||
Configure the MRF24J40 driver using Kconfig.
|
||||
|
||||
if KCONFIG_MODULE_MRF24J40
|
||||
|
||||
config MRF24J40_USE_EXT_PA_LNA
|
||||
bool "Enable external PA/LNA control"
|
||||
default y
|
||||
depends on !MODULE_MRF24J40MA
|
||||
help
|
||||
Increase RSSI for MRF24J40MC/MD/ME devices. No effect on MRF24J40MA.
|
||||
For more information, please refer to section 4.2 of MRF24J40 datasheet.
|
||||
|
||||
config MRF24J40_TEST_SPI_CONNECTION
|
||||
bool "Enable basic self-test on init"
|
||||
help
|
||||
Perform a write / read to a known register on startup to detect if the
|
||||
device is connected. Enable this if you want the boot not to hang if the
|
||||
device is not connected / there are SPI errors.
|
||||
|
||||
endif # KCONFIG_MODULE_MRF24J40
|
Loading…
Reference in New Issue
Block a user