summaryrefslogtreecommitdiff
path: root/examples/device/midi2_device/Makefile
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2026-05-25 21:09:53 +0200
committerHiFiPhile <[email protected]>2026-05-25 21:09:53 +0200
commit264472e380bbca90aebabc6457fc53d372fcb66e (patch)
tree53c4e3ebcf504682ee42e9cd8958bfcbad533712 /examples/device/midi2_device/Makefile
parentae61e6c7e663ad8f2162d8a0c5cf0ce7c6e5f728 (diff)
parent7b9f6eabd8623c2bbe188c8d53072b16a087cdda (diff)
Merge remote-tracking branch 'tinyusb/master' into musb_ep0_race
Diffstat (limited to 'examples/device/midi2_device/Makefile')
-rw-r--r--examples/device/midi2_device/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/device/midi2_device/Makefile b/examples/device/midi2_device/Makefile
new file mode 100644
index 000000000..829d9da59
--- /dev/null
+++ b/examples/device/midi2_device/Makefile
@@ -0,0 +1,16 @@
+include ../../../hw/bsp/family_support.mk
+
+INC += \
+ src \
+
+# Example source
+EXAMPLE_SOURCE += \
+ src/main.c \
+ src/usb_descriptors.c \
+
+SRC_C += $(addprefix $(EXAMPLE_PATH)/, $(EXAMPLE_SOURCE))
+
+# Suppress pre-existing warning in usbd.c
+CFLAGS_GCC += -Wno-type-limits
+
+include ../../../hw/bsp/family_rules.mk