1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-15 22:12:58 +01:00
RIOT/cpu/fe310/Makefile.dep
2021-01-27 10:06:08 +01:00

21 lines
430 B
Makefile

FEATURES_REQUIRED_ANY += picolibc|newlib
ifneq (,$(filter newlib,$(USEMODULE)))
USEMODULE += newlib_nano
USEMODULE += newlib_syscalls_default
endif
USEMODULE += sifive_drivers_fe310
USEMODULE += periph
USEMODULE += periph_pm
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