]> git.sur5r.net Git - freertos/blobdiff - Demo/PC/FreeRTOSConfig.h
Ready for V5.2.0 release.
[freertos] / Demo / PC / FreeRTOSConfig.h
index 894ca5e59c9a5be3eee8c1ef46402cd45bae9b53..cfdedabe59889391229fe4b8fe054add5e6aec09 100644 (file)
@@ -1,37 +1,52 @@
 /*\r
-       FreeRTOS.org V4.7.0 - Copyright (C) 2003-2007 Richard Barry.\r
+       FreeRTOS.org V5.2.0 - Copyright (C) 2003-2009 Richard Barry.\r
 \r
        This file is part of the FreeRTOS.org distribution.\r
 \r
-       FreeRTOS.org is free software; you can redistribute it and/or modify\r
-       it under the terms of the GNU General Public License as published by\r
-       the Free Software Foundation; either version 2 of the License, or\r
-       (at your option) any later version.\r
+       FreeRTOS.org is free software; you can redistribute it and/or modify it \r
+       under the terms of the GNU General Public License (version 2) as published\r
+       by the Free Software Foundation and modified by the FreeRTOS exception.\r
 \r
-       FreeRTOS.org is distributed in the hope that it will be useful,\r
-       but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-       GNU General Public License for more details.\r
+       FreeRTOS.org is distributed in the hope that it will be useful, but WITHOUT\r
+       ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or \r
+       FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for \r
+       more details.\r
 \r
-       You should have received a copy of the GNU General Public License\r
-       along with FreeRTOS.org; if not, write to the Free Software\r
-       Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\r
+       You should have received a copy of the GNU General Public License along \r
+       with FreeRTOS.org; if not, write to the Free Software Foundation, Inc., 59 \r
+       Temple Place, Suite 330, Boston, MA  02111-1307  USA.\r
 \r
-       A special exception to the GPL can be applied should you wish to distribute\r
-       a combined work that includes FreeRTOS.org, without being obliged to provide\r
-       the source code for any proprietary components.  See the licensing section \r
-       of http://www.FreeRTOS.org for full details of how and when the exception\r
-       can be applied.\r
+       A special exception to the GPL is included to allow you to distribute a \r
+       combined work that includes FreeRTOS.org without being obliged to provide\r
+       the source code for any proprietary components.  See the licensing section\r
+       of http://www.FreeRTOS.org for full details.\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
-       Also see http://www.SafeRTOS.com a version that has been certified for use\r
-       in safety critical systems, plus commercial licensing, development and\r
-       support options.\r
        ***************************************************************************\r
+       *                                                                         *\r
+       * Get the FreeRTOS eBook!  See http://www.FreeRTOS.org/Documentation      *\r
+       *                                                                         *\r
+       * This is a concise, step by step, 'hands on' guide that describes both   *\r
+       * general multitasking concepts and FreeRTOS specifics. It presents and   *\r
+       * explains numerous examples that are written using the FreeRTOS API.     *\r
+       * Full source code for all the examples is provided in an accompanying    *\r
+       * .zip file.                                                              *\r
+       *                                                                         *\r
+       ***************************************************************************\r
+\r
+       1 tab == 4 spaces!\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
@@ -48,6 +63,8 @@
  *\r
  * THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE\r
  * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE. \r
+ *\r
+ * See http://www.freertos.org/a00110.html.\r
  *----------------------------------------------------------*/\r
 \r
 #define configUSE_PREEMPTION                   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