]> git.sur5r.net Git - freertos/blobdiff - Demo/PC/FreeRTOSConfig.h
Update to V5.0.2
[freertos] / Demo / PC / FreeRTOSConfig.h
index 90ec79f6a21941b4805722f4b0bd0bb6876ff279..ff4e262512dfd8f02e7ee9afaa3195248fc39d21 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-       FreeRTOS.org V4.8.0 - Copyright (C) 2003-2008 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
-       ***************************************************************************\r
-       *                                                                                                                                                 *\r
-       * SAVE TIME AND MONEY!  Why not get us to quote to get FreeRTOS.org               *\r
-       * running on your hardware - or even write all or part of your application*\r
-       * for you?  See http://www.OpenRTOS.com for details.                                      *\r
-       *                                                                                                                                                 *\r
-       ***************************************************************************\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
@@ -78,6 +79,8 @@
 #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
@@ -95,4 +98,10 @@ to exclude the API function. */
 #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