mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-21 21:22:31 +03:00
Make soft wdt reset more obvious
This commit is contained in:
@ -55,6 +55,9 @@ void __wrap_system_restart_local() {
|
|||||||
ets_printf("\nException (%d):\nepc1=0x%08x epc2=0x%08x epc3=0x%08x excvaddr=0x%08x depc=0x%08x\n",
|
ets_printf("\nException (%d):\nepc1=0x%08x epc2=0x%08x epc3=0x%08x excvaddr=0x%08x depc=0x%08x\n",
|
||||||
rst_info.exccause, rst_info.epc1, rst_info.epc2, rst_info.epc3, rst_info.excvaddr, rst_info.depc);
|
rst_info.exccause, rst_info.epc1, rst_info.epc2, rst_info.epc3, rst_info.excvaddr, rst_info.depc);
|
||||||
}
|
}
|
||||||
|
else if (rst_info.reason == REASON_SOFT_WDT_RST) {
|
||||||
|
ets_printf("\nSoft WDT reset\n");
|
||||||
|
}
|
||||||
|
|
||||||
uint32_t cont_stack_start = (uint32_t) &(g_cont.stack);
|
uint32_t cont_stack_start = (uint32_t) &(g_cont.stack);
|
||||||
uint32_t cont_stack_end = (uint32_t) g_cont.stack_end;
|
uint32_t cont_stack_end = (uint32_t) g_cont.stack_end;
|
||||||
|
Reference in New Issue
Block a user