File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed
cores/arduino/Adafruit_TinyUSB_Core Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change 4747#define CFG_TUSB_OS OPT_OS_NONE
4848
4949#define CFG_TUSB_MEM_SECTION
50- #define CFG_TUSB_MEM_ALIGN ATTR_ALIGNED (4)
50+ #define CFG_TUSB_MEM_ALIGN TU_ATTR_ALIGNED (4)
5151
5252//--------------------------------------------------------------------
5353// DEVICE CONFIGURATION
5959#define CFG_TUD_CDC 1
6060#define CFG_TUD_MSC 1
6161#define CFG_TUD_HID 1
62-
63- #define CFG_TUD_MIDI 0
62+ #define CFG_TUD_MIDI 1
6463#define CFG_TUD_CUSTOM_CLASS 0
6564
66- //------------- CDC -------------//
67-
68- // FIFO size of CDC TX and RX
65+ // CDC FIFO size of TX and RX
6966#define CFG_TUD_CDC_RX_BUFSIZE 256
7067#define CFG_TUD_CDC_TX_BUFSIZE 256
7168
72- //------------- MSC -------------//
73-
74- // Buffer size of Device Mass storage
69+ // MSC Buffer size of Device Mass storage
7570#define CFG_TUD_MSC_BUFSIZE 512
7671
77- //------------- HID -------------//
78-
79- // Should be sufficient to hold ID (if any) + Data
72+ // HID buffer size Should be sufficient to hold ID (if any) + Data
8073#define CFG_TUD_HID_BUFSIZE 64
8174
75+ // MIDI FIFO size of TX and RX
76+ #define CFG_TUD_MIDI_RX_BUFSIZE 64
77+ #define CFG_TUD_MIDI_TX_BUFSIZE 64
8278
8379#ifdef __cplusplus
8480 }
You can’t perform that action at this time.
0 commit comments