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

bugfix(otgfs): Fixes a couple issue with OTGFS #58

Merged
merged 4 commits into from
Nov 1, 2024

Commits on Nov 1, 2024

  1. refactor(otgfs): usb common code

    This change extracted all the common USB code that will be shared
    between otgfs and usbhs
    Codetector1374 committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    4f40601 View commit details
    Browse the repository at this point in the history
  2. bugfix(otgfs): remove misclear of transfer flag

    Transfer flag could be cleared when it is not the end point expected.
    This would be a problem under spurious wakeup.
    Codetector1374 committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    b1acc81 View commit details
    Browse the repository at this point in the history
  3. bugfix(otgfs): disable endpoints on bus reset

    Endpoints should be disabled on bus reset. According to datasheet it
    looks like the UEPx_y_MOD.{RX_EN,TX_EN} should have reset value of 0 but
    clearly they are reset to 1 which case our endpoints to be "enabled" by default
    Codetector1374 committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    cd9adf1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a191b0a View commit details
    Browse the repository at this point in the history