Merge pull request #15680 from maribu/msp430-malloc

cpu/msp430_common: use malloc_thread_safe
This commit is contained in:
Marian Buschsieweke 2021-01-03 11:21:03 +01:00 committed by GitHub
commit b14ca8318e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
select HAS_PERIPH_FLASHPAGE_PAGEWISE select HAS_PERIPH_FLASHPAGE_PAGEWISE
select HAS_PERIPH_PM select HAS_PERIPH_PM
select MODULE_MALLOC_THREAD_SAFE if TEST_KCONFIG
config CPU_CORE_MSP430 config CPU_CORE_MSP430
bool bool

View File

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