summaryrefslogtreecommitdiff
path: root/FreeRTOS/Demo/WIN32-MSVC/main_full.c
diff options
context:
space:
mode:
Diffstat (limited to 'FreeRTOS/Demo/WIN32-MSVC/main_full.c')
-rw-r--r--FreeRTOS/Demo/WIN32-MSVC/main_full.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/FreeRTOS/Demo/WIN32-MSVC/main_full.c b/FreeRTOS/Demo/WIN32-MSVC/main_full.c
index a73e6459e..7637ae636 100644
--- a/FreeRTOS/Demo/WIN32-MSVC/main_full.c
+++ b/FreeRTOS/Demo/WIN32-MSVC/main_full.c
@@ -97,6 +97,7 @@
#include "EventGroupsDemo.h"
#include "IntSemTest.h"
#include "TaskNotify.h"
+#include "TaskNotifyArray.h"
#include "QueueSetPolling.h"
#include "StaticAllocation.h"
#include "blocktim.h"
@@ -183,6 +184,7 @@ int main_full( void )
/* Create the standard demo tasks. */
vStartTaskNotifyTask();
+ vStartTaskNotifyArrayTask();
vStartBlockingQueueTasks( mainBLOCK_Q_PRIORITY );
vStartSemaphoreTasks( mainSEM_TEST_PRIORITY );
vStartPolledQueueTasks( mainQUEUE_POLL_PRIORITY );
@@ -286,6 +288,10 @@ HeapStats_t xHeapStats;
{
pcStatusMessage = "Error: Notification";
}
+ else if( xAreTaskNotificationArrayTasksStillRunning() != pdTRUE )
+ {
+ pcStatusMessage = "Error: NotificationArray";
+ }
else if( xAreInterruptSemaphoreTasksStillRunning() != pdTRUE )
{
pcStatusMessage = "Error: IntSem";
@@ -496,6 +502,7 @@ TaskHandle_t xTimerTask;
/* Exercise using task notifications from an interrupt. */
xNotifyTaskFromISR();
+ xNotifyArrayTaskFromISR();
/* Writes to stream buffer byte by byte to test the stream buffer trigger
level functionality. */