Line 136... |
Line 136... |
for more information on these tasks. */
|
for more information on these tasks. */
|
vAltStartComTestTasks( mainCOM_TEST_PRIORITY, mainCOM_TEST_BAUD_RATE, mainCOM_TEST_LED );
|
vAltStartComTestTasks( mainCOM_TEST_PRIORITY, mainCOM_TEST_BAUD_RATE, mainCOM_TEST_LED );
|
vStartLEDFlashTasks( mainLED_TASK_PRIORITY );
|
vStartLEDFlashTasks( mainLED_TASK_PRIORITY );
|
vStartIntegerMathTasks( tskIDLE_PRIORITY );
|
vStartIntegerMathTasks( tskIDLE_PRIORITY );
|
|
|
// vCreateBlockTimeTasks();
|
vCreateBlockTimeTasks();
|
// vStartBlockingQueueTasks( mainBLOCK_Q_PRIORITY );
|
vStartBlockingQueueTasks( mainBLOCK_Q_PRIORITY );
|
// vStartDynamicPriorityTasks();
|
vStartDynamicPriorityTasks();
|
|
|
/* Create the tasks defined within this file. */
|
/* Create the tasks defined within this file. */
|
xTaskCreate( vCheckTask, ( signed char * ) "Check", configMINIMAL_STACK_SIZE, NULL, mainCHECK_TASK_PRIORITY, NULL );
|
xTaskCreate( vCheckTask, ( signed char * ) "Check", configMINIMAL_STACK_SIZE, NULL, mainCHECK_TASK_PRIORITY, NULL );
|
|
|
vTaskStartScheduler();
|
vTaskStartScheduler();
|
Line 182... |
Line 182... |
if( xAreComTestTasksStillRunning() != pdTRUE )
|
if( xAreComTestTasksStillRunning() != pdTRUE )
|
{
|
{
|
// ulErrorDetected = pdTRUE;
|
// ulErrorDetected = pdTRUE;
|
}
|
}
|
|
|
// if( xAreBlockTimeTestTasksStillRunning() != pdTRUE )
|
if( xAreBlockTimeTestTasksStillRunning() != pdTRUE )
|
// {
|
{
|
// ulErrorDetected = pdTRUE;
|
ulErrorDetected = pdTRUE;
|
// }
|
}
|
|
|
// if( xAreBlockingQueuesStillRunning() != pdTRUE )
|
if( xAreBlockingQueuesStillRunning() != pdTRUE )
|
// {
|
{
|
// ulErrorDetected = pdTRUE;
|
ulErrorDetected = pdTRUE;
|
// }
|
}
|
|
|
// if( xAreDynamicPriorityTasksStillRunning() != pdTRUE )
|
if( xAreDynamicPriorityTasksStillRunning() != pdTRUE )
|
// {
|
{
|
// ulErrorDetected = pdTRUE;
|
ulErrorDetected = pdTRUE;
|
// }
|
}
|
|
|
if(ulErrorDetected == pdTRUE)
|
if(ulErrorDetected == pdTRUE)
|
{
|
{
|
// something was wrong. report negative indicator
|
// something was wrong. report negative indicator
|
const char *message = "vCheckTask Error detected!\n\r";
|
// const char *message = "vCheckTask Error detected!\n\r";
|
vSerialPutString(NULL, (const signed char*)message, strlen(message));
|
// vSerialPutString(NULL, (const signed char*)message, strlen(message));
|
|
|
report(0xDEADBEEF);
|
report(0xDEADBEEF);
|
}
|
}
|
else
|
else
|
{
|
{
|
// we have no error. report positive indicator
|
// we have no error. report positive indicator
|
const char *message = "vCheckTask OK!\n\r";
|
// const char *message = "vCheckTask OK!\n\r";
|
vSerialPutString(NULL, (const signed char*)message, strlen(message));
|
// vSerialPutString(NULL, (const signed char*)message, strlen(message));
|
|
|
report(0x00000000);
|
report(0x00000000);
|
}
|
}
|
|
|
}
|
}
|