Merge branch 'feature/debugging_fixes' into 'master'

Small debugging fixes

Invoke panic handler when a stack overflow has been detected; unhandled interrupt handler now prints interrupt/cpu number for easier pinning down of source.

See merge request !277
This commit is contained in:
Ivan Grokhotkov
2016-12-07 10:30:17 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -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[]={