]> git.sur5r.net Git - freertos/blobdiff - Demo/PC/FreeRTOSConfig.h
Update to V5.0.2
[freertos] / Demo / PC / FreeRTOSConfig.h
index e8e00a9e5be10924c0e0237d9fc51ca2ae443be5..ff4e262512dfd8f02e7ee9afaa3195248fc39d21 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-       FreeRTOS.org V4.1.0 - Copyright (C) 2003-2006 Richard Barry.\r
+       FreeRTOS.org V5.0.2 - Copyright (C) 2003-2008 Richard Barry.\r
 \r
        This file is part of the FreeRTOS.org distribution.\r
 \r
        of http://www.FreeRTOS.org for full details of how and when the exception\r
        can be applied.\r
 \r
-       ***************************************************************************\r
-       See http://www.FreeRTOS.org for documentation, latest information, license \r
-       and contact details.  Please ensure to read the configuration and relevant \r
-       port sections of the online documentation.\r
-       ***************************************************************************\r
+    ***************************************************************************\r
+    ***************************************************************************\r
+    *                                                                         *\r
+    * SAVE TIME AND MONEY!  We can port FreeRTOS.org to your own hardware,    *\r
+    * and even write all or part of your application on your behalf.          *\r
+    * See http://www.OpenRTOS.com for details of the services we provide to   *\r
+    * expedite your project.                                                  *\r
+    *                                                                         *\r
+    ***************************************************************************\r
+    ***************************************************************************\r
+\r
+       Please ensure to read the configuration and relevant port sections of the\r
+       online documentation.\r
+\r
+       http://www.FreeRTOS.org - Documentation, latest information, license and \r
+       contact details.\r
+\r
+       http://www.SafeRTOS.com - A version that is certified for use in safety \r
+       critical systems.\r
+\r
+       http://www.OpenRTOS.com - Commercial support, development, porting, \r
+       licensing and training services.\r
 */\r
 \r
 #ifndef FREERTOS_CONFIG_H\r
  * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE. \r
  *----------------------------------------------------------*/\r
 \r
-#define configUSE_PREEMPTION           1\r
-#define configUSE_IDLE_HOOK                    1\r
-#define configUSE_TICK_HOOK                    1\r
-#define configTICK_RATE_HZ                     ( ( portTickType ) 1000 )\r
-#define configMINIMAL_STACK_SIZE       ( ( unsigned portSHORT ) 128 ) /* This can be made smaller if required. */\r
-#define configTOTAL_HEAP_SIZE          ( ( size_t ) ( 32 * 1024 ) ) \r
-#define configMAX_TASK_NAME_LEN                ( 16 )\r
-#define configUSE_TRACE_FACILITY    1\r
-#define configUSE_16_BIT_TICKS      1\r
-#define configIDLE_SHOULD_YIELD                1\r
-#define configUSE_CO_ROUTINES          1\r
+#define configUSE_PREEMPTION                   1\r
+#define configUSE_IDLE_HOOK                            1\r
+#define configUSE_TICK_HOOK                            1\r
+#define configTICK_RATE_HZ                             ( ( portTickType ) 1000 )\r
+#define configMINIMAL_STACK_SIZE               ( ( unsigned portSHORT ) 256 ) /* This can be made smaller if required. */\r
+#define configTOTAL_HEAP_SIZE                  ( ( size_t ) ( 32 * 1024 ) ) \r
+#define configMAX_TASK_NAME_LEN                        ( 16 )\r
+#define configUSE_TRACE_FACILITY       1\r
+#define configUSE_16_BIT_TICKS         1\r
+#define configIDLE_SHOULD_YIELD                        1\r
+#define configUSE_CO_ROUTINES                  1\r
+#define configUSE_MUTEXES                              1\r
+#define configUSE_COUNTING_SEMAPHORES  1\r
+#define configUSE_ALTERNATIVE_API              1\r
+#define configUSE_RECURSIVE_MUTEXES            1\r
+#define configCHECK_FOR_STACK_OVERFLOW 0 /* Do not use this option on the PC port. */\r
+#define configUSE_APPLICATION_TASK_TAG 1\r
+#define configQUEUE_REGISTRY_SIZE              0\r
 \r
 #define configMAX_PRIORITIES           ( ( unsigned portBASE_TYPE ) 10 )\r
 #define configMAX_CO_ROUTINE_PRIORITIES ( 2 )\r
 /* Set the following definitions to 1 to include the API function, or zero\r
 to exclude the API function. */\r
 \r
-#define INCLUDE_vTaskPrioritySet        1\r
-#define INCLUDE_uxTaskPriorityGet       1\r
-#define INCLUDE_vTaskDelete             1\r
-#define INCLUDE_vTaskCleanUpResources   1\r
-#define INCLUDE_vTaskSuspend            1\r
-#define INCLUDE_vTaskDelayUntil                        1\r
-#define INCLUDE_vTaskDelay                             1\r
+#define INCLUDE_vTaskPrioritySet               1\r
+#define INCLUDE_uxTaskPriorityGet              1\r
+#define INCLUDE_vTaskDelete                    1\r
+#define INCLUDE_vTaskCleanUpResources          1\r
+#define INCLUDE_vTaskSuspend                   1\r
+#define INCLUDE_vTaskDelayUntil                                1\r
+#define INCLUDE_vTaskDelay                                     1\r
+#define INCLUDE_uxTaskGetStackHighWaterMark 0 /* Do not use this option on the PC port. */\r
+\r
 \r
+/* An example "task switched in" hook macro definition. */\r
+#define traceTASK_SWITCHED_IN() xTaskCallApplicationTaskHook( NULL, ( void * ) 0xabcd )\r
 \r
+extern void vMainQueueSendPassed( void );\r
+#define traceQUEUE_SEND( pxQueue ) vMainQueueSendPassed()\r
 \r
 #endif /* FREERTOS_CONFIG_H */\r