* on using conifgCREATE_LOW_POWER_DEMO in main.c. This file implements the\r
* comprehensive test and demo version.\r
*\r
+ * The simple blinky demo uses aggregated interrupts. The full demo uses\r
+ * disaggregated interrupts.\r
+ *\r
* NOTE 2: This file only contains the source code that is specific to the\r
* full demo. Generic functions, such FreeRTOS hook functions, and functions\r
* required to configure the hardware, are defined in main.c.\r
#include "IntQueue.h"\r
#include "EventGroupsDemo.h"\r
#include "TaskNotify.h"\r
+#include "StaticAllocation.h"\r
\r
/* Priorities for the demo application tasks. */\r
#define mainSEM_TEST_PRIORITY ( tskIDLE_PRIORITY + 1UL )\r
vStartEventGroupTasks();\r
vStartTaskNotifyTask();\r
vStartInterruptQueueTasks();\r
+ vStartStaticallyAllocatedTasks();\r
\r
/* Create the register check tasks, as described at the top of this file */\r
xTaskCreate( prvRegTestTaskEntry1, "Reg1", configMINIMAL_STACK_SIZE, mainREG_TEST_TASK_1_PARAMETER, tskIDLE_PRIORITY, NULL );\r
xLastExecutionTime = xTaskGetTickCount();\r
\r
/* Cycle for ever, delaying then checking all the other tasks are still\r
- operating without error. The onboard LED is toggled on each iteration.\r
+ operating without error. The on board LED is toggled on each iteration.\r
If an error is detected then the delay period is decreased from\r
mainNO_ERROR_CHECK_TASK_PERIOD to mainERROR_CHECK_TASK_PERIOD. This has the\r
- effect of increasing the rate at which the onboard LED toggles, and in so\r
+ effect of increasing the rate at which the on board LED toggles, and in so\r
doing gives visual feedback of the system status. */\r
for( ;; )\r
{\r
ulErrorFound = 1UL << 10UL;\r
}\r
\r
+ if( xAreStaticAllocationTasksStillRunning() != pdPASS )\r
+ {\r
+ ulErrorFound = 1UL << 11UL;\r
+ }\r
+\r
if( xAreEventGroupTasksStillRunning() != pdPASS )\r
{\r
ulErrorFound = 1UL << 12UL;\r