1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/fe310/Makefile
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

12 lines
206 B
Makefile

# define the module that is built
MODULE = cpu
# add a list of subdirectories, that should also be built
DIRS = periph vendor
ifneq (1,$(PICOLIBC))
DIRS += nano
endif
include $(RIOTBASE)/Makefile.base