diff --git a/.murdock b/.murdock index 670994e021..1954103457 100755 --- a/.murdock +++ b/.murdock @@ -22,6 +22,7 @@ dwm1001 hifive1 mbed_lpc1768 mega-xplained +microbit native nrf52840dk nucleo-f072rb diff --git a/boards/airfy-beacon/Kconfig b/boards/airfy-beacon/Kconfig index 8ac778c009..92569f25ce 100644 --- a/boards/airfy-beacon/Kconfig +++ b/boards/airfy-beacon/Kconfig @@ -16,5 +16,6 @@ config BOARD_AIRFY_BEACON select HAS_PERIPH_I2C select HAS_PERIPH_SPI select HAS_PERIPH_UART + select MODULE_BOARDS_COMMON_NRF51 if TEST_KCONFIG source "$(RIOTBOARD)/common/nrf51/Kconfig" diff --git a/boards/calliope-mini/Kconfig b/boards/calliope-mini/Kconfig index 9996dec406..e5ffde225b 100644 --- a/boards/calliope-mini/Kconfig +++ b/boards/calliope-mini/Kconfig @@ -16,4 +16,8 @@ config BOARD_CALLIOPE_MINI select HAS_PERIPH_UART select HAS_PERIPH_PWM + select HAVE_SAUL_GPIO + select HAVE_BMX055 + +source "$(RIOTBOARD)/common/microbit/Kconfig" source "$(RIOTBOARD)/common/nrf51/Kconfig" diff --git a/boards/common/microbit/Kconfig b/boards/common/microbit/Kconfig new file mode 100644 index 0000000000..b518c19096 --- /dev/null +++ b/boards/common/microbit/Kconfig @@ -0,0 +1,11 @@ +# Copyright (c) 2021 Inria +# +# 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. + +config MODULE_MICROBIT + bool "BBC micro:bit specific LED matrix handling" + select MODULE_ZTIMER + select MODULE_ZTIMER_USEC + select MODULE_MINEPLEX diff --git a/boards/common/nrf51/Kconfig b/boards/common/nrf51/Kconfig index 9cb9a28bd9..ea63e6730f 100644 --- a/boards/common/nrf51/Kconfig +++ b/boards/common/nrf51/Kconfig @@ -8,3 +8,15 @@ config BOARD_COMMON_NRF51 bool select HAS_PERIPH_RTT select HAS_PERIPH_TIMER + + select HAVE_SAUL_NRF_TEMPERATURE + +config MODULE_BOARDS_COMMON_NRF51 + bool + depends on TEST_KCONFIG + help + Common code of NRF51 boards + +choice NRF5X_RADIO_BACKEND + default MODULE_NRFMIN +endchoice diff --git a/boards/microbit/Kconfig b/boards/microbit/Kconfig index 846ae7ca23..b568606f38 100644 --- a/boards/microbit/Kconfig +++ b/boards/microbit/Kconfig @@ -15,4 +15,8 @@ config BOARD_MICROBIT select HAS_PERIPH_I2C select HAS_PERIPH_UART + select HAVE_SAUL_GPIO + select HAVE_MMA8X5X + +source "$(RIOTBOARD)/common/microbit/Kconfig" source "$(RIOTBOARD)/common/nrf51/Kconfig" diff --git a/boards/nrf51dk/Kconfig b/boards/nrf51dk/Kconfig index 7802dde835..6cc36c9b6b 100644 --- a/boards/nrf51dk/Kconfig +++ b/boards/nrf51dk/Kconfig @@ -18,4 +18,8 @@ config BOARD_NRF51DK select HAS_PERIPH_UART_HW_FC select HAS_VDD_LC_FILTER_REG1 + select HAVE_SAUL_GPIO + + select MODULE_PERIPH_UART_HW_FC if TEST_KCONFIG && HAS_PERIPH_UART_HW_FC + source "$(RIOTBOARD)/common/nrf51/Kconfig" diff --git a/boards/nrf51dongle/Kconfig b/boards/nrf51dongle/Kconfig index 25a9d22040..367b8714c0 100644 --- a/boards/nrf51dongle/Kconfig +++ b/boards/nrf51dongle/Kconfig @@ -15,4 +15,6 @@ config BOARD_NRF51DONGLE select HAS_PERIPH_UART select HAS_PERIPH_UART_HW_FC + select MODULE_PERIPH_UART_HW_FC if TEST_KCONFIG && HAS_PERIPH_UART_HW_FC + source "$(RIOTBOARD)/common/nrf51/Kconfig" diff --git a/boards/yunjia-nrf51822/Kconfig b/boards/yunjia-nrf51822/Kconfig index 8134f739e6..9ec9f5fe00 100644 --- a/boards/yunjia-nrf51822/Kconfig +++ b/boards/yunjia-nrf51822/Kconfig @@ -16,5 +16,6 @@ config BOARD_YUNJIA_NRF51822 select HAS_PERIPH_I2C select HAS_PERIPH_SPI select HAS_PERIPH_UART + select MODULE_BOARDS_COMMON_NRF51 if TEST_KCONFIG source "$(RIOTBOARD)/common/nrf51/Kconfig"