summaryrefslogtreecommitdiff
path: root/examples/device/midi2_device/Makefile
diff options
context:
space:
mode:
authorZixun LI <[email protected]>2026-05-19 22:12:28 +0200
committerGitHub <[email protected]>2026-05-19 22:12:28 +0200
commit4c87db341e4af7d53ce9cbbdf693593a520dc538 (patch)
treed5c6be4b83d44b42b8c9512e1cdc36261f945c31 /examples/device/midi2_device/Makefile
parent90c0884c71a8a4efbdaf8b1e44fa260f6881231e (diff)
parentdad8c0ae51d68fd5355a8a0de4e478e4149ec05e (diff)
Merge pull request #3571 from sauloverissimo/feat/midi2-device-host-driver
feat: Add USB-MIDI 2.0 Device and Host class drivers
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