Repository navigation
Conversation
|
@bemasher TYVM, please consider pulling this test bemasher#1 |
davecheney
left a comment
There was a problem hiding this comment.
LGTM. thank you. Someone else must approve
|
Thanks for tracking this down @bemasher and thanks @davecheney for the test. I regenerated the device files before and after this change and took a good look. The following is edited from an automated review:
da.rangeElems(func(ia int, offset uint32) bool {
lsb, msb := lsb+offset, msb+offset
How does that sound? |
|
Thanks for the suggestions. I've updated the original description of the pull request to describe the families and peripherals affected from parsing git's diff for the generated device files and used the I'll review machine source for affected accessor and constant use to see if any need fixes in a separate pull request. |
Fixes #5712 in
gen-device-svd.Registers with bitfield ranges were incorrectly generated. This corrects
_Pos,_Mskconstants, and accessors in the following device families and peripherals: