1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/arm7_common: enable support for picolibc

This commit is contained in:
Benjamin Valentin 2020-08-23 13:30:41 +02:00 committed by Benjamin Valentin
parent af57b156c3
commit 727e9240eb
2 changed files with 10 additions and 3 deletions

View File

@ -1,4 +1,12 @@
# use common ARM7 periph code
USEMODULE += arm7_common_periph
# use the nano-specs of Newlib when available
USEMODULE += newlib_nano
ifeq (1,$(PICOLIBC))
# Use Picolibc when explicitly selected
USEMODULE += picolibc
else
# all cortex MCU's use newlib as libc
USEMODULE += newlib
# use the nano-specs of Newlib when available
USEMODULE += newlib_nano
endif

View File

@ -1,6 +1,5 @@
USEMODULE += arm7_common
USEMODULE += bitfield
USEMODULE += newlib
USEMODULE += periph
USEMODULE += pm_layered