]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/PIC32MZ_MPLAB/ISRTriggeredTask.c
Cortex-A5 IAR port baseline prior to removing all SAMA5 specifics to make it generic.:
[freertos] / FreeRTOS / Demo / PIC32MZ_MPLAB / ISRTriggeredTask.c
index e6e8f1b54d9a9c5ffce712c09f1c03877878f182..d58ec8c318abad43f66b9a4e07e20138902139b5 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-    FreeRTOS V7.6.0 - Copyright (C) 2013 Real Time Engineers Ltd.\r
+    FreeRTOS V8.0.1 - Copyright (C) 2014 Real Time Engineers Ltd.\r
     All rights reserved\r
 \r
     VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
     the terms of the GNU General Public License (version 2) as published by the\r
     Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.\r
 \r
-    >>! NOTE: The modification to the GPL is included to allow you to distribute\r
-    >>! a combined work that includes FreeRTOS without being obliged to provide\r
-    >>! the source code for proprietary components outside of the FreeRTOS\r
-    >>! kernel.\r
+    >>!   NOTE: The modification to the GPL is included to allow you to     !<<\r
+    >>!   distribute a combined work that includes FreeRTOS without being   !<<\r
+    >>!   obliged to provide the source code for proprietary components     !<<\r
+    >>!   outside of the FreeRTOS kernel.                                   !<<\r
 \r
     FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY\r
     WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\r
@@ -126,19 +126,19 @@ void __attribute__( (interrupt(ipl3), vector(_TIMER_5_VECTOR))) vT5InterruptWrap
 \r
 /* The semaphore given by the T5 interrupt to unblock the task implemented by\r
  the prvISRTriggeredTask() function. */\r
-static xSemaphoreHandle xBlockSemaphore = NULL;\r
+static SemaphoreHandle_t xBlockSemaphore = NULL;\r
 /*-----------------------------------------------------------*/\r
 \r
 void vStartISRTriggeredTask( void )\r
 {\r
        /* Create the task described at the top of this file.  The timer is\r
        configured by the task itself. */\r
-       xTaskCreate( prvISRTriggeredTask,                                       /* The function that implements the task. */\r
-                               ( const signed char * const ) "ISRt",   /* Text name to help debugging - not used by the kernel. */\r
-                               configMINIMAL_STACK_SIZE,                               /* The size of the stack to allocate to the task - defined in words, not bytes. */\r
-                               NULL,                                                                   /* The parameter to pass into the task.  Not used in this case. */\r
-                               configMAX_PRIORITIES - 1,                               /* The priority at which the task is created. */\r
-                               NULL );                                                                 /* Used to pass a handle to the created task out of the function.  Not used in this case. */\r
+       xTaskCreate( prvISRTriggeredTask,               /* The function that implements the task. */\r
+                               "ISRt",                                         /* Text name to help debugging - not used by the kernel. */\r
+                               configMINIMAL_STACK_SIZE,       /* The size of the stack to allocate to the task - defined in words, not bytes. */\r
+                               NULL,                                           /* The parameter to pass into the task.  Not used in this case. */\r
+                               configMAX_PRIORITIES - 1,       /* The priority at which the task is created. */\r
+                               NULL );                                         /* Used to pass a handle to the created task out of the function.  Not used in this case. */\r
 }\r
 /*-----------------------------------------------------------*/\r
 \r