summaryrefslogtreecommitdiff
path: root/examples/rules.mk
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-05-26 18:16:56 +0700
committerhathach <[email protected]>2021-05-26 18:16:56 +0700
commitf9c542aa52f7f2e5e532343384441234a019e53d (patch)
tree768260844929b861be3bee1fa2fa4996967d976c /examples/rules.mk
parentdbef50f8ffb6892297456aeb409f3d52d3731f0a (diff)
fix dfu example build
Diffstat (limited to 'examples/rules.mk')
-rw-r--r--examples/rules.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/rules.mk b/examples/rules.mk
index 2d86d5c79..4fce468fd 100644
--- a/examples/rules.mk
+++ b/examples/rules.mk
@@ -28,6 +28,7 @@ SRC_C += \
src/device/usbd_control.c \
src/class/audio/audio_device.c \
src/class/cdc/cdc_device.c \
+ src/class/dfu/dfu_device.c \
src/class/dfu/dfu_rt_device.c \
src/class/hid/hid_device.c \
src/class/midi/midi_device.c \
@@ -41,7 +42,7 @@ INC += $(TOP)/src
CFLAGS += $(addprefix -I,$(INC))
-LDFLAGS += $(CFLAGS) -fshort-enums -Wl,-T,$(TOP)/$(LD_FILE) -Wl,[email protected] -Wl,-cref -Wl,-gc-sections
+LDFLAGS += $(CFLAGS) -Wl,-T,$(TOP)/$(LD_FILE) -Wl,[email protected] -Wl,-cref -Wl,-gc-sections
ifneq ($(SKIP_NANOLIB), 1)
LDFLAGS += -specs=nosys.specs -specs=nano.specs
endif