1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-30 08:51:19 +01:00
RIOT/cpu/fe310/Makefile.dep
Alexandre Abadie ce97e9d8ce
Merge pull request #15859 from fjmolinas/pr_newlib_feature
treewide: model newlib as a FEATURE
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