dbgmcu: add stm32l5 support

This commit is contained in:
Christian Enderle 2024-01-02 22:21:59 +01:00
parent 92995e8bb1
commit cbdd570ad5

View File

@ -209,7 +209,7 @@ pub fn init(config: Config) -> Peripherals {
#[cfg(dbgmcu)] #[cfg(dbgmcu)]
crate::pac::DBGMCU.cr().modify(|cr| { 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_stop(config.enable_debug_during_sleep);
cr.set_dbg_standby(config.enable_debug_during_sleep); cr.set_dbg_standby(config.enable_debug_during_sleep);