-
Notifications
You must be signed in to change notification settings - Fork 245
TIM10-14 OPM #684
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
TIM10-14 OPM #684
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.
I just checked the F0 and F1 so far, but it seems this adds OPM to lots of TIM10/11/13/14 that don't have the field on the RM. Is this intentional?
You are right saying about F0 TIM14. But I can't find any timer in RM0008 and RM0041 for F1 without OPM. |
Ah, I was looking at RM008 revision 16, and in revision 17 they updated TIM10/11/13/14 CR1 to add OPM 😩 |
Forgot to rebase on master. Fixed |
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've reviewed the whole PR, and it looks good except some more mismatches with the F3/F4 Reference Manuals and OPM bits. It's really chaotic sadly
devices/stm32f373.yaml
Outdated
@@ -163,6 +163,7 @@ _include: | |||
- ../peripherals/gpio/gpio_with_brr.yaml | |||
- common_patches/f3_gpio_ospeedr.yaml | |||
- common_patches/tim/tim_o24ce.yaml | |||
- common_patches/tim/tim13_missing_opm.yaml |
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.
RM0313 Rev 6 shows no OPM bit in TIM13/14 (There is an OPM bit in TIM12)
devices/stm32f301.yaml
Outdated
@@ -167,6 +167,7 @@ _include: | |||
- ../peripherals/gpio/gpio_v2.yaml | |||
- common_patches/f3_gpio_ospeedr.yaml | |||
- common_patches/tim/tim_o24ce.yaml | |||
- common_patches/tim/tim13_missing_opm.yaml |
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.
RM0366 Rev 4 doesn't even include a TIM13/14(!) Removing the whole peripheral isn't needed for this PR, but I would suggest don't add the OPM bit
devices/stm32f412.yaml
Outdated
@@ -430,11 +430,14 @@ _include: | |||
- ../peripherals/dma/dma_v2.yaml | |||
- ../peripherals/spi/spi_v1.yaml | |||
- common_patches/tim/tim_o24ce.yaml | |||
- common_patches/tim/tim10_missing_opm.yaml | |||
- common_patches/tim/tim11_missing_opm.yaml |
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.
F412 (RM0402 Rev 6) TIM10/11/13/14 does not have OPM
devices/stm32f410.yaml
Outdated
@@ -184,9 +184,13 @@ _include: | |||
- ../peripherals/dma/dma_v2.yaml | |||
- ../peripherals/spi/spi_v1.yaml | |||
- common_patches/tim/tim_o24ce.yaml | |||
- common_patches/tim/tim11_missing_opm.yaml |
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.
F410 (RM0401 Rev 3) TIM11 does not have OPM
devices/stm32f413.yaml
Outdated
@@ -203,8 +209,11 @@ _include: | |||
- ../peripherals/dma/dma_v21.yaml | |||
- ../peripherals/spi/spi_v1.yaml | |||
- common_patches/tim/tim_o24ce.yaml | |||
- common_patches/tim/tim10_missing_opm.yaml | |||
- common_patches/tim/tim11_missing_opm.yaml |
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.
F413 (RM0430 Rev 8) TIM10/11/13/14 does not have OPM
9E88
devices/stm32f446.yaml
Outdated
@@ -551,6 +551,8 @@ _include: | |||
- ../peripherals/dma/dma_v2.yaml | |||
- ../peripherals/spi/spi_v1.yaml | |||
- common_patches/tim/tim_o24ce.yaml | |||
- common_patches/tim/tim10_missing_opm.yaml | |||
- common_patches/tim/tim11_missing_opm.yaml |
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.
F446 (RM0390 Rev 6) does not have OPM
devices/stm32f469.yaml
Outdated
@@ -146,6 +146,8 @@ _include: | |||
- ../peripherals/dma/dma2d_v1.yaml | |||
- ../peripherals/spi/spi_v1.yaml | |||
- common_patches/tim/tim_o24ce.yaml | |||
- common_patches/tim/tim10_missing_opm.yaml | |||
- common_patches/tim/tim11_missing_opm.yaml |
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.
F469 (RM0386 Rev 5) does not have OPM
@richardeoin I slightly reworked PR and fixed according to your review 84f8b21 |
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, looks good now
bors r+
Build succeeded: |
No description provided.