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:
parent
46a5c34c5e
commit
6d42c9fcfe
@ -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
|
||||
|
||||
@ -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:
|
||||
|
||||
@ -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)))
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user