\r
/*-----------------------------------------------------------*/\r
\r
-\r
/*\r
* Create the demo tasks then start the scheduler.\r
*/\r
/* prvCheckTask uses sprintf so requires more stack. */\r
xTaskCreate( prvCheckTask, "Check", configMINIMAL_STACK_SIZE * 2, NULL, mainCHECK_TASK_PRIORITY, NULL );\r
\r
- /* Setup the high frequency, high priority, timer test. */\r
- vSetupTimerTest( mainTEST_INTERRUPT_FREQUENCY );\r
-\r
/* Finally start the scheduler. */\r
vTaskStartScheduler();\r
\r
extern unsigned portLONG ulMaxJitter ;\r
xLCDMessage xMessage = { ( 200 / portTICK_RATE_MS ), cStringBuffer };\r
\r
+ /* Setup the high frequency, high priority, timer test. It is setup here\r
+ to ensure it does not fire before the scheduler is started. */\r
+ vSetupTimerTest( mainTEST_INTERRUPT_FREQUENCY );\r
+\r
/* Initialise the variable used to control our iteration rate prior to\r
its first use. */\r
xLastExecutionTime = xTaskGetTickCount();\r
}\r
/*-----------------------------------------------------------*/\r
\r
-void vApplicationGeneralExceptionHandler( unsigned portLONG ulCause, unsigned portLONG ulStatus )\r
+void vApplicationStackOverflowHook( void )\r
+{\r
+ for( ;; );\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
+void _general_exception_handler( unsigned portLONG ulCause, unsigned portLONG ulStatus )\r
{\r
/* This overrides the definition provided by the kernel. Other exceptions \r
should be handled here. */\r