mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 06:42:32 +00:00
dbgmcu: add stm32l5 support
This commit is contained in:
parent
92995e8bb1
commit
cbdd570ad5
@ -209,7 +209,7 @@ pub fn init(config: Config) -> Peripherals {
|
||||
|
||||
#[cfg(dbgmcu)]
|
||||
crate::pac::DBGMCU.cr().modify(|cr| {
|
||||
#[cfg(any(dbgmcu_f0, dbgmcu_c0, dbgmcu_g0, dbgmcu_u5, dbgmcu_wba))]
|
||||
#[cfg(any(dbgmcu_f0, dbgmcu_c0, dbgmcu_g0, dbgmcu_u5, dbgmcu_wba, dbgmcu_l5))]
|
||||
{
|
||||
cr.set_dbg_stop(config.enable_debug_during_sleep);
|
||||
cr.set_dbg_standby(config.enable_debug_during_sleep);
|
||||
|
Loading…
Reference in New Issue
Block a user