add soft solution for esp32 eco3 live lock issue

This commit is contained in:
Li Shuai
2020-06-17 15:30:39 +08:00
committed by bot
parent b9dd8630ee
commit 8560d88391
6 changed files with 332 additions and 5 deletions

View File

@@ -245,9 +245,9 @@ void panicHandler(XtExcFrame *frame)
while (1);
}
//The core which triggers the interrupt watchdog will delay 1 us, so the other core can save its frame.
//The core which triggers the interrupt watchdog will delay 500 us, so the other core can save its frame.
if (frame->exccause == PANIC_RSN_INTWDT_CPU0 || frame->exccause == PANIC_RSN_INTWDT_CPU1) {
ets_delay_us(1);
ets_delay_us(500);
}
if (frame->exccause == PANIC_RSN_CACHEERR && esp_cache_err_get_cpuid() != core_id) {