usb: Added MIDI example + fixed TinyUSB MIDI config

Closes https://github.com/espressif/esp-idf/issues/8541
This commit is contained in:
Adam Múdry
2022-04-12 19:41:44 +02:00
committed by BOT
parent 8078092fae
commit 2dfaec3106
11 changed files with 303 additions and 26 deletions
+15
View File
@@ -112,6 +112,13 @@ menu "TinyUSB Stack"
default "Espressif HID Device"
help
Name of the HID device
config TINYUSB_DESC_MIDI_STRING
depends on TINYUSB_MIDI_ENABLED
string "MIDI Device String"
default "Espressif MIDI Device"
help
Name of the MIDI device
endmenu # "Descriptor configuration"
menu "Massive Storage Class (MSC)"
@@ -160,6 +167,14 @@ menu "TinyUSB Stack"
help
CDC FIFO size of TX channel.
endmenu # "Communication Device Class"
menu "MIDI"
config TINYUSB_MIDI_ENABLED
bool "Enable TinyUSB MIDI feature"
default n
help
Enable TinyUSB MIDI feature.
endmenu # "MIDI"
endif # TINYUSB
endmenu # "TinyUSB Stack"