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

usb_device.c: Fix EP buffer size limitation for isochronous endpoints #78

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jul 17, 2024

  1. usb_device.c: Fix EP buffer size limitation for isochronous endpoints

    The buffer size for USB endpoints was previously limited by the
    endpoints buffer stride, which is 128 bytes * 2 for isochronous
    endpoints and 64 bytes for bulk transfers.
    
    According to the USB full-speed specification, the maximum frame size
    can go up to 1023 bytes. The RP2040 microcontroller has 4KB of DPSRAM,
    which can support this maximum frame size.
    
    This commit removes the 128 bytes * 2 limitation for isochronous
    endpoints, allowing support for the full 1023-byte frame size.
    
    Signed-off-by: Khoa Hoang <[email protected]>
    maximus64 committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    6f54e2f View commit details
    Browse the repository at this point in the history