RIOT/cpu/fe310/Makefile.dep
2021-02-11 21:49:43 +01:00

22 lines
464 B
Makefile

FEATURES_REQUIRED_ANY += newlib|picolibc
ifneq (,$(filter newlib,$(USEMODULE)))
USEMODULE += newlib_nano
USEMODULE += newlib_syscalls_default
endif
USEMODULE += periph
USEMODULE += sifive_drivers_fe310
FEATURES_REQUIRED += periph_plic
ifneq (,$(filter periph_rtc,$(USEMODULE)))
FEATURES_REQUIRED += periph_rtt
endif
ifneq (,$(filter periph_timer,$(USEMODULE)))
FEATURES_REQUIRED += periph_coretimer
endif
include $(RIOTCPU)/riscv_common/Makefile.dep