mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/cortexm: fix kconfig libc_implemention
This commit is contained in:
parent
8fc06376e4
commit
51fdbdd75c
@ -8,6 +8,7 @@ config MODULE_CORTEXM_COMMON
|
||||
bool
|
||||
default y if CPU_CORE_CORTEX_M
|
||||
depends on TEST_KCONFIG
|
||||
imply MODULE_NEWLIB_NANO
|
||||
select MODULE_PERIPH
|
||||
select MODULE_MALLOC_THREAD_SAFE if TEST_KCONFIG
|
||||
help
|
||||
@ -141,3 +142,8 @@ config MODULE_MPU_STACK_GUARD
|
||||
endmenu # Cortex-M
|
||||
|
||||
rsource "periph/Kconfig"
|
||||
|
||||
choice LIBC_IMPLEMENTATION
|
||||
default MODULE_NEWLIB
|
||||
default MODULE_PICOLIBC
|
||||
endchoice
|
||||
|
@ -39,9 +39,3 @@ else
|
||||
endif
|
||||
|
||||
FEATURES_PROVIDED += no_idle_thread
|
||||
|
||||
# This configuration enables modules that are only available when using Kconfig
|
||||
# module modelling
|
||||
ifeq (1, $(TEST_KCONFIG))
|
||||
KCONFIG_CPU_CONFIG += $(RIOTCPU)/cortexm_common/cortexm_common.config
|
||||
endif
|
||||
|
@ -1,5 +0,0 @@
|
||||
# all cortex MCU's use newlib as libc
|
||||
CONFIG_MODULE_NEWLIB=y
|
||||
|
||||
# use the nano-specs of Newlib when available
|
||||
CONFIG_MODULE_NEWLIB_NANO=y
|
Loading…
Reference in New Issue
Block a user