1
0
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:
Marian Buschsieweke 2020-12-18 17:23:12 +01:00
parent 44c4f1e307
commit 915d14eb98
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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