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