Skip to content

Static descriptor buffer size for large USB configurations? #28

Closed
@kaysievers

Description

@kaysievers

Enabling 16 virtual wires/jacks at a MIDI device grows the USB configuration/MIDI descriptor to 643 bytes. :) The static buffer in Adafruit_USBD_Device::_desc_cfg[256] cannot carry this.

What could be done about this? Would it be possible to just compose the buffer content on-the-fly/stack and return it from there, or does it need to be static/stay around?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions