cpu/mips32r2_common: use malloc_thread_safe
This should fix concurrent dynamic memory allocation.
This commit is contained in:
parent
44c4f1e307
commit
7f7bf8454b
@ -12,6 +12,7 @@ config CPU_ARCH_MIPS32R2
|
||||
select HAS_CPP
|
||||
select HAS_LIBSTDCPP
|
||||
select HAS_PERIPH_PM
|
||||
select MODULE_MALLOC_THREAD_SAFE if TEST_KCONFIG
|
||||
|
||||
config CPU_CORE_M4K
|
||||
bool
|
||||
|
||||
@ -9,3 +9,6 @@ FEATURES_REQUIRED += periph_timer
|
||||
ifeq (,$(filter newlib_syscalls_mips_uhi,$(USEMODULE)))
|
||||
USEMODULE += newlib_syscalls_default
|
||||
endif
|
||||
|
||||
# Make calls to malloc and friends thread-safe
|
||||
USEMODULE += malloc_thread_safe
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user