Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please allow CFG_TUH_ENUMERATION_BUFSIZE to be configurable from the Arduino GUI or the application #375

Open
rppicomidi opened this issue Feb 6, 2024 · 0 comments
Labels
Feature New feature or request

Comments

@rppicomidi
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant