summaryrefslogtreecommitdiff
path: root/src/tusb_option.h
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 /src/tusb_option.h
parentae61e6c7e663ad8f2162d8a0c5cf0ce7c6e5f728 (diff)
parent7b9f6eabd8623c2bbe188c8d53072b16a087cdda (diff)
Merge remote-tracking branch 'tinyusb/master' into musb_ep0_race
Diffstat (limited to 'src/tusb_option.h')
-rw-r--r--src/tusb_option.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h
index 154f8e2a4..74eb8cc06 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -646,6 +646,10 @@
#define CFG_TUD_MIDI 0
#endif
+#ifndef CFG_TUD_MIDI2
+ #define CFG_TUD_MIDI2 0
+#endif
+
#ifndef CFG_TUD_VENDOR
#define CFG_TUD_VENDOR 0
#endif
@@ -815,6 +819,22 @@
#define CFG_TUH_MIDI 0
#endif
+#ifndef CFG_TUH_MIDI2
+ #define CFG_TUH_MIDI2 0
+#endif
+
+#ifndef CFG_TUH_MIDI2_RX_BUFSIZE
+ #define CFG_TUH_MIDI2_RX_BUFSIZE TUH_EPSIZE_BULK_MAX
+#endif
+
+#ifndef CFG_TUH_MIDI2_TX_BUFSIZE
+ #define CFG_TUH_MIDI2_TX_BUFSIZE TUH_EPSIZE_BULK_MAX
+#endif
+
+#ifndef CFG_TUH_MIDI2_LOG_LEVEL
+ #define CFG_TUH_MIDI2_LOG_LEVEL CFG_TUH_LOG_LEVEL
+#endif
+
#ifndef CFG_TUH_MSC
#define CFG_TUH_MSC 0
#endif