diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-05-02 02:52:37 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-05-02 20:10:09 +0200 |
| commit | 2bb6e93e86af02af97b4fb39197a1d1e87e635b9 (patch) | |
| tree | 75604794f82f36640c2dc0270751c8a1420b1d65 /tests/stm32/src/example_common.rs | |
| parent | a61701b7565536e6e1a224d64eafd373f7c18af5 (diff) | |
stm32/usart: add baudrate calc test.
Diffstat (limited to 'tests/stm32/src/example_common.rs')
| -rw-r--r-- | tests/stm32/src/example_common.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/stm32/src/example_common.rs b/tests/stm32/src/example_common.rs index a4f8668c7..3d150da60 100644 --- a/tests/stm32/src/example_common.rs +++ b/tests/stm32/src/example_common.rs | |||
| @@ -16,5 +16,10 @@ pub fn config() -> Config { | |||
| 16 | config.rcc.pll1.q_ck = Some(Hertz(100_000_000)); | 16 | config.rcc.pll1.q_ck = Some(Hertz(100_000_000)); |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | #[cfg(feature = "stm32u585ai")] | ||
| 20 | { | ||
| 21 | config.rcc.mux = embassy_stm32::rcc::ClockSrc::MSI(embassy_stm32::rcc::MSIRange::Range48mhz); | ||
| 22 | } | ||
| 23 | |||
| 19 | config | 24 | config |
| 20 | } | 25 | } |
