aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/lib.rs
diff options
context:
space:
mode:
authorRogan Morrow <[email protected]>2025-08-29 16:08:50 +1000
committerRogan Morrow <[email protected]>2025-08-29 16:08:50 +1000
commit13fc222ef45e16980aca221044ae41d106065ce1 (patch)
tree6e7b77c89fe0a3e5c667be126909cfc56dbd76c9 /embassy-stm32/src/lib.rs
parent73717f9ae8ea1f13f029c4c2722610a7e54436cb (diff)
set XSPI clock source to HSI and reset after clock init; dont reset SYSCFG
Diffstat (limited to 'embassy-stm32/src/lib.rs')
-rw-r--r--embassy-stm32/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/lib.rs b/embassy-stm32/src/lib.rs
index e4a8ff0ab..3be98c462 100644
--- a/embassy-stm32/src/lib.rs
+++ b/embassy-stm32/src/lib.rs
@@ -526,7 +526,7 @@ fn init_hw(config: Config) -> Peripherals {
526 } 526 }
527 }); 527 });
528 528
529 #[cfg(not(any(stm32f1, stm32wb, stm32wl)))] 529 #[cfg(not(any(stm32f1, stm32wb, stm32wl, stm32h7rs)))]
530 rcc::enable_and_reset_with_cs::<peripherals::SYSCFG>(cs); 530 rcc::enable_and_reset_with_cs::<peripherals::SYSCFG>(cs);
531 #[cfg(not(any(stm32h5, stm32h7, stm32h7rs, stm32wb, stm32wl)))] 531 #[cfg(not(any(stm32h5, stm32h7, stm32h7rs, stm32wb, stm32wl)))]
532 rcc::enable_and_reset_with_cs::<peripherals::PWR>(cs); 532 rcc::enable_and_reset_with_cs::<peripherals::PWR>(cs);