cpu/cortexm_common: add default Kconfig configuration
This commit is contained in:
parent
f4e651e26d
commit
7dc6639f59
@ -36,3 +36,5 @@ endif
|
||||
ifneq (,$(filter armv7m armv8m,$(CPU_ARCH)))
|
||||
FEATURES_PROVIDED += no_idle_thread
|
||||
endif
|
||||
|
||||
KCONFIG_ADD_CONFIG += $(RIOTCPU)/cortexm_common/cortexm_common.config
|
||||
|
||||
5
cpu/cortexm_common/cortexm_common.config
Normal file
5
cpu/cortexm_common/cortexm_common.config
Normal file
@ -0,0 +1,5 @@
|
||||
# all cortex MCU's use newlib as libc
|
||||
CONFIG_MOD_NEWLIB=y
|
||||
|
||||
# use the nano-specs of Newlib when available
|
||||
CONFIG_MOD_NEWLIB_NANO=y
|
||||
@ -15,6 +15,8 @@ FEATURES_PROVIDED += periph_wdt periph_wdt_cb periph_wdt_warning_period
|
||||
FEATURES_CONFLICT += periph_rtc:periph_rtt
|
||||
FEATURES_CONFLICT_MSG += "The RTC and RTT map to the same hardware peripheral."
|
||||
|
||||
KCONFIG_ADD_CONFIG += $(RIOTCPU)/cortexm_common/cortexm_common.config
|
||||
|
||||
-include $(RIOTCPU)/cortexm_common/Makefile.features
|
||||
|
||||
# add sam0 configurations after including cortexm_common so sam0 takes precendence
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user