-
Notifications
You must be signed in to change notification settings - Fork 246
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
improve usb errata 5 feature's documentation. #607
Conversation
LGTM, make this much clearer. |
I'm not 100% sure if I like this. This can lead to situations were a firmware works perfectly for the developer, who happens to use a B2 stepping, and breaks for users with older chips. In that sense, I'd prefer something like #608: Make it a guaranteed panic if you have the e5 workaround enabled and forget to initialize bank0 before USB. |
And I forgot to say: The update of the doc comment is great! |
Oh I didn't think about this indeed, you're totally right. I think bypassing the workaround is a good thing on B2 revs to avoid messing needlessly with the hardware but checking correct implementation with the requirements of the feature make sense too. |
Of course not, go ahead! |
Co-authored-by: Jan Niehusmann <jan@gondor.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added some (minor) comments, but overall, this looks good.
Co-authored-by: Jan Niehusmann <jan@gondor.com>
@dlkj have you been able to test this last iteration? |
I've not had the time to check this yet. I'll find some time this week probably. |
I can't reproduce the panic now using the same pico and a very similar code base. LGTM. |
No description provided.