vStartRecursiveMutexTasks();\r
vStartCountingSemaphoreTasks();\r
vStartDynamicPriorityTasks();\r
- vStartQueueSetTasks();\r
vStartQueueOverwriteTask( mainQUEUE_OVERWRITE_PRIORITY );\r
vStartEventGroupTasks();\r
vStartInterruptSemaphoreTasks();\r
- vStartQueueSetPollingTask();\r
vCreateBlockTimeTasks();\r
vCreateAbortDelayTasks();\r
xTaskCreate( prvDemoQueueSpaceFunctions, "QSpace", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );\r
vStartStreamBufferInterruptDemo();\r
vStartMessageBufferAMPTasks( configMINIMAL_STACK_SIZE );\r
\r
+ #if( configUSE_QUEUE_SETS == 1 )\r
+ {\r
+ vStartQueueSetTasks();\r
+ vStartQueueSetPollingTask();\r
+ }\r
+ #endif\r
+\r
#if( configSUPPORT_STATIC_ALLOCATION == 1 )\r
{\r
vStartStaticallyAllocatedTasks();\r
{\r
pcStatusMessage = "Error: Dynamic";\r
}\r
- else if( xAreQueueSetTasksStillRunning() != pdPASS )\r
- {\r
- pcStatusMessage = "Error: Queue set";\r
- }\r
else if( xIsQueueOverwriteTaskStillRunning() != pdPASS )\r
{\r
pcStatusMessage = "Error: Queue overwrite";\r
}\r
- else if( xAreQueueSetPollTasksStillRunning() != pdPASS )\r
- {\r
- pcStatusMessage = "Error: Queue set polling";\r
- }\r
else if( xAreBlockTimeTestTasksStillRunning() != pdPASS )\r
{\r
pcStatusMessage = "Error: Block time";\r
pcStatusMessage = "Error: Message buffer AMP";\r
}\r
\r
+ #if( configUSE_QUEUE_SETS == 1 )\r
+ else if( xAreQueueSetTasksStillRunning() != pdPASS )\r
+ {\r
+ pcStatusMessage = "Error: Queue set";\r
+ }\r
+ else if( xAreQueueSetPollTasksStillRunning() != pdPASS )\r
+ {\r
+ pcStatusMessage = "Error: Queue set polling";\r
+ }\r
+ #endif\r
+\r
#if( configSUPPORT_STATIC_ALLOCATION == 1 )\r
else if( xAreStaticAllocationTasksStillRunning() != pdPASS )\r
{\r
/* Call the periodic queue overwrite from ISR demo. */\r
vQueueOverwritePeriodicISRDemo();\r
\r
- /* Write to a queue that is in use as part of the queue set demo to\r
- demonstrate using queue sets from an ISR. */\r
- vQueueSetAccessQueueSetFromISR();\r
- vQueueSetPollingInterruptAccess();\r
+ #if( configUSE_QUEUE_SETS == 1 ) /* Remove the tests if queue sets are not defined. */\r
+ {\r
+ /* Write to a queue that is in use as part of the queue set demo to\r
+ demonstrate using queue sets from an ISR. */\r
+ vQueueSetAccessQueueSetFromISR();\r
+ vQueueSetPollingInterruptAccess();\r
+ }\r
+ #endif\r
\r
/* Exercise event groups from interrupts. */\r
vPeriodicEventGroupsProcessing();\r