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
Is your enhancement proposal related to a problem? Please describe. usbd_cdc_acm.h uses network buffers for each direction, 512 bytes each. I assume that 512 bytes are needed for high speed packets, only. Especially on small devices, 1 KB overhead per cdc acm instance can be significant.
Describe the solution you'd like
If the assumption is correct, the buffer size should be decreased to 64 bytes on full speed devices.
The text was updated successfully, but these errors were encountered:
Sam3e2
changed the title
usb: cdc_acm (next): reduce network buffer on full speed devices
drivers: usb: cdc_acm (next): reduce network buffer on full speed devices
Jun 26, 2024
Is your enhancement proposal related to a problem? Please describe.
usbd_cdc_acm.h uses network buffers for each direction, 512 bytes each. I assume that 512 bytes are needed for high speed packets, only. Especially on small devices, 1 KB overhead per cdc acm instance can be significant.
Describe the solution you'd like
If the assumption is correct, the buffer size should be decreased to 64 bytes on full speed devices.
The text was updated successfully, but these errors were encountered: