<SubType>compile</SubType>\r
<Link>src\FreeRTOS+\FreeRTOS+FAT SL\PSP\Target\RTC\psp_rtc.c</Link>\r
</Compile>\r
+ <Compile Include="..\..\Source\event_groups.c">\r
+ <SubType>compile</SubType>\r
+ <Link>src\FreeRTOS\event_groups.c</Link>\r
+ </Compile>\r
<Compile Include="..\Common\Minimal\blocktim.c">\r
<SubType>compile</SubType>\r
<Link>src\Common Demo Tasks\blocktim.c</Link>\r
<SubType>compile</SubType>\r
<Link>src\Common Demo Tasks\dynamic.c</Link>\r
</Compile>\r
+ <Compile Include="..\Common\Minimal\EventGroupsDemo.c">\r
+ <SubType>compile</SubType>\r
+ <Link>src\Common Demo Tasks\EventGroupsDemo.c</Link>\r
+ </Compile>\r
<Compile Include="..\Common\Minimal\flash_timer.c">\r
<SubType>compile</SubType>\r
<Link>src\Common Demo Tasks\flash_timer.c</Link>\r
#include "QueueOverwrite.h"\r
#include "QueueSet.h"\r
#include "recmutex.h"\r
+#include "EventGroupsDemo.h"\r
\r
/* The period after which the check timer will expire, in ms, provided no errors\r
have been reported by any of the standard demo tasks. ms are converted to the\r
#define mainCONNECTED_IP_TASK_PRIORITY ( configMAX_PRIORITIES - 1 )\r
#define mainDISCONNECTED_IP_TASK_PRIORITY ( tskIDLE_PRIORITY )\r
\r
-/* UDP command server task parameters. */\r
+/* UDP command server and echo task parameters. */\r
#define mainUDP_CLI_TASK_PRIORITY ( tskIDLE_PRIORITY )\r
#define mainUDP_CLI_PORT_NUMBER ( 5001UL )\r
#define mainUDP_CLI_TASK_STACK_SIZE ( configMINIMAL_STACK_SIZE * 2U )\r
+#define mainECHO_CLIENT_STACK_SIZE ( configMINIMAL_STACK_SIZE + 30 )\r
\r
/* Set to 1 to include the UDP echo client tasks in the build. The echo clients\r
require the IP address of the echo server to be defined using the\r
vStartQueueOverwriteTask( mainQUEUE_OVERWRITE_TASK_PRIORITY );\r
vStartQueueSetTasks();\r
vStartRecursiveMutexTasks();\r
+ vStartEventGroupTasks();\r
\r
/* Create the software timer that performs the 'check' functionality, as\r
described at the top of this file. */\r
{\r
ulErrorOccurred |= ( 0x01UL << 12UL );\r
}\r
+ else if( xAreEventGroupTasksStillRunning() != pdTRUE )\r
+ {\r
+ ulErrorOccurred |= ( 0x01UL << 13UL );\r
+ }\r
\r
if( ulErrorOccurred != pdFALSE )\r
{\r
address of the echo server to be defined using the\r
configECHO_SERVER_ADDR0 to configECHO_SERVER_ADDR3 constants in\r
FreeRTOSConfig.h. */\r
- vStartEchoClientTasks( configMINIMAL_STACK_SIZE, tskIDLE_PRIORITY );\r
+ vStartEchoClientTasks( mainECHO_CLIENT_STACK_SIZE, tskIDLE_PRIORITY );\r
}\r
#endif\r
}\r
\r
/* Call the periodic queue set ISR test function. */\r
vQueueSetAccessQueueSetFromISR();\r
+ \r
+ /* Call the event group ISR tests. */\r
+ vPeriodicEventGroupsProcessing();\r
}\r
/*-----------------------------------------------------------*/\r
\r