- Timestamp:
- 08/14/09 11:24:55 (15 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
webserver/example/freeRTOSexample/Demo/ARM7_LPC2368_Rowley/main.c
r19 r22 56 56 57 57 /* Demo app includes. */ 58 #include "BlockQ.h" 59 #include "death.h" 60 #include "integer.h" 61 #include "blocktim.h" 58 62 59 #include "portlcd.h" 63 60 #include "flash.h" 64 #include "partest.h" 65 #include "semtest.h" 66 #include "PollQ.h" 61 67 62 68 63 /* Demo application definitions. */ … … 74 69 #define mainQUEUE_POLL_PRIORITY ( tskIDLE_PRIORITY + 2 ) 75 70 #define mainCHECK_TASK_PRIORITY ( tskIDLE_PRIORITY + 3 ) 76 #define mainSEM_TEST_PRIORITY ( tskIDLE_PRIORITY + 1 )77 #define mainBLOCK_Q_PRIORITY ( tskIDLE_PRIORITY + 2 )78 71 #define mainFLASH_PRIORITY ( tskIDLE_PRIORITY + 2 ) 79 #define mainCREATOR_TASK_PRIORITY ( tskIDLE_PRIORITY + 3 ) 80 #define mainINTEGER_TASK_PRIORITY ( tskIDLE_PRIORITY ) 72 81 73 82 74 … … 134 126 135 127 // vStartBlockingQueueTasks( mainBLOCK_Q_PRIORITY ); 136 vStartMetersTask( main BLOCK_Q_PRIORITY );128 vStartMetersTask( mainFLASH_PRIORITY ); 137 129 /* Start the standard demo tasks. */ 138 130 // vStartBlockingQueueTasks( mainBLOCK_Q_PRIORITY ); … … 181 173 /* Has an error been found in any task? */ 182 174 183 if( xAreBlockingQueuesStillRunning() != pdTRUE ) 184 { 185 xErrorOccurred = pdTRUE; 186 } 187 188 if( xAreBlockTimeTestTasksStillRunning() != pdTRUE ) 189 { 190 xErrorOccurred = pdTRUE; 191 } 192 193 if( xAreSemaphoreTasksStillRunning() != pdTRUE ) 194 { 195 xErrorOccurred = pdTRUE; 196 } 197 198 if( xArePollingQueuesStillRunning() != pdTRUE ) 199 { 200 xErrorOccurred = pdTRUE; 201 } 202 203 if( xIsCreateTaskStillRunning() != pdTRUE ) 204 { 205 xErrorOccurred = pdTRUE; 206 } 207 208 if( xAreIntegerMathsTaskStillRunning() != pdTRUE ) 209 { 210 xErrorOccurred = pdTRUE; 211 } 175 212 176 213 177 LCD_cls();