mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 14:33:52 +01:00
This introduces KCONFIG_BOARD_CONFIG and KCONFIG_CPU_CONFIG variable for boards and CPUs (including common directories) to add default configuration files to be merged. The current approach, as it uses Makefile.features, would include boards first, not allowing them to override CPU configurations.
16 lines
519 B
Makefile
16 lines
519 B
Makefile
# define the cpu used by the stm32f723e-disco board
|
|
CPU = stm32
|
|
CPU_MODEL = stm32f723ie
|
|
|
|
# Put defined MCU peripherals here (in alphabetical order)
|
|
FEATURES_PROVIDED += periph_i2c
|
|
FEATURES_PROVIDED += periph_rtc
|
|
FEATURES_PROVIDED += periph_rtt
|
|
FEATURES_PROVIDED += periph_spi
|
|
FEATURES_PROVIDED += periph_timer
|
|
FEATURES_PROVIDED += periph_uart
|
|
FEATURES_PROVIDED += periph_usbdev
|
|
|
|
# stm32f723e-disco provides a custom default Kconfig clock configuration
|
|
KCONFIG_BOARD_CONFIG += $(RIOTBOARD)/stm32f723e-disco/clock.config
|