mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
22 lines
464 B
Makefile
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
|