Update stm32-data (adds DBGMCU to all chips)
This commit is contained in:
parent
06d69a8028
commit
5a4e3ceb88
@ -7,7 +7,6 @@ use crate::time::U32Ext;
|
|||||||
use core::marker::PhantomData;
|
use core::marker::PhantomData;
|
||||||
use embassy::util::Unborrow;
|
use embassy::util::Unborrow;
|
||||||
use embassy_extras::unborrow;
|
use embassy_extras::unborrow;
|
||||||
use pac::dbg::vals::{DbgSleep, DbgStandby, DbgStop};
|
|
||||||
use pac::rcc::vals::{Hpre, Msirange, Plldiv, Pllmul, Pllsrc, Ppre, Sw};
|
use pac::rcc::vals::{Hpre, Msirange, Plldiv, Pllmul, Pllsrc, Ppre, Sw};
|
||||||
|
|
||||||
/// Most of clock setup is copied from stm32l0xx-hal, and adopted to the generated PAC,
|
/// Most of clock setup is copied from stm32l0xx-hal, and adopted to the generated PAC,
|
||||||
@ -174,9 +173,9 @@ impl<'d> Rcc<'d> {
|
|||||||
pac::RCC.ahbenr().modify(|w| w.set_dmaen(enable_dma));
|
pac::RCC.ahbenr().modify(|w| w.set_dmaen(enable_dma));
|
||||||
|
|
||||||
pac::DBGMCU.cr().modify(|w| {
|
pac::DBGMCU.cr().modify(|w| {
|
||||||
w.set_dbg_sleep(DbgSleep::ENABLED);
|
w.set_dbg_sleep(true);
|
||||||
w.set_dbg_standby(DbgStandby::ENABLED);
|
w.set_dbg_standby(true);
|
||||||
w.set_dbg_stop(DbgStop::ENABLED);
|
w.set_dbg_stop(true);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 94a0969afddbde239afeb0d678b8fac50de5d3df
|
Subproject commit 18f86c83123771048f971350c99c4f810385d7d1
|
@ -6,7 +6,7 @@ edition = "2018"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
regex = "1.4.6"
|
regex = "1.4.6"
|
||||||
chiptool = { git = "https://github.com/embassy-rs/chiptool", rev = "b905099423280cdc39a96bc51f0b669ddb443797" }
|
chiptool = { git = "https://github.com/embassy-rs/chiptool", rev = "e0c5ff926ecd86e390bd9bc68b414bfc0e811b0e" }
|
||||||
serde = { version = "1.0.123", features = [ "derive" ]}
|
serde = { version = "1.0.123", features = [ "derive" ]}
|
||||||
serde_yaml = "0.8.15"
|
serde_yaml = "0.8.15"
|
||||||
syn = { version = "1.0", features = ["full","extra-traits"] }
|
syn = { version = "1.0", features = ["full","extra-traits"] }
|
||||||
|
Loading…
Reference in New Issue
Block a user