1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 14:33:52 +01:00

cpu: make newlib_nano a DEFAULT_MODULE

This allows to disable nanospecs with

    DISABLE_MODULE += newlib_nano

if a full-features version of newlib is desired.
This commit is contained in:
Benjamin Valentin 2021-04-26 17:27:03 +02:00
parent 46a5c34c5e
commit 6d42c9fcfe
5 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@ USEMODULE += arm7_common_periph
FEATURES_REQUIRED_ANY += newlib|picolibc
ifneq (,$(filter newlib,$(USEMODULE)))
# use the nano-specs of Newlib when available
USEMODULE += newlib_nano
DEFAULT_MODULE += newlib_nano
endif
# Make calls to malloc and friends thread-safe

View File

@ -7,7 +7,7 @@ USEMODULE += cortexm_common_periph
FEATURES_REQUIRED_ANY += newlib|picolibc
ifneq (,$(filter newlib,$(USEMODULE)))
# use the nano-specs of Newlib when available
USEMODULE += newlib_nano
DEFAULT_MODULE += newlib_nano
endif
# Export the peripheral drivers to be linked into the final binary:

View File

@ -7,7 +7,7 @@ USEMODULE += esp_idf_esp32
USEMODULE += esp_idf_soc
ifneq (,$(filter newlib,$(USEMODULE)))
USEMODULE += newlib_nano
DEFAULT_MODULE += newlib_nano
endif
ifneq (,$(filter esp_eth,$(USEMODULE)))

View File

@ -1,7 +1,7 @@
FEATURES_REQUIRED_ANY += newlib|picolibc
ifneq (,$(filter newlib,$(USEMODULE)))
USEMODULE += newlib_nano
DEFAULT_MODULE += newlib_nano
USEMODULE += newlib_syscalls_default
endif

View File

@ -1,7 +1,7 @@
USEMODULE += msp430_common msp430_common_periph
ifneq (,$(filter newlib,$(USEMODULE)))
USEMODULE += newlib_nano
DEFAULT_MODULE += newlib_nano
endif
# Make calls to malloc and friends thread-safe