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

boards/nrf52840dk-nrf52dk-dwm1000: add kconfig dependencies

This commit is contained in:
Francisco Molina 2021-09-29 10:19:01 +02:00
parent 6b276af790
commit 3e4b35c445
8 changed files with 24 additions and 6 deletions

View File

@ -8,10 +8,12 @@
: ${TEST_BOARDS_LLVM_COMPILE:=""}
: ${TEST_KCONFIG_BOARDS_AVAILABLE:="
dwm1001
native
samr21-xpro
nrf52840dk
nucleo-f103rb
remote-revb
samr21-xpro
"}
: ${TEST_KCONFIG_ENFORCE_APP_GROUPS:="

View File

@ -9,3 +9,5 @@ config BOARD_COMMON_NRF52
select HAS_PERIPH_RTT
select HAS_PERIPH_TIMER
select HAS_RIOTBOOT
select HAVE_SAUL_NRF_TEMPERATURE

View File

@ -4,7 +4,7 @@
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
config BOARD_COMMON_NRF52XXXDK
config BOARDS_COMMON_NRF52XXXDK
bool
select BOARD_COMMON_NRF52
select HAS_PERIPH_I2C
@ -13,4 +13,10 @@ config BOARD_COMMON_NRF52XXXDK
select HAS_PERIPH_UART
select HAS_VDD_LC_FILTER_REG1
select HAVE_SAUL_GPIO
config MODULE_BOARDS_COMMON_NRF52XXDK
bool
default y
source "$(RIOTBOARD)/common/nrf52/Kconfig"

View File

@ -16,5 +16,6 @@ config BOARD_DWM1001
select HAS_PERIPH_SPI
select HAS_PERIPH_UART
select HAS_VDD_LC_FILTER_REG1
select HAVE_LIS2DH12
source "$(RIOTBOARD)/common/nrf52/Kconfig"

View File

@ -10,10 +10,11 @@ config BOARD
config BOARD_NRF52840DK
bool
default y
select BOARD_COMMON_NRF52XXXDK
select BOARDS_COMMON_NRF52XXXDK
select CPU_MODEL_NRF52840XXAA
select HAS_PERIPH_PWM
select HAS_PERIPH_USBDEV
select HAS_VDD_LC_FILTER_REG0
select HAVE_MTD_SPI_NOR
source "$(RIOTBOARD)/common/nrf52xxxdk/Kconfig"

View File

@ -10,7 +10,7 @@ config BOARD
config BOARD_NRF52DK
bool
default y
select BOARD_COMMON_NRF52XXXDK
select BOARDS_COMMON_NRF52XXXDK
select CPU_MODEL_NRF52832XXAA
source "$(RIOTBOARD)/common/nrf52xxxdk/Kconfig"

View File

@ -9,7 +9,8 @@ rsource "at86rf215/Kconfig"
rsource "ata8520e/Kconfig"
rsource "can_trx/Kconfig"
rsource "cc110x/Kconfig"
source "$(RIOTCPU)/cc2538/radio/Kconfig"
rsource "$(RIOTCPU)/cc2538/radio/Kconfig"
rsource "$(RIOTCPU)/nrf5x_common/radio/Kconfig.nrf5x"
rsource "dose/Kconfig"
rsource "mcp2515/Kconfig"
rsource "mrf24j40/Kconfig"
@ -20,5 +21,4 @@ rsource "slipdev/Kconfig"
rsource "sx126x/Kconfig"
rsource "sx127x/Kconfig"
rsource "tja1042/Kconfig"
source "$(RIOTCPU)/nrf52/radio/nrf802154/Kconfig"
endmenu # Network Device Drivers

View File

@ -5,6 +5,12 @@
# directory for more details.
#
config HAVE_LIS2DH12
bool
select MODULE_LIS2DH12 if MODULE_SAUL_DEFAULT
help
Indicates that a lisdh12 is present
menuconfig MODULE_LIS2DH12
bool "LIS2DH12 Accelerometer"
depends on TEST_KCONFIG