From d1091b69d1a57dbb42e22894323279333da475ab Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Wed, 24 Feb 2016 08:54:32 +1100 Subject: [PATCH] Make the task stack overflow message clearer Related to #96 --- core/app_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/app_main.c b/core/app_main.c index a710c77..7a9bf8d 100644 --- a/core/app_main.c +++ b/core/app_main.c @@ -250,7 +250,7 @@ void IRAM sdk_user_start(void) { // .text+0x3a8 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