#define mainERROR_GEN_QUEUE_TEST ( pdPASS + 3 )\r
\r
/* Baud rate used by the comtest tasks. */\r
-#define mainCOM_TEST_BAUD_RATE ( 115200 )\r
+#define mainCOM_TEST_BAUD_RATE ( 115200 )\r
\r
/* The LED used by the comtest tasks. See the comtest.c file for more\r
information. */\r
-#define mainCOM_TEST_LED ( 3 )\r
+#define mainCOM_TEST_LED ( 3 )\r
+\r
+/* The LCD task uses printf() so requires more stack than most of the other\r
+tasks. */\r
+#define mainLCD_TASK_STACK_SIZE ( configMINIMAL_STACK_SIZE * 2 )\r
\r
/*-----------------------------------------------------------*/\r
\r
\r
/* Create the LCD and button poll tasks, as described at the top of this\r
file. */\r
- xTaskCreate( prvLCDTask, ( signed char * ) "LCD", configMINIMAL_STACK_SIZE, NULL, mainLCD_TASK_PRIORITY, NULL );\r
+ xTaskCreate( prvLCDTask, ( signed char * ) "LCD", mainLCD_TASK_STACK_SIZE, NULL, mainLCD_TASK_PRIORITY, NULL );\r
xTaskCreate( prvButtonPollTask, ( signed char * ) "ButPoll", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );\r
\r
/* Create a subset of the standard demo tasks. */\r