Skip to content
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

stm32lib stm32l4xx_hal_gpio_ex.h: Add #define GPIO_AF14_TIM2 for L4P5. #20

Conversation

chrismas9
Copy link

On STM32L4P5 and STM32L4Q5 pin PA0 has TIM2_ETR on AF14.
Required definition in stm32l4xx_hal_gpio_ex.h is missing.
It is included for every other L4 part in the file.
PA0-TIM2_ETR is verified as available in the data sheet and STMCUBEMX.

Signed-off-by: Chris Mason [email protected]

On STM32L4P5 and STM32L4Q5 pin PA0 has TIM2_ETR on AF14.
Required definition in stm32l4xx_hal_gpio_ex.h is missing.
It is included for every other L4 part in the file.
PA0-TIM2_ETR is verified as available in the data sheet and STMCUBEMX.

Signed-off-by: Chris Mason <[email protected]>
@chrismas9
Copy link
Author

I have raised an issue at ST:
https://github.com/STMicroelectronics/STM32CubeL4/issues/70
I can't complete the STM32L4plus port withpout this addition.

@dpgeorge
Copy link
Member

dpgeorge commented Jul 5, 2022

Thanks, this looks fine. Rebased and merged in 490362c

@dpgeorge dpgeorge closed this Jul 5, 2022
@chrismas9 chrismas9 deleted the L4_TIM_AF branch July 5, 2022 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants