]> git.sur5r.net Git - freertos/blobdiff - Demo/RX600_RX62N-RSK_GNURX/RTOSDemo/main-full.c
Update the RX GCC port - optimised build is working, unoptimised not.
[freertos] / Demo / RX600_RX62N-RSK_GNURX / RTOSDemo / main-full.c
index 16d7244ff28980faffe68c2764c7f72c483023f4..3a4e74cdefeafce9aa3c59ab794343b99aaded38 100644 (file)
  * of all the 8bit timers (as two cascaded 16bit units).\r
 */\r
 \r
-/* Standard includes. */\r
-#include <string.h>\r
-#include <stdio.h>\r
-\r
 /* Hardware specific includes. */\r
 #include "iodefine.h"\r
 \r
@@ -268,10 +264,10 @@ extern void HardwareSetup( void );
        xTaskCreate( prvRegTest2Task, "RegTst2", configMINIMAL_STACK_SIZE, ( void * ) mainREG_TEST_2_PARAMETER, tskIDLE_PRIORITY, NULL );\r
 \r
        /* The web server task. */\r
-//     xTaskCreate( vuIP_Task, "uIP", mainuIP_STACK_SIZE, NULL, mainuIP_TASK_PRIORITY, NULL );\r
+       xTaskCreate( vuIP_Task, "uIP", mainuIP_STACK_SIZE, NULL, mainuIP_TASK_PRIORITY, NULL );\r
 \r
        /* Start the check task as described at the top of this file. */\r
-       xTaskCreate( prvCheckTask, "Check", configMINIMAL_STACK_SIZE * 3, NULL, mainCHECK_TASK_PRIORITY, NULL );\r
+       xTaskCreate( prvCheckTask, "Check", configMINIMAL_STACK_SIZE, NULL, mainCHECK_TASK_PRIORITY, NULL );\r
 \r
        /* Create the standard demo tasks. */\r
        vStartBlockingQueueTasks( mainBLOCK_Q_PRIORITY );\r
@@ -325,10 +321,7 @@ extern void vSetupHighFrequencyTimer( void );
 \r
                /* Check the standard demo tasks are running without error. */\r
                if( xAreGenericQueueTasksStillRunning() != pdTRUE )\r
-               {\r
-                       /* Increase the rate at which this task cycles, which will increase the\r
-                       rate at which mainCHECK_LED flashes to give visual feedback that an error\r
-                       has occurred. */\r
+               {                       \r
                        pcStatusMessage = "Error: GenQueue";\r
                }\r
                else if( xAreQueuePeekTasksStillRunning() != pdTRUE )\r
@@ -395,6 +388,9 @@ extern void vSetupHighFrequencyTimer( void );
                /* Ensure the LED toggles at a faster rate if an error has occurred. */\r
                if( pcStatusMessage != NULL )\r
                {\r
+                       /* Increase the rate at which this task cycles, which will increase the\r
+                       rate at which mainCHECK_LED flashes to give visual feedback that an error\r
+                       has occurred. */\r
                        xCycleFrequency = mainERROR_CYCLE_TIME;\r
                }\r
        }\r