summaryrefslogtreecommitdiff
path: root/examples/device/dfu
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-01-18 10:31:00 +0700
committerhathach <[email protected]>2023-01-18 10:31:00 +0700
commitecfd57e6f12b16c1d7f8cfe2ff6b70e387b38119 (patch)
tree59ccf79055ade5c52da116b314770330f11de177 /examples/device/dfu
parent8df2fd1916d5e69cfaad7516399a8d7da5060f57 (diff)
get most examples build with iar
Diffstat (limited to 'examples/device/dfu')
-rw-r--r--examples/device/dfu/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/device/dfu/Makefile b/examples/device/dfu/Makefile
index 69b633fea..5148ed55a 100644
--- a/examples/device/dfu/Makefile
+++ b/examples/device/dfu/Makefile
@@ -6,7 +6,10 @@ INC += \
$(TOP)/hw \
# Example source
-EXAMPLE_SOURCE += $(wildcard src/*.c)
+EXAMPLE_SOURCE = \
+ src/main.c \
+ src/usb_descriptors.c
+
SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE))
include ../../rules.mk