mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
refactor(hal): update assist_debug_ll_reset_register() to pass core_id
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user