Add Spresense board

This commit is contained in:
Kamil Tomaszewski
2019-10-03 14:22:43 +02:00
parent e59742f200
commit 0747c4b61b
8 changed files with 488 additions and 1 deletions

View File

@@ -80,5 +80,9 @@ CFLAGS += \
ifeq ($(DEBUG), 1)
CFLAGS += -O0 -ggdb -DCFG_TUSB_DEBUG=1
else
ifneq ($(BOARD), spresense)
CFLAGS += -flto -Os
else
CFLAGS += -Os
endif
endif

View File

@@ -3,7 +3,11 @@
#
# libc
LIBS += -lgcc -lc -lm -lnosys
LIBS += -lgcc -lm -lnosys
ifneq ($(BOARD), spresense)
LIBS += -lc
endif
# TinyUSB Stack source
SRC_C += \