refactor(hal): update assist_debug_ll_reset_register() to pass core_id

This commit is contained in:
Erhan Kurubas
2026-03-19 11:40:44 +08:00
committed by BOT
parent d13bbd4b2b
commit 18a583e517
8 changed files with 15 additions and 17 deletions
+2 -2
View File
@@ -22,7 +22,7 @@ ESP_SYSTEM_INIT_FN(esp_hw_stack_guard_init, SECONDARY, ESP_SYSTEM_INIT_ALL_CORES
#endif
{
assist_debug_ll_enable_bus_clock(true);
assist_debug_ll_reset_register();
assist_debug_ll_reset_register(core_id);
}
/* set interrupt to matrix */
@@ -38,7 +38,7 @@ ESP_SYSTEM_INIT_FN(esp_hw_stack_guard_init, SECONDARY, ESP_SYSTEM_INIT_ALL_CORES
* - trigger event happened
* - you get an interrupt right after enabling interrupts
* So, use monitor to disable hw_guard to avoid false-positives.
* And keep interrupt always enabled for better performace (don't spend cpu time for enable/disable)
* And keep interrupt always enabled for better performance (don't spend cpu time for enable/disable)
*/
assist_debug_hal_sp_int_enable(core_id);