1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/msp430_common: use malloc_thread_safe

This should fix concurrent dynamic memory allocation.
This commit is contained in:
Marian Buschsieweke 2020-12-18 17:30:40 +01:00
parent 44c4f1e307
commit dfb67cef91
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F
2 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,7 @@ config CPU_ARCH_MSP430
select HAS_PERIPH_FLASHPAGE
select HAS_PERIPH_FLASHPAGE_PAGEWISE
select HAS_PERIPH_PM
select MODULE_MALLOC_THREAD_SAFE if TEST_KCONFIG
config CPU_CORE_MSP430
bool

View File

@ -6,3 +6,6 @@ DEFAULT_MODULE += newlib
ifneq (,$(filter newlib,$(USEMODULE)))
USEMODULE += newlib_nano
endif
# Make calls to malloc and friends thread-safe
USEMODULE += malloc_thread_safe