From deda2cfb97108f2a885c721422445a308ea2c9ac Mon Sep 17 00:00:00 2001 From: MrKevinWeiss Date: Tue, 14 Dec 2021 16:23:59 +0100 Subject: [PATCH] boards: Fix stm32 based boards kconfig models --- boards/alientek-pandora/Kconfig | 2 ++ boards/b-l072z-lrwan1/Kconfig | 2 ++ boards/b-l475e-iot01a/Kconfig | 6 ++++++ boards/blackpill-128kib/Kconfig | 1 + boards/blackpill/Kconfig | 1 + boards/bluepill-128kib/Kconfig | 1 + boards/bluepill-stm32f030c8/Kconfig | 2 ++ boards/bluepill/Kconfig | 1 + boards/common/blxxxpill/Kconfig | 9 +++++++++ boards/common/iotlab/Kconfig | 10 ++++++++++ boards/common/weact-f4x1cx/Kconfig | 11 ++++++++++- boards/common/weact-f4x1cx/Makefile.features | 6 ++++++ boards/common/weact-f4x1cx/weact-f4x1cx.config | 5 +++++ boards/iotlab-a8-m3/Kconfig | 1 + boards/iotlab-m3/Kconfig | 4 ++++ boards/lobaro-lorabox/Kconfig | 2 ++ boards/lora-e5-dev/Kconfig | 3 +++ boards/nucleo-l011k4/Kconfig | 5 +++++ boards/nucleo-wl55jc/Kconfig | 2 ++ boards/nz32-sc151/Kconfig | 2 ++ boards/olimexino-stm32/Kconfig | 2 ++ boards/p-l496g-cell02/Kconfig | 2 ++ boards/pyboard/Kconfig | 2 ++ boards/stm32f030f4-demo/Kconfig | 5 +++++ boards/stm32f0discovery/Kconfig | 2 ++ boards/stm32f3discovery/Kconfig | 3 +++ boards/stm32f429i-disc1/Kconfig | 2 ++ boards/stm32f429i-disco/Kconfig | 14 +------------- boards/stm32f429i-disco/Makefile.features | 6 ++++++ boards/stm32f429i-disco/stm32f429i-disco.config | 3 +++ boards/stm32f469i-disco/Kconfig | 2 ++ boards/stm32f4discovery/Kconfig | 2 ++ boards/stm32f723e-disco/Kconfig | 6 ++++++ boards/stm32f723e-disco/Makefile.features | 1 + boards/stm32f746g-disco/Kconfig | 2 ++ boards/stm32f769i-disco/Kconfig | 2 ++ boards/stm32l0538-disco/Kconfig | 2 ++ boards/stm32l476g-disco/Kconfig | 2 ++ boards/ublox-c030-u201/Kconfig | 4 ++++ boards/ublox-c030-u201/Makefile.features | 1 + boards/weact-f401cc/Kconfig | 3 ++- boards/weact-f401ce/Kconfig | 3 ++- boards/weact-f411ce/Kconfig | 3 ++- 43 files changed, 133 insertions(+), 17 deletions(-) create mode 100644 boards/common/weact-f4x1cx/weact-f4x1cx.config create mode 100644 boards/stm32f429i-disco/stm32f429i-disco.config diff --git a/boards/alientek-pandora/Kconfig b/boards/alientek-pandora/Kconfig index 968976336b..fcfed3365e 100644 --- a/boards/alientek-pandora/Kconfig +++ b/boards/alientek-pandora/Kconfig @@ -25,4 +25,6 @@ config BOARD_ALIENTEK_PANDORA # Clock configuration select BOARD_HAS_LSE + select HAVE_SAUL_GPIO + source "$(RIOTBOARD)/common/stm32/Kconfig" diff --git a/boards/b-l072z-lrwan1/Kconfig b/boards/b-l072z-lrwan1/Kconfig index 9bbe7bfa6e..bfd681f741 100644 --- a/boards/b-l072z-lrwan1/Kconfig +++ b/boards/b-l072z-lrwan1/Kconfig @@ -32,4 +32,6 @@ config BOARD_B_L072Z_LRWAN1 # Clock configuration select BOARD_HAS_LSE + select HAVE_SAUL_GPIO + source "$(RIOTBOARD)/common/stm32/Kconfig" diff --git a/boards/b-l475e-iot01a/Kconfig b/boards/b-l475e-iot01a/Kconfig index b92644cc7e..33bea1a02d 100644 --- a/boards/b-l475e-iot01a/Kconfig +++ b/boards/b-l475e-iot01a/Kconfig @@ -30,4 +30,10 @@ config BOARD_B_L475E_IOT01A # Clock configuration select BOARD_HAS_LSE + select HAVE_SAUL_GPIO + select HAVE_HTS221 + select HAVE_LIS3MDL + select HAVE_LPS22HB + select HAVE_LSM6DSL + source "$(RIOTBOARD)/common/stm32/Kconfig" diff --git a/boards/blackpill-128kib/Kconfig b/boards/blackpill-128kib/Kconfig index 801771edad..d0299e6458 100644 --- a/boards/blackpill-128kib/Kconfig +++ b/boards/blackpill-128kib/Kconfig @@ -13,5 +13,6 @@ config BOARD_BLACKPILL_128KIB default y select BOARD_COMMON_BLXXXPILL select CPU_MODEL_STM32F103CB + select MODULE_BOARDS_COMMON_BLXXXPILL if TEST_KCONFIG source "$(RIOTBOARD)/common/blxxxpill/Kconfig" diff --git a/boards/blackpill/Kconfig b/boards/blackpill/Kconfig index f8512b6752..b123a6fa78 100644 --- a/boards/blackpill/Kconfig +++ b/boards/blackpill/Kconfig @@ -13,5 +13,6 @@ config BOARD_BLACKPILL default y select BOARD_COMMON_BLXXXPILL select CPU_MODEL_STM32F103C8 + select MODULE_BOARDS_COMMON_BLXXXPILL if TEST_KCONFIG source "$(RIOTBOARD)/common/blxxxpill/Kconfig" diff --git a/boards/bluepill-128kib/Kconfig b/boards/bluepill-128kib/Kconfig index 170fe7fb88..fc284abed0 100644 --- a/boards/bluepill-128kib/Kconfig +++ b/boards/bluepill-128kib/Kconfig @@ -13,5 +13,6 @@ config BOARD_BLUEPILL_128KIB default y select BOARD_COMMON_BLXXXPILL select CPU_MODEL_STM32F103CB + select MODULE_BOARDS_COMMON_BLXXXPILL if TEST_KCONFIG source "$(RIOTBOARD)/common/blxxxpill/Kconfig" diff --git a/boards/bluepill-stm32f030c8/Kconfig b/boards/bluepill-stm32f030c8/Kconfig index 3f39a244a9..ed15cc7d17 100644 --- a/boards/bluepill-stm32f030c8/Kconfig +++ b/boards/bluepill-stm32f030c8/Kconfig @@ -21,3 +21,5 @@ config BOARD_BLUEPILL_STM32F030C8 select HAS_PERIPH_UART select HAS_PERIPH_SPI select HAS_PERIPH_RTC + + select HAVE_SAUL_GPIO diff --git a/boards/bluepill/Kconfig b/boards/bluepill/Kconfig index e702006e4f..247df02dca 100644 --- a/boards/bluepill/Kconfig +++ b/boards/bluepill/Kconfig @@ -13,5 +13,6 @@ config BOARD_BLUEPILL default y select BOARD_COMMON_BLXXXPILL select CPU_MODEL_STM32F103C8 + select MODULE_BOARDS_COMMON_BLXXXPILL if TEST_KCONFIG source "$(RIOTBOARD)/common/blxxxpill/Kconfig" diff --git a/boards/common/blxxxpill/Kconfig b/boards/common/blxxxpill/Kconfig index 307cf0ef4f..db171ba280 100644 --- a/boards/common/blxxxpill/Kconfig +++ b/boards/common/blxxxpill/Kconfig @@ -22,4 +22,13 @@ config BOARD_COMMON_BLXXXPILL select BOARD_HAS_HSE select BOARD_HAS_LSE + select HAVE_SAUL_GPIO + +config MODULE_BOARDS_COMMON_BLXXXPILL + bool + depends on TEST_KCONFIG + help + Common code of bluepill or blackpill boards + + source "$(RIOTBOARD)/common/stm32/Kconfig" diff --git a/boards/common/iotlab/Kconfig b/boards/common/iotlab/Kconfig index 7faa296e6e..e112bad116 100644 --- a/boards/common/iotlab/Kconfig +++ b/boards/common/iotlab/Kconfig @@ -22,4 +22,14 @@ config BOARD_COMMON_IOTLAB select BOARD_HAS_HSE select BOARD_HAS_LSE + select HAVE_SAUL_GPIO + select HAVE_L3G4200D + select HAVE_LSM303DLHC + +config MODULE_BOARDS_COMMON_IOTLAB + bool + depends on TEST_KCONFIG + help + Common code of iotlab based boards + source "$(RIOTBOARD)/common/stm32/Kconfig" diff --git a/boards/common/weact-f4x1cx/Kconfig b/boards/common/weact-f4x1cx/Kconfig index 65ba0425fb..38f86150a0 100644 --- a/boards/common/weact-f4x1cx/Kconfig +++ b/boards/common/weact-f4x1cx/Kconfig @@ -5,7 +5,7 @@ # directory for more details. # -config BOARD_COMMON_WEACT_F41XCX +config BOARD_COMMON_WEACT_F4X1CX bool # Put defined MCU peripherals here (in alphabetical order) select HAS_PERIPH_ADC @@ -22,4 +22,13 @@ config BOARD_COMMON_WEACT_F41XCX select BOARD_HAS_HSE select BOARD_HAS_LSE + select HAVE_SAUL_GPIO + select HAVE_MTD_SPI_NOR + +config MODULE_BOARDS_COMMON_WEACT-F4X1CX + bool + depends on TEST_KCONFIG + help + Common code of weact based boards + source "$(RIOTBOARD)/common/stm32/Kconfig" diff --git a/boards/common/weact-f4x1cx/Makefile.features b/boards/common/weact-f4x1cx/Makefile.features index 6216610ca9..66250c5a64 100644 --- a/boards/common/weact-f4x1cx/Makefile.features +++ b/boards/common/weact-f4x1cx/Makefile.features @@ -15,3 +15,9 @@ FEATURES_PROVIDED += highlevel_stdio # weact-f4x1cx boards provide a custom default Kconfig clock configuration KCONFIG_BOARD_CONFIG += $(RIOTBOARD)/common/weact-f4x1cx/clock.config + +# This configuration enables modules that are only available when using Kconfig +# module modelling +ifeq (1, $(TEST_KCONFIG)) + KCONFIG_BOARD_CONFIG += $(RIOTBOARD)/common/weact-f4x1cx/weact-f4x1cx.config +endif diff --git a/boards/common/weact-f4x1cx/weact-f4x1cx.config b/boards/common/weact-f4x1cx/weact-f4x1cx.config new file mode 100644 index 0000000000..2d76798de1 --- /dev/null +++ b/boards/common/weact-f4x1cx/weact-f4x1cx.config @@ -0,0 +1,5 @@ +CONFIG_MODULE_BOOTLOADER_STM32=y +CONFIG_MODULE_STDIO_CDC_ACM=y +CONFIG_MODULE_USBUS=y +CONFIG_MODULE_USBUS_CDC_ACM=y +CONFIG_MODULE_USB_BOARD_RESET=y diff --git a/boards/iotlab-a8-m3/Kconfig b/boards/iotlab-a8-m3/Kconfig index 5dd00a2859..71f7c790f3 100644 --- a/boards/iotlab-a8-m3/Kconfig +++ b/boards/iotlab-a8-m3/Kconfig @@ -12,5 +12,6 @@ config BOARD_IOTLAB_A8_M3 bool default y select BOARD_COMMON_IOTLAB + select MODULE_BOARDS_COMMON_IOTLAB if TEST_KCONFIG source "$(RIOTBOARD)/common/iotlab/Kconfig" diff --git a/boards/iotlab-m3/Kconfig b/boards/iotlab-m3/Kconfig index 22bd628eb4..a3851d6b4f 100644 --- a/boards/iotlab-m3/Kconfig +++ b/boards/iotlab-m3/Kconfig @@ -14,5 +14,9 @@ config BOARD_IOTLAB_M3 select BOARD_COMMON_IOTLAB select HAS_PERIPH_DMA + select HAVE_MTD_SPI_NOR + select HAVE_LPS331AP + select HAVE_ISL29020 + select MODULE_BOARDS_COMMON_IOTLAB if TEST_KCONFIG source "$(RIOTBOARD)/common/iotlab/Kconfig" diff --git a/boards/lobaro-lorabox/Kconfig b/boards/lobaro-lorabox/Kconfig index 50c8707aa6..d5a298074e 100644 --- a/boards/lobaro-lorabox/Kconfig +++ b/boards/lobaro-lorabox/Kconfig @@ -24,4 +24,6 @@ config BOARD_LOBARO_LORABOX # Clock configuration select BOARD_HAS_LSE + select HAVE_SAUL_GPIO + source "$(RIOTBOARD)/common/stm32/Kconfig" diff --git a/boards/lora-e5-dev/Kconfig b/boards/lora-e5-dev/Kconfig index f462d14cbd..11fc51694d 100644 --- a/boards/lora-e5-dev/Kconfig +++ b/boards/lora-e5-dev/Kconfig @@ -25,6 +25,9 @@ config BOARD_LORA_E5_DEV # Put other features for this board (in alphabetical order) select HAS_RIOTBOOT + select HAVE_SAUL_GPIO + select HAVE_LM75A + config LORA_E5_DEV_ENABLE_3P3V bool "LoRa-E5 Development Kit - Enable 3.3V output" default y diff --git a/boards/nucleo-l011k4/Kconfig b/boards/nucleo-l011k4/Kconfig index 46725d0e02..c1b98c6d73 100644 --- a/boards/nucleo-l011k4/Kconfig +++ b/boards/nucleo-l011k4/Kconfig @@ -23,4 +23,9 @@ config BOARD_NUCLEO_L011K4 select HAS_PERIPH_TIMER select HAS_PERIPH_UART +choice LIBC_IMPLEMENTATION + # Use Picolibc to reduce ROM usage + default MODULE_PICOLIBC +endchoice + source "$(RIOTBOARD)/common/nucleo32/Kconfig" diff --git a/boards/nucleo-wl55jc/Kconfig b/boards/nucleo-wl55jc/Kconfig index f9f6e0fb53..63e9438de4 100644 --- a/boards/nucleo-wl55jc/Kconfig +++ b/boards/nucleo-wl55jc/Kconfig @@ -26,4 +26,6 @@ config BOARD_NUCLEO_WL55JC select HAS_ARDUINO select HAS_RIOTBOOT + select MODULE_PERIPH_LPUART if MODULE_STDIO_UART && HAS_PERIPH_LPUART + source "$(RIOTBOARD)/common/nucleo64/Kconfig" diff --git a/boards/nz32-sc151/Kconfig b/boards/nz32-sc151/Kconfig index 41f34eee7d..485a7f078a 100644 --- a/boards/nz32-sc151/Kconfig +++ b/boards/nz32-sc151/Kconfig @@ -24,4 +24,6 @@ config BOARD_NZ32_SC151 select HAS_PERIPH_TIMER select HAS_PERIPH_UART + select HAVE_SAUL_GPIO + source "$(RIOTBOARD)/common/stm32/Kconfig" diff --git a/boards/olimexino-stm32/Kconfig b/boards/olimexino-stm32/Kconfig index 53b3150ad4..998d9373b7 100644 --- a/boards/olimexino-stm32/Kconfig +++ b/boards/olimexino-stm32/Kconfig @@ -28,4 +28,6 @@ config BOARD_OLIMEXINO_STM32 select BOARD_HAS_HSE select BOARD_HAS_LSE + select HAVE_SAUL_GPIO + source "$(RIOTBOARD)/common/stm32/Kconfig" diff --git a/boards/p-l496g-cell02/Kconfig b/boards/p-l496g-cell02/Kconfig index f485189208..682d082e83 100644 --- a/boards/p-l496g-cell02/Kconfig +++ b/boards/p-l496g-cell02/Kconfig @@ -26,4 +26,6 @@ config BOARD_P_L496G_CELL02 # Clock configuration select BOARD_HAS_LSE + select HAVE_SAUL_GPIO + source "$(RIOTBOARD)/common/stm32/Kconfig" diff --git a/boards/pyboard/Kconfig b/boards/pyboard/Kconfig index 614a647dff..51fe668d66 100644 --- a/boards/pyboard/Kconfig +++ b/boards/pyboard/Kconfig @@ -26,4 +26,6 @@ config BOARD_PYBOARD select BOARD_HAS_HSE select BOARD_HAS_LSE + select HAVE_SAUL_GPIO + source "$(RIOTBOARD)/common/stm32/Kconfig" diff --git a/boards/stm32f030f4-demo/Kconfig b/boards/stm32f030f4-demo/Kconfig index 8f6b5b221e..f9e7cbf1d8 100644 --- a/boards/stm32f030f4-demo/Kconfig +++ b/boards/stm32f030f4-demo/Kconfig @@ -24,4 +24,9 @@ config BOARD_STM32F030F4_DEMO # Clock configuration select BOARD_HAS_HSE +choice LIBC_IMPLEMENTATION + # Use Picolibc to reduce ROM usage + default MODULE_PICOLIBC +endchoice + source "$(RIOTBOARD)/common/stm32/Kconfig" diff --git a/boards/stm32f0discovery/Kconfig b/boards/stm32f0discovery/Kconfig index 9922c547d6..e51dce2e76 100644 --- a/boards/stm32f0discovery/Kconfig +++ b/boards/stm32f0discovery/Kconfig @@ -23,4 +23,6 @@ config BOARD_STM32F0DISCOVERY # Clock configuration select BOARD_HAS_HSE + select HAVE_SAUL_GPIO + source "$(RIOTBOARD)/common/stm32/Kconfig" diff --git a/boards/stm32f3discovery/Kconfig b/boards/stm32f3discovery/Kconfig index a0d83283f1..fdad3c17cf 100644 --- a/boards/stm32f3discovery/Kconfig +++ b/boards/stm32f3discovery/Kconfig @@ -25,4 +25,7 @@ config BOARD_STM32F3DISCOVERY # Clock configuration select BOARD_HAS_HSE + select HAVE_SAUL_GPIO + select HAVE_LSM303DLHC + source "$(RIOTBOARD)/common/stm32/Kconfig" diff --git a/boards/stm32f429i-disc1/Kconfig b/boards/stm32f429i-disc1/Kconfig index cf3e362eab..5771827ab1 100644 --- a/boards/stm32f429i-disc1/Kconfig +++ b/boards/stm32f429i-disc1/Kconfig @@ -28,4 +28,6 @@ config BOARD_STM32F429I_DISC1 select BOARD_HAS_HSE select BOARD_HAS_LSE + select HAVE_SAUL_GPIO + source "$(RIOTBOARD)/common/stm32/Kconfig" diff --git a/boards/stm32f429i-disco/Kconfig b/boards/stm32f429i-disco/Kconfig index 53f94d5837..48766e5242 100644 --- a/boards/stm32f429i-disco/Kconfig +++ b/boards/stm32f429i-disco/Kconfig @@ -13,20 +13,8 @@ config BOARD_STM32F429I_DISCO default y select CPU_MODEL_STM32F429ZI - # Put defined MCU peripherals here (in alphabetical order) - select HAS_PERIPH_DMA - select HAS_PERIPH_I2C - select HAS_PERIPH_SPI - select HAS_PERIPH_TIMER - select HAS_PERIPH_UART - select HAS_PERIPH_USBDEV - # Put other features for this board (in alphabetical order) select HAS_HIGHLEVEL_STDIO - select HAS_RIOTBOOT - - # Clock configuration - select BOARD_HAS_HSE - select BOARD_HAS_LSE source "$(RIOTBOARD)/common/stm32/Kconfig" +source "$(RIOTBOARD)/stm32f429i-disc1/Kconfig" diff --git a/boards/stm32f429i-disco/Makefile.features b/boards/stm32f429i-disco/Makefile.features index 56052cb132..fae01d5a11 100644 --- a/boards/stm32f429i-disco/Makefile.features +++ b/boards/stm32f429i-disco/Makefile.features @@ -1,3 +1,9 @@ FEATURES_PROVIDED += highlevel_stdio include $(RIOTBOARD)/stm32f429i-disc1/Makefile.features + +# This configuration enables modules that are only available when using Kconfig +# module modelling +ifeq (1, $(TEST_KCONFIG)) + KCONFIG_ADD_CONFIG += $(BOARDDIR)/stm32f429i-disco.config +endif diff --git a/boards/stm32f429i-disco/stm32f429i-disco.config b/boards/stm32f429i-disco/stm32f429i-disco.config new file mode 100644 index 0000000000..7699f35a5c --- /dev/null +++ b/boards/stm32f429i-disco/stm32f429i-disco.config @@ -0,0 +1,3 @@ +CONFIG_MODULE_USBUS=y +CONFIG_MODULE_USBUS_CDC_ACM=y +CONFIG_MODULE_STDIO_CDC_ACM=y diff --git a/boards/stm32f469i-disco/Kconfig b/boards/stm32f469i-disco/Kconfig index 5aa94f4556..860dff6cb3 100644 --- a/boards/stm32f469i-disco/Kconfig +++ b/boards/stm32f469i-disco/Kconfig @@ -22,4 +22,6 @@ config BOARD_STM32F469I_DISCO select BOARD_HAS_HSE select BOARD_HAS_LSE + select HAVE_SAUL_GPIO + source "$(RIOTBOARD)/common/stm32/Kconfig" diff --git a/boards/stm32f4discovery/Kconfig b/boards/stm32f4discovery/Kconfig index 168d141323..be03e78426 100644 --- a/boards/stm32f4discovery/Kconfig +++ b/boards/stm32f4discovery/Kconfig @@ -31,6 +31,8 @@ config BOARD_STM32F4DISCOVERY # Clock configuration select BOARD_HAS_HSE + select HAVE_SAUL_GPIO + source "$(RIOTBOARD)/common/stm32/Kconfig" config ERROR_MODULES_CONFLICT diff --git a/boards/stm32f723e-disco/Kconfig b/boards/stm32f723e-disco/Kconfig index 3066aaf2b5..dbcdbb34e5 100644 --- a/boards/stm32f723e-disco/Kconfig +++ b/boards/stm32f723e-disco/Kconfig @@ -20,10 +20,16 @@ config BOARD_STM32F723E_DISCO select HAS_PERIPH_SPI select HAS_PERIPH_TIMER select HAS_PERIPH_UART + select HAS_PERIPH_UART_HW_FC select HAS_PERIPH_USBDEV # Clock configuration select BOARD_HAS_HSE select BOARD_HAS_LSE + select HAVE_SAUL_GPIO + select MODULE_PERIPH_UART_HW_FC if TEST_KCONFIG && HAS_PERIPH_UART_HW_FC + # Workaround due to stdout only working with stdin enabled + select MODULE_STDIN if TEST_KCONFIG + source "$(RIOTBOARD)/common/stm32/Kconfig" diff --git a/boards/stm32f723e-disco/Makefile.features b/boards/stm32f723e-disco/Makefile.features index 4454233875..1149406a57 100644 --- a/boards/stm32f723e-disco/Makefile.features +++ b/boards/stm32f723e-disco/Makefile.features @@ -9,6 +9,7 @@ FEATURES_PROVIDED += periph_rtt FEATURES_PROVIDED += periph_spi FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart +FEATURES_PROVIDED += periph_uart_hw_fc FEATURES_PROVIDED += periph_usbdev # stm32f723e-disco provides a custom default Kconfig clock configuration diff --git a/boards/stm32f746g-disco/Kconfig b/boards/stm32f746g-disco/Kconfig index b46ae34f01..7c27affbaf 100644 --- a/boards/stm32f746g-disco/Kconfig +++ b/boards/stm32f746g-disco/Kconfig @@ -27,4 +27,6 @@ config BOARD_STM32F746G_DISCO select BOARD_HAS_HSE select BOARD_HAS_LSE + select HAVE_SAUL_GPIO + source "$(RIOTBOARD)/common/stm32/Kconfig" diff --git a/boards/stm32f769i-disco/Kconfig b/boards/stm32f769i-disco/Kconfig index 2ea0c5d4ec..0ff75d637b 100644 --- a/boards/stm32f769i-disco/Kconfig +++ b/boards/stm32f769i-disco/Kconfig @@ -24,4 +24,6 @@ config BOARD_STM32F769I_DISCO select BOARD_HAS_HSE select BOARD_HAS_LSE + select HAVE_SAUL_GPIO + source "$(RIOTBOARD)/common/stm32/Kconfig" diff --git a/boards/stm32l0538-disco/Kconfig b/boards/stm32l0538-disco/Kconfig index e188a2d188..3250d0f860 100644 --- a/boards/stm32l0538-disco/Kconfig +++ b/boards/stm32l0538-disco/Kconfig @@ -19,4 +19,6 @@ config BOARD_STM32L0538_DISCO select HAS_PERIPH_TIMER select HAS_PERIPH_UART + select HAVE_SAUL_GPIO + source "$(RIOTBOARD)/common/stm32/Kconfig" diff --git a/boards/stm32l476g-disco/Kconfig b/boards/stm32l476g-disco/Kconfig index 048705d526..448f763764 100644 --- a/boards/stm32l476g-disco/Kconfig +++ b/boards/stm32l476g-disco/Kconfig @@ -26,4 +26,6 @@ config BOARD_STM32L476G_DISCO # Clock configuration select BOARD_HAS_LSE + select HAVE_SAUL_GPIO + source "$(RIOTBOARD)/common/stm32/Kconfig" diff --git a/boards/ublox-c030-u201/Kconfig b/boards/ublox-c030-u201/Kconfig index 3ce01486a2..d35cd38e1c 100644 --- a/boards/ublox-c030-u201/Kconfig +++ b/boards/ublox-c030-u201/Kconfig @@ -21,9 +21,13 @@ config BOARD_UBLOX_C030_U201 select HAS_PERIPH_SPI select HAS_PERIPH_TIMER select HAS_PERIPH_UART + select HAS_PERIPH_UART_HW_FC # Clock configuration select BOARD_HAS_HSE select BOARD_HAS_LSE + select HAVE_SAUL_GPIO + select MODULE_PERIPH_UART_HW_FC if TEST_KCONFIG && HAS_PERIPH_UART_HW_FC + source "$(RIOTBOARD)/common/stm32/Kconfig" diff --git a/boards/ublox-c030-u201/Makefile.features b/boards/ublox-c030-u201/Makefile.features index 26fa7084ed..d25489c730 100644 --- a/boards/ublox-c030-u201/Makefile.features +++ b/boards/ublox-c030-u201/Makefile.features @@ -9,6 +9,7 @@ FEATURES_PROVIDED += periph_rtc FEATURES_PROVIDED += periph_spi FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart +FEATURES_PROVIDED += periph_uart_hw_fc # ublox-c030-u201 provides a custom default Kconfig clock configuration KCONFIG_BOARD_CONFIG += $(RIOTBOARD)/ublox-c030-u201/clock.config diff --git a/boards/weact-f401cc/Kconfig b/boards/weact-f401cc/Kconfig index 44b01a5f83..c7cd52c8b3 100644 --- a/boards/weact-f401cc/Kconfig +++ b/boards/weact-f401cc/Kconfig @@ -11,7 +11,8 @@ config BOARD config BOARD_WEACT_F401CC bool default y - select BOARD_COMMON_WEACT_F41XCX + select BOARD_COMMON_WEACT_F4X1CX select CPU_MODEL_STM32F401CC + select MODULE_BOARDS_COMMON_WEACT-F4X1CX if TEST_KCONFIG source "$(RIOTBOARD)/common/weact-f4x1cx/Kconfig" diff --git a/boards/weact-f401ce/Kconfig b/boards/weact-f401ce/Kconfig index c5a2bf848d..8fb8c6d94c 100644 --- a/boards/weact-f401ce/Kconfig +++ b/boards/weact-f401ce/Kconfig @@ -11,7 +11,8 @@ config BOARD config BOARD_WEACT_F401CE bool default y - select BOARD_COMMON_WEACT_F41XCX + select BOARD_COMMON_WEACT_F4X1CX select CPU_MODEL_STM32F401CE + select MODULE_BOARDS_COMMON_WEACT-F4X1CX if TEST_KCONFIG source "$(RIOTBOARD)/common/weact-f4x1cx/Kconfig" diff --git a/boards/weact-f411ce/Kconfig b/boards/weact-f411ce/Kconfig index 54247795ba..e5fc0f72e6 100644 --- a/boards/weact-f411ce/Kconfig +++ b/boards/weact-f411ce/Kconfig @@ -11,7 +11,8 @@ config BOARD config BOARD_WEACT_F411CE bool default y - select BOARD_COMMON_WEACT_F41XCX + select BOARD_COMMON_WEACT_F4X1CX select CPU_MODEL_STM32F411CE + select MODULE_BOARDS_COMMON_WEACT-F4X1CX if TEST_KCONFIG source "$(RIOTBOARD)/common/weact-f4x1cx/Kconfig"