-
-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
Fix remote wakeup issue #14988
Fix remote wakeup issue #14988
Conversation
@LSChyi can you confirm this does not make your problematic boards regress? This PR potentially messes with your previous fix, and I'm reluctant to merge a fix for some boards that break others in the process. |
Confirmed with this patch, the board |
This is really interesting. The F411 reference manual does not seem to say that the The This also removes Another concern is the |
Also there was #9962 (comment) from @drashna. As this removes the previous implementation, F303 would revert back to the previously broken behaviour. |
I suspect GINTSTS_WKUPINT bit is not set correctly when STM32F401 initiate resuming, so we have to invoke |
Sounds like this should be a bug raised against ChibiOS, rather than being |
I prefer to believe different USB unit types need different approach since STM32F401 integrates USB OTG rather than USB device. Let's make some tests to trace it base on this PR.
I did the test on STM32F401 and everything works fine, the sum of
hope this help. |
Maybe we should keep |
Thank you for your contribution! |
Thank you for your contribution! |
Thank you for your contribution! |
Thank you for your contribution! |
Description
Types of Changes
Issues Fixed or Closed by This PR
Have been tested on STM32F072 , STM32F401 and STM32L432.
Checklist