diff options
| author | Dario Nieuwenhuis <[email protected]> | 2024-01-03 17:12:50 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-01-03 17:12:50 +0000 |
| commit | 87ac51d6562e10990deda077a13acd0ca05a0221 (patch) | |
| tree | f8681383ddb93853a172623c369e26ed88c6f34c /examples | |
| parent | 1d1e0d91cd2503f6dfd02cf38ff911fac3bc6fe3 (diff) | |
| parent | 7944e854dda297193328e00b4f9b08ce4d843915 (diff) | |
Merge pull request #2396 from tyler-gilbert/update-rcc-u5-with-sai-support
Update STM32 RCC U5 to support P and Q dividers
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/stm32u5/src/bin/usb_serial.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/stm32u5/src/bin/usb_serial.rs b/examples/stm32u5/src/bin/usb_serial.rs index 44d1df4f1..dca34fd0e 100644 --- a/examples/stm32u5/src/bin/usb_serial.rs +++ b/examples/stm32u5/src/bin/usb_serial.rs | |||
| @@ -26,6 +26,8 @@ async fn main(_spawner: Spawner) { | |||
| 26 | source: PllSource::HSI, | 26 | source: PllSource::HSI, |
| 27 | m: Pllm::DIV2, | 27 | m: Pllm::DIV2, |
| 28 | n: Plln::MUL10, | 28 | n: Plln::MUL10, |
| 29 | p: Plldiv::DIV1, | ||
| 30 | q: Plldiv::DIV1, | ||
| 29 | r: Plldiv::DIV1, | 31 | r: Plldiv::DIV1, |
| 30 | }); | 32 | }); |
| 31 | config.rcc.hsi48 = Some(Hsi48Config { sync_from_usb: true }); // needed for USB | 33 | config.rcc.hsi48 = Some(Hsi48Config { sync_from_usb: true }); // needed for USB |
