summaryrefslogtreecommitdiff
path: root/examples/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rules.mk')
-rw-r--r--examples/rules.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/rules.mk b/examples/rules.mk
index c3daf9dac..8f0e415af 100644
--- a/examples/rules.mk
+++ b/examples/rules.mk
@@ -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 += \
@@ -13,6 +17,7 @@ SRC_C += \
src/device/usbd_control.c \
src/class/msc/msc_device.c \
src/class/cdc/cdc_device.c \
+ src/class/dfu/dfu_rt_device.c \
src/class/hid/hid_device.c \
src/class/midi/midi_device.c \
src/class/usbtmc/usbtmc_device.c \