-
Notifications
You must be signed in to change notification settings - Fork 69
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
port gpio from f4-hal #145
Conversation
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.
Thank you, @burrbull, this looks good! Definitely better than the huge macro we have right now.
I reviewed this and couldn't spot any mistakes, but I also didn't have the time to check every detail (specifically I didn't double-check most of the register manipulation.
Can you confirm that this works? Happy to merge, if someone can confirm that this works as intended.
No, I can't. This works on F4 and F1 good enough, but I don't have any F7 device to test. |
Okay, then let's wait until someone had a chance to test this. I probably won't get to that for a while. |
I have tested the following cases on a STM32F767, everything worked fine.
|
In stm32f7xx-hal/src/fmc_lcd/mod.rs Line 153 in 7ad7efd
|
Thank you for testing, @systec-ms! And good catch on the doc examples that haven't been updated. I've opened #148, because that should really have been caught by the CI build. I'm going to merge this pull request now. I think it would be unwise to hold it up because of the docs issue, as pretty much any change to GPIO going forward would introduce merge conflicts. Any pull requests that update the docs (and that solve #148) are of course appreciated! Thanks again @burrbull! |
No description provided.