mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
915d14eb98
This should fix concurrent dynamic memory allocation.
16 lines
402 B
Makefile
16 lines
402 B
Makefile
# use common ARM7 periph code
|
|
USEMODULE += arm7_common_periph
|
|
|
|
ifneq (,$(filter picolibc,$(FEATURES_USED)))
|
|
# 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
|
|
|
|
# Make calls to malloc and friends thread-safe
|
|
USEMODULE += malloc_thread_safe
|