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

cpu/fe310: use malloc_thread_safe

This commit is contained in:
Marian Buschsieweke 2020-12-17 20:59:43 +01:00
parent c8d16d21f7
commit b422ef9970
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F
2 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,7 @@ config CPU_ARCH_RISCV
bool
select HAS_ARCH_RISCV
select HAS_PICOLIBC if '$(RIOT_CI_BUILD)' != '1'
select MODULE_MALLOC_THREAD_SAFE if TEST_KCONFIG
config CPU_CORE_RV32M
bool

View File

@ -15,3 +15,6 @@ FEATURES_REQUIRED += periph_plic
ifneq (,$(filter periph_rtc,$(USEMODULE)))
FEATURES_REQUIRED += periph_rtt
endif
# Make calls to malloc and friends thread-safe
USEMODULE += malloc_thread_safe