]> 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 5956500cc5016d8aa81735466c4eb07d528743e5..f8e68f86f8852552514981b976f223c0e4b76eca 100644 (file)
@@ -92,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
@@ -190,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
@@ -218,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