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.
23 lines
668 B
Makefile
23 lines
668 B
Makefile
CPU = saml21
|
|
CPU_MODEL = saml21j18b
|
|
|
|
# Put defined MCU peripherals here (in alphabetical order)
|
|
FEATURES_PROVIDED += highlevel_stdio
|
|
FEATURES_PROVIDED += periph_adc
|
|
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
|
|
|
|
# Put other features for this board (in alphabetical order)
|
|
FEATURES_PROVIDED += riotboot
|
|
|
|
# This configuration enables modules that are only available when using Kconfig
|
|
# module modelling
|
|
ifeq (1, $(TEST_KCONFIG))
|
|
KCONFIG_BOARD_CONFIG += $(BOARDDIR)/yarm.config
|
|
endif
|