mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-25 00:02:28 +00:00
Merge pull request #3511 from elagil/chore_upgrade_stm32_metapac
Upgrade STM32 metapac
This commit is contained in:
commit
7a2f8399d3
@ -72,7 +72,7 @@ rand_core = "0.6.3"
|
||||
sdio-host = "0.5.0"
|
||||
critical-section = "1.1"
|
||||
#stm32-metapac = { version = "15" }
|
||||
stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-9b7414490b10ffbd5beb1b0dcf14adb018cbe37f" }
|
||||
stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-7bb5f235587c3a6886a7be1c8f58fdf22c5257f3" }
|
||||
|
||||
vcell = "0.1.3"
|
||||
nb = "1.0.0"
|
||||
@ -101,7 +101,7 @@ proc-macro2 = "1.0.36"
|
||||
quote = "1.0.15"
|
||||
|
||||
#stm32-metapac = { version = "15", default-features = false, features = ["metadata"]}
|
||||
stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-9b7414490b10ffbd5beb1b0dcf14adb018cbe37f", default-features = false, features = ["metadata"] }
|
||||
stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-7bb5f235587c3a6886a7be1c8f58fdf22c5257f3", default-features = false, features = ["metadata"] }
|
||||
|
||||
[features]
|
||||
default = ["rt"]
|
||||
|
@ -279,8 +279,10 @@ pub(crate) unsafe fn init(config: Config) {
|
||||
hsi48: hsi48,
|
||||
rtc: rtc,
|
||||
hse: hse,
|
||||
hse_div_2: hse.map(|clk| clk / 2u32),
|
||||
hsi: hsi,
|
||||
pll1_p: pll1.p,
|
||||
pll1_p_div_2: pll1.p.map(|clk| clk / 2u32),
|
||||
pll1_q: pll1.q,
|
||||
pll1_r: pll1.r,
|
||||
pll2_p: pll2.p,
|
||||
|
Loading…
Reference in New Issue
Block a user