mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
Invoke panic handler when a stack overflow has been detected; unhandled interrupt now prints interrupt/cpu number.
This commit is contained in:
@@ -90,6 +90,7 @@ void __attribute__((weak)) vApplicationStackOverflowHook( TaskHandle_t xTask, s
|
||||
panicPutStr("***ERROR*** A stack overflow in task ");
|
||||
panicPutStr((char*)pcTaskName);
|
||||
panicPutStr(" has been detected.\r\n");
|
||||
configASSERT(0);
|
||||
}
|
||||
|
||||
static const char *edesc[]={
|
||||
|
Reference in New Issue
Block a user