1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/fe310/Makefile.dep
Keith Packard a0d3436486 cpu/fe310: Add PICOLIBC support [v3]
Disable the newlib-nano stubs code when picolibc is in use

Signed-off-by: Keith Packard <keithp@keithp.com>

---
v2:
	Squash fixes in
v3:
	call stdio_init in _PICOLIBC_ mode to initialize uart
v3:
	Remove call to stdio_init from nanostubs_init, always
	call from cpu_init.
2020-08-24 08:24:54 -07:00

16 lines
283 B
Makefile

ifeq (1,$(PICOLIBC))
USEMODULE += picolibc
else
USEMODULE += newlib_nano
USEMODULE += newlib_syscalls_fe310
endif
USEMODULE += sifive_drivers_fe310
USEMODULE += periph
USEMODULE += periph_pm
ifneq (,$(filter periph_rtc,$(USEMODULE)))
FEATURES_REQUIRED += periph_rtt
endif