mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
This allows to disable nanospecs with
DISABLE_MODULE += newlib_nano
if a full-features version of newlib is desired.
22 lines
469 B
Makefile
22 lines
469 B
Makefile
|
|
FEATURES_REQUIRED_ANY += newlib|picolibc
|
|
ifneq (,$(filter newlib,$(USEMODULE)))
|
|
DEFAULT_MODULE += 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
|