Is your feature request related to a problem? Please describe.
Someone using the usb_midi_host application host driver+the Adafruit TinyUSB Arduino library is trying to enumerate a device that has an Audio Streaming Interface and a MIDI Streaming Interface. They only want to access the MIDI interface. The USB descriptor for the
device is over 430 bytes long, and so fails to enumerate.
Describe the solution you'd like
What I would like is a method to set the number of bytes in the enumeration buffer from the Arduino GUI or from the sketch code.
Describe alternatives you've considered
I have considered hacking the port file tusb_config_rp2040.h and hand editing the CFG_TUH_ENUMERATION_BUFSIZE value. But
that change goes away every time the library updates.
Additional context
This comment is based on Adafruit_TinyUSB_Library 2.4.1 and Earle Philhower Raspberry Pi Pico/RP2040 board package 3.7.0. I imagine this library would have to change first, and then there would need to be a change to the Raspberry Pi Pico/RP2040 board package.
Is your feature request related to a problem? Please describe. Someone using the usb_midi_host application host driver+the Adafruit TinyUSB Arduino library is trying to enumerate a device that has an Audio Streaming Interface and a MIDI Streaming Interface. They only want to access the MIDI interface. The USB descriptor for the device is over 430 bytes long, and so fails to enumerate.
Describe the solution you'd like What I would like is a method to set the number of bytes in the enumeration buffer from the Arduino GUI or from the sketch code.
Describe alternatives you've considered I have considered hacking the port file tusb_config_rp2040.h and hand editing the
CFG_TUH_ENUMERATION_BUFSIZE
value. But that change goes away every time the library updates.Additional context This comment is based on Adafruit_TinyUSB_Library 2.4.1 and Earle Philhower Raspberry Pi Pico/RP2040 board package 3.7.0. I imagine this library would have to change first, and then there would need to be a change to the Raspberry Pi Pico/RP2040 board package.