mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
esp32: Added dumping info from traceport upon reset by any WDT
- Last PC info and waiti mode indication are printed for both CPUs - Raw traceport regs values are printed only for log levels higher than DEBUG
This commit is contained in:
@@ -109,6 +109,7 @@ void IRAM_ATTR call_start_cpu0()
|
||||
::"r"(&_init_start));
|
||||
|
||||
rst_reas[0] = rtc_get_reset_reason(0);
|
||||
|
||||
#if !CONFIG_FREERTOS_UNICORE
|
||||
rst_reas[1] = rtc_get_reset_reason(1);
|
||||
#endif
|
||||
@@ -118,8 +119,7 @@ void IRAM_ATTR call_start_cpu0()
|
||||
#if !CONFIG_FREERTOS_UNICORE
|
||||
|| rst_reas[1] == RTCWDT_SYS_RESET || rst_reas[1] == TG0WDT_SYS_RESET
|
||||
#endif
|
||||
) {
|
||||
// stop wdt in case of any
|
||||
) {
|
||||
esp_panic_wdt_stop();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user