-
Notifications
You must be signed in to change notification settings - Fork 243
rework OCxM fields in timers #546
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
bors retry |
🔒 Permission denied Existing reviewers: click here to make burrbull a reviewer |
is |
@adamgreig I think it is ready. |
Thank you! I will try and review in the next few days if possible. |
Rebased. |
@adamgreig Rebased |
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.
This PR is needed to get the H7 HAL building again after #540, but with this PR it builds just fine.
One of the bigger changes in this PR is the change in the name of the field of CCRx
registers from CCRx
to just CCR
in those families where this wasn't the case already. I'm generally in favour of this for simplicity/consistency, although it is a deviation from the RM in the cases I've checked.
I had a look through the F[0134], G[04] and L[04] HALs to see where those HALs will be affected. There's three that will be affected.
In all cases this PR makes the CCR
naming more consistent between timers - which is a good thing imo!
Thanks so much for getting through all this and sorting it all out. Sorry it's taken so long to review. I've checked over the memory map diff (so haven't yet covered all the enumerated values...) and noticed the following issues created by these changes:
On the whole it is mostly option registers being annoying and TIM17 being annoying. I hope most are fairly easy to fix. Some might be better served by future PRs instead though, up to you. I think the more severe issues here probably need fixing before merging, but we don't need to fix everything before merging this PR. |
|
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.
Thanks for the quick response, all the updates look good.
bors merge
After 0cb0f60 the peripheral patches for the OCxM fields were no longer applied for these parts. This PR fixes that. * Add `peripherals/tim/v2/ccm.yaml` that appeared during the refactor but wasn't added to the device * Remove duplicate include of `common_patches/tim/tim_ccr.yaml`
596: Resolve small breakage in OCxM fields for stm32h735 in #546 r=adamgreig a=richardeoin After 0cb0f60 the peripheral patches for the OCxM fields were no longer applied for these parts. This PR fixes that. * Add `peripherals/tim/v2/ccm.yaml` that appeared during the refactor but wasn't added to this device * Remove duplicate include of `common_patches/tim/tim_ccr.yaml` Co-authored-by: Richard Meadows <962920+richardeoin@users.noreply.github.com>
MP1 is not covered by this PR
Closes #541