1
0
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:
MrKevinWeiss 2021-12-14 16:22:08 +01:00
parent 8fc06376e4
commit 51fdbdd75c
No known key found for this signature in database
GPG Key ID: 3514539D7808D123
3 changed files with 6 additions and 11 deletions

View File

@ -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

View File

@ -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

View File

@ -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