mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
Merge branch 'feat/esp32c5_lp_debug_example_v5.4' into 'release/v5.4'
feat(ulp): esp32c5 and esp32p4 support in debugging example (v5.4) See merge request espressif/esp-idf!41007
This commit is contained in:
@@ -91,7 +91,14 @@ esp_err_t ulp_lp_core_run(ulp_lp_core_cfg_t* cfg)
|
||||
#endif //ESP_ROM_HAS_LP_ROM
|
||||
|
||||
LP_CORE_RCC_ATOMIC() {
|
||||
#if CONFIG_ULP_NORESET_UNDER_DEBUG
|
||||
/* lp_core module reset causes loss of configured HW breakpoints and dcsr.ebreak* */
|
||||
if (!esp_cpu_dbgr_is_attached()) {
|
||||
lp_core_ll_reset_register();
|
||||
}
|
||||
#else
|
||||
lp_core_ll_reset_register();
|
||||
#endif
|
||||
lp_core_ll_enable_bus_clock(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user