You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tinyusb: Allow to replace the built-in descriptor buffer
Huge USB configurations might need more than 256 bytes for the
config descriptor buffer. MIDI devices with 16 virtual ports
grow the descriptor to 600+ bytes.
This call replaces the built-in buffer with the supllied buffer. The
call copies the content of the old buffer to the new buffer:
uint8_t buf[1024];
USBDevice.setDescriptorBuffer(buf, sizeof(buf));
0 commit comments