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:
parent
c8d16d21f7
commit
b422ef9970
@ -9,6 +9,7 @@ config CPU_ARCH_RISCV
|
|||||||
bool
|
bool
|
||||||
select HAS_ARCH_RISCV
|
select HAS_ARCH_RISCV
|
||||||
select HAS_PICOLIBC if '$(RIOT_CI_BUILD)' != '1'
|
select HAS_PICOLIBC if '$(RIOT_CI_BUILD)' != '1'
|
||||||
|
select MODULE_MALLOC_THREAD_SAFE if TEST_KCONFIG
|
||||||
|
|
||||||
config CPU_CORE_RV32M
|
config CPU_CORE_RV32M
|
||||||
bool
|
bool
|
||||||
|
@ -15,3 +15,6 @@ FEATURES_REQUIRED += periph_plic
|
|||||||
ifneq (,$(filter periph_rtc,$(USEMODULE)))
|
ifneq (,$(filter periph_rtc,$(USEMODULE)))
|
||||||
FEATURES_REQUIRED += periph_rtt
|
FEATURES_REQUIRED += periph_rtt
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Make calls to malloc and friends thread-safe
|
||||||
|
USEMODULE += malloc_thread_safe
|
||||||
|
Loading…
Reference in New Issue
Block a user