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

TARGET_STM: fix unterminated multi-packet USB transaction #15465

Closed
wants to merge 1 commit into from

Commits on Nov 18, 2023

  1. TARGET_STM: fix unterminated multi-packet USB transaction

    Fix issue ARMmbed#15384 by sending a zero-length packet if the packet sent had
    the same size as the endpoint buffer size. This is needed to comply with
    the USB protocol which assumes an ongoing multi-packet USB transaction
    otherwise.
    
    STM32 HAL PCD handle parameters are used to avoid data duplication in RAM.
    
    Signed-off-by: Daniel Starke <[email protected]>
    daniel-starke committed Nov 18, 2023
    Configuration menu
    Copy the full SHA
    c10068f View commit details
    Browse the repository at this point in the history