mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:32:45 +01:00
cpu/arm7_common: use malloc_thread_safe
This should fix concurrent dynamic memory allocation.
This commit is contained in:
parent
44c4f1e307
commit
915d14eb98
@ -11,6 +11,7 @@ config CPU_ARCH_ARMV4T
|
||||
select HAS_ARCH_ARM
|
||||
select HAS_CPP
|
||||
select HAS_LIBSTDCPP
|
||||
select MODULE_MALLOC_THREAD_SAFE if TEST_KCONFIG
|
||||
|
||||
config CPU_CORE_ARM7TDMI_S
|
||||
bool
|
||||
|
@ -10,3 +10,6 @@ else
|
||||
# use the nano-specs of Newlib when available
|
||||
USEMODULE += newlib_nano
|
||||
endif
|
||||
|
||||
# Make calls to malloc and friends thread-safe
|
||||
USEMODULE += malloc_thread_safe
|
||||
|
Loading…
Reference in New Issue
Block a user