2021-01-26 14:55:40 +01:00
|
|
|
|
2021-02-11 21:49:43 +01:00
|
|
|
FEATURES_REQUIRED_ANY += newlib|picolibc
|
2021-01-26 14:55:40 +01:00
|
|
|
ifneq (,$(filter newlib,$(USEMODULE)))
|
2020-07-02 08:28:14 +02:00
|
|
|
USEMODULE += newlib_nano
|
2021-01-26 13:42:52 +01:00
|
|
|
USEMODULE += newlib_syscalls_default
|
2020-07-02 08:28:14 +02:00
|
|
|
endif
|
2019-12-07 17:12:48 +01:00
|
|
|
|
|
|
|
USEMODULE += periph
|
2020-09-09 21:37:15 +02:00
|
|
|
USEMODULE += sifive_drivers_fe310
|
2019-12-07 17:12:48 +01:00
|
|
|
|
2020-08-28 20:35:37 +02:00
|
|
|
FEATURES_REQUIRED += periph_plic
|
|
|
|
|
2018-04-16 19:03:33 +02:00
|
|
|
ifneq (,$(filter periph_rtc,$(USEMODULE)))
|
2018-09-26 19:32:55 +02:00
|
|
|
FEATURES_REQUIRED += periph_rtt
|
2018-04-16 19:03:33 +02:00
|
|
|
endif
|
2020-12-17 20:59:43 +01:00
|
|
|
|
2020-09-09 21:37:15 +02:00
|
|
|
ifneq (,$(filter periph_timer,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_coretimer
|
|
|
|
endif
|
|
|
|
|
|
|
|
include $(RIOTCPU)/riscv_common/Makefile.dep
|