-
Notifications
You must be signed in to change notification settings - Fork 244
Fix Overdrive and BDMADR fields on h743/h753 #649
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
Conversation
Thanks for this PR! Your changes look good, but we try to keep structural changes like the offset and field width to files in Would you mind moving the two patches into suitable files in |
@adamgreig Are these acceptable locations? It seemed that there were some in peripheral subfolders but the bulk just in the root devices/common-patches folder. There may be more consequences to the name change made I made in this commit for H7{4,5}3v - this fixes the generation of the web pages (makehtml.py) which otherwise could randomly pick h743 or h743v for the h743 entry since the name in the SVD file was identical where is should instead have a line item for all four H7{4,5}3{none, v} |
This is a human-readable enumeration, so it lives in
This changes the register layout, so lives in You should be able to leave the existing For the |
b614c2b
to
018bf04
Compare
Co-authored-by: Alexander Dewing <alexanderdewing@gmail.com>
018bf04
to
7144f0b
Compare
Should be fixed. :) Let me know if there is anything else you would like changed. |
Looks good, thanks! Do you know the reason for adding the modify |
The reason for adding the -V suffix fixes a separate problem where the website (https://stm32-rs.github.io/stm32-rs/) doesn't disambiguate the H743 and H743v so only presents the H743 svd and documentation status. I'm open to any solution to this problem, but this seemed the simplest to me due to the way the scripts currently work. |
Understood about changing the name to fix the website, but I would prefer to do that in a separate PR. If you can keep the name the same for this PR I can get it merged |
Fixed |
bors r+ |
👎 Rejected by too few approved reviews |
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.
bors r+
Adding fixes to two fields on h743/h753 micros. These bugs were found by comparing against h747 svd files and verified to not be present on any other h7 micros (beyond those fixed in this PR).
ODEN should be 1-bit and have an enumeration. H747 had the correct bit width already; the oden patch is now applied to more devices.
BDMADR should be at 0x70, not 0x60.