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

[BACKPORT] arch/stm32h7: add defines for USART clock selection #319

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

julianoes
Copy link
Contributor

This adds the necessary defines to set the USARTs' kernel clock source selection.

This is required for a configuration where the bootloader (running before NuttX) changes the USARTs' clock selection, so they need to be restored on board init.

This is according to the reference manual RM0399 page 448.

Sponsored by CubePilot.

Backport of apache/nuttx#12845.

This adds the necessary defines to set the USARTs' kernel clock source
selection.

This is required for a configuration where the bootloader (running
before NuttX) changes the USARTs' clock selection, so they need to be
restored on board init.

This is according to the reference manual RM0399 page 448.
@davids5 davids5 merged commit 5d74bc1 into px4_firmware_nuttx-10.3.0+ Aug 6, 2024
@davids5 davids5 deleted the pr-backport-uart-clock branch August 6, 2024 11:25
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