diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-10-23 01:09:36 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-10-23 17:36:21 +0200 |
| commit | 0ef1cb29f70c71d3c85f5b8b4ad3c7ce60babba8 (patch) | |
| tree | 7c895ed4b48f3395722f0fc3171279004909e9bf /tests | |
| parent | 64ab23d17d9addd82f0b11a27a3d2219c1a8ec20 (diff) | |
stm32/rcc: merge wb into l4/l5.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/stm32/src/common.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/stm32/src/common.rs b/tests/stm32/src/common.rs index cb1738154..4f51e4f6a 100644 --- a/tests/stm32/src/common.rs +++ b/tests/stm32/src/common.rs | |||
| @@ -227,6 +227,11 @@ pub fn config() -> Config { | |||
| 227 | #[allow(unused_mut)] | 227 | #[allow(unused_mut)] |
| 228 | let mut config = Config::default(); | 228 | let mut config = Config::default(); |
| 229 | 229 | ||
| 230 | #[cfg(feature = "stm32wb55rg")] | ||
| 231 | { | ||
| 232 | config.rcc = embassy_stm32::rcc::WPAN_DEFAULT; | ||
| 233 | } | ||
| 234 | |||
| 230 | #[cfg(feature = "stm32f207zg")] | 235 | #[cfg(feature = "stm32f207zg")] |
| 231 | { | 236 | { |
| 232 | use embassy_stm32::rcc::*; | 237 | use embassy_stm32::rcc::*; |
| @@ -405,6 +410,7 @@ pub fn config() -> Config { | |||
| 405 | config.rcc.hse = Some(Hse { | 410 | config.rcc.hse = Some(Hse { |
| 406 | freq: Hertz(32_000_000), | 411 | freq: Hertz(32_000_000), |
| 407 | mode: HseMode::Bypass, | 412 | mode: HseMode::Bypass, |
| 413 | prescaler: HsePrescaler::DIV1, | ||
| 408 | }); | 414 | }); |
| 409 | config.rcc.mux = ClockSrc::PLL1_R; | 415 | config.rcc.mux = ClockSrc::PLL1_R; |
| 410 | config.rcc.pll = Some(Pll { | 416 | config.rcc.pll = Some(Pll { |
