diff --git a/embassy-stm32/src/rcc/h7/mod.rs b/embassy-stm32/src/rcc/h7/mod.rs index 30990233..5ec53182 100644 --- a/embassy-stm32/src/rcc/h7/mod.rs +++ b/embassy-stm32/src/rcc/h7/mod.rs @@ -532,6 +532,7 @@ pub unsafe fn init(config: Config) { ahb1: core_clocks.hclk, ahb2: core_clocks.hclk, ahb3: core_clocks.hclk, + ahb4: core_clocks.hclk, apb1: core_clocks.pclk1, apb2: core_clocks.pclk2, apb4: core_clocks.pclk4, diff --git a/embassy-stm32/src/rcc/mod.rs b/embassy-stm32/src/rcc/mod.rs index c7d1ae61..b7b692f1 100644 --- a/embassy-stm32/src/rcc/mod.rs +++ b/embassy-stm32/src/rcc/mod.rs @@ -26,6 +26,9 @@ pub struct Clocks { #[cfg(any(rcc_l4, rcc_f4, rcc_h7, rcc_wb55, rcc_wl5x))] pub ahb3: Hertz, + #[cfg(any(rcc_h7))] + pub ahb4: Hertz, + #[cfg(any(rcc_h7))] pub apb4: Hertz, } diff --git a/stm32-data b/stm32-data index a2167373..3d0489cd 160000 --- a/stm32-data +++ b/stm32-data @@ -1 +1 @@ -Subproject commit a2167373ee8fd0e75dce003bfdbadda8b32ff77c +Subproject commit 3d0489cd17a4ea1d8da289bd5854346fdfbf5f61