]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/include/FreeRTOS.h
Add event_groups.c and associated functions in other core files.
[freertos] / FreeRTOS / Source / include / FreeRTOS.h
index d968e1bcfa006a41166eae636bd4cecb5c893040..f8e68f86f8852552514981b976f223c0e4b76eca 100644 (file)
@@ -1,5 +1,6 @@
 /*\r
-    FreeRTOS V7.5.0 - Copyright (C) 2013 Real Time Engineers Ltd.\r
+    FreeRTOS V7.6.0 - Copyright (C) 2013 Real Time Engineers Ltd. \r
+    All rights reserved\r
 \r
     VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
 \r
@@ -91,9 +92,10 @@ is included as it is used by the port layer. */
 conform. */\r
 typedef portBASE_TYPE (*pdTASK_HOOK_CODE)( void * );\r
 \r
-\r
-\r
-\r
+/* The type that holds event bits always matches portTickType - therefore the\r
+number of bits it holds is set by configUSE_16_BIT_TICKS (16 bits if set to 1,\r
+32 bits if set to 0. */\r
+typedef portTickType xEventBitsType;\r
 \r
 /*\r
  * Check all the required application specific macros have been defined.\r
@@ -189,6 +191,10 @@ typedef portBASE_TYPE (*pdTASK_HOOK_CODE)( void * );
        #define configUSE_TIMERS 0\r
 #endif\r
 \r
+#ifndef configUSE_EVENT_GROUPS\r
+       #define configUSE_EVENT_GROUPS 0\r
+#endif\r
+\r
 #ifndef configUSE_COUNTING_SEMAPHORES\r
        #define configUSE_COUNTING_SEMAPHORES 0\r
 #endif\r
@@ -217,6 +223,14 @@ typedef portBASE_TYPE (*pdTASK_HOOK_CODE)( void * );
        #define INCLUDE_xTaskResumeFromISR 1\r
 #endif\r
 \r
+#ifndef INCLUDE_xEventGroupSetBitFromISR\r
+       #define INCLUDE_xEventGroupSetBitFromISR 0\r
+#endif\r
+\r
+#ifndef INCLUDE_xTimerPendCallbackFromISR\r
+       #define INCLUDE_xTimerPendCallbackFromISR 0\r
+#endif\r
+\r
 #ifndef configASSERT\r
        #define configASSERT( x )\r
        #define configASSERT_DEFINED 0\r
@@ -511,6 +525,14 @@ typedef portBASE_TYPE (*pdTASK_HOOK_CODE)( void * );
        #define traceTIMER_COMMAND_RECEIVED( pxTimer, xMessageID, xMessageValue )\r
 #endif\r
 \r
+#ifndef traceMALLOC\r
+    #define traceMALLOC( pvAddress, uiSize )\r
+#endif\r
+\r
+#ifndef traceFREE\r
+    #define traceFREE( pvAddress, uiSize )\r
+#endif\r
+\r
 #ifndef configGENERATE_RUN_TIME_STATS\r
        #define configGENERATE_RUN_TIME_STATS 0\r
 #endif\r
@@ -597,8 +619,8 @@ typedef portBASE_TYPE (*pdTASK_HOOK_CODE)( void * );
        #define configUSE_NEWLIB_REENTRANT 0\r
 #endif\r
 \r
-#ifndef configINCLUDE_STATS_FORMATTING_FUNCTIONS\r
-       #define configINCLUDE_STATS_FORMATTING_FUNCTIONS 0\r
+#ifndef configUSE_STATS_FORMATTING_FUNCTIONS\r
+       #define configUSE_STATS_FORMATTING_FUNCTIONS 0\r
 #endif\r
 \r
 #ifndef portASSERT_IF_INTERRUPT_PRIORITY_INVALID\r