Merge pull request #15681 from maribu/mips-malloc

cpu/mips32r2_common: use malloc_thread_safe
This commit is contained in:
Marian Buschsieweke 2021-01-03 11:20:41 +01:00 committed by GitHub
commit cc8070cede
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

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

View File

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