mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
df7ce1c647
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.
17 lines
516 B
Makefile
17 lines
516 B
Makefile
CPU = stm32
|
|
CPU_MODEL = stm32f103re
|
|
|
|
# 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
|
|
|
|
# Put other features for this board (in alphabetical order)
|
|
FEATURES_PROVIDED += riotboot
|
|
|
|
# iotlab boards provide a custom default Kconfig clock configuration
|
|
KCONFIG_BOARD_CONFIG += $(RIOTBOARD)/common/iotlab/clock.config
|