Make the task stack overflow message clearer

Related to #96
This commit is contained in:
Angus Gratton 2016-02-24 08:54:32 +11:00
parent 7c1d7fb43e
commit d1091b69d1

View file

@ -250,7 +250,7 @@ void IRAM sdk_user_start(void) {
// .text+0x3a8 // .text+0x3a8
void IRAM vApplicationStackOverflowHook(xTaskHandle task, char *task_name) { void IRAM vApplicationStackOverflowHook(xTaskHandle task, char *task_name) {
printf("\"%s\"(stack_size = %lu) overflow the heap_size.\n", task_name, uxTaskGetStackHighWaterMark(task)); printf("Task stack overflow (high water mark=%lu name=\"%s\")\n", uxTaskGetStackHighWaterMark(task), task_name);
} }
// .text+0x3d8 // .text+0x3d8