mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
6d42c9fcfe
This allows to disable nanospecs with DISABLE_MODULE += newlib_nano if a full-features version of newlib is desired.
12 lines
309 B
Makefile
12 lines
309 B
Makefile
# use common ARM7 periph code
|
|
USEMODULE += arm7_common_periph
|
|
|
|
FEATURES_REQUIRED_ANY += newlib|picolibc
|
|
ifneq (,$(filter newlib,$(USEMODULE)))
|
|
# use the nano-specs of Newlib when available
|
|
DEFAULT_MODULE += newlib_nano
|
|
endif
|
|
|
|
# Make calls to malloc and friends thread-safe
|
|
USEMODULE += malloc_thread_safe
|