stm32h7: Reset USART clock selection (#23498)

This resets the USARTs' clock source selection to the default, in case
it has been changed by the bootloader.

This is required if booting from the ArduPilot bootloader which happens
to reset the clock selection to PLL.

Without this fix, UARTs (including the console) is garbled, so
presumably at an invalid baudrate.
This commit is contained in:
Julian Oes
2024-08-07 11:41:50 -04:00
committed by GitHub
parent 086c044f47
commit 2d99ae18ad
5 changed files with 25 additions and 1 deletions