stm32-rs / stm32f7xx-hal

A Rust embedded-hal HAL for all MCUs in the STM32 F7 family
Apache License 2.0
117 stars 68 forks source link

examples: blink-timer-irq: fix clock panic #195

Closed hexagonal-sun closed 1 year ago

hexagonal-sun commented 1 year ago

The example sets the frequency of the pclk1 to an out-of-bounds frequency which causes the example to panic in all instancies.

Set to a frequency that is in-range.

Tested on: STM32F746G-DISCO