Closed ryan-summers closed 2 years ago
Currently, the control buffer is either 128 or 256 bytes. However, it has been seen that these static allocations can sometimes be confusing (see https://github.com/rust-embedded-community/usb-device/issues/85).
There are a few options here:
smoltcp
managed
Woops, I should refer to already-created issues before making new ones. This is tracked in https://github.com/rust-embedded-community/usb-device/issues/31
Currently, the control buffer is either 128 or 256 bytes. However, it has been seen that these static allocations can sometimes be confusing (see https://github.com/rust-embedded-community/usb-device/issues/85).
There are a few options here:
smoltcp
'smanaged
crate to allow the user to provide a buffer to use instead, which avoids const-generic parameter bloat.