Merge pull request #2271 from embassy-rs/update-metapac4

stm32: update stm32-metapac. Fixes USB on STM32WB.
This commit is contained in:
Dario Nieuwenhuis
2023-12-08 23:01:26 +00:00
committed by GitHub
3 changed files with 4 additions and 2 deletions

View File

@ -308,6 +308,7 @@ pub(crate) unsafe fn init(config: Config) {
sys: sys_clk,
hclk1: ahb_freq,
hclk2: ahb_freq,
hclk3: ahb_freq,
pclk1: apb1_freq,
pclk1_tim: apb1_tim_freq,
pclk2: apb2_freq,

View File

@ -95,6 +95,7 @@ pub struct Clocks {
rcc_h7rm0433,
rcc_h7ab,
rcc_u5,
rcc_g4,
rcc_wb,
rcc_wl5,
rcc_wle