2 FreeRTOS V4.6.1 - Copyright (C) 2003-2006 Richard Barry.
3 MCF5235 Port - Copyright (C) 2006 Christian Walter.
5 This file is part of the FreeRTOS distribution.
7 FreeRTOS is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License** as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
12 FreeRTOS is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with FreeRTOS; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 A special exception to the GPL can be applied should you wish to distribute
22 a combined work that includes FreeRTOS, without being obliged to provide
23 the source code for any proprietary components. See the licensing section
24 of http://www.FreeRTOS.org for full details of how and when the exception
27 ***************************************************************************
28 ***************************************************************************
30 * Get the FreeRTOS eBook! See http://www.FreeRTOS.org/Documentation *
32 * This is a concise, step by step, 'hands on' guide that describes both *
33 * general multitasking concepts and FreeRTOS specifics. It presents and *
34 * explains numerous examples that are written using the FreeRTOS API. *
35 * Full source code for all the examples is provided in an accompanying *
38 ***************************************************************************
39 ***************************************************************************
41 Please ensure to read the configuration and relevant port sections of the
44 http://www.FreeRTOS.org - Documentation, latest information, license and
47 http://www.SafeRTOS.com - A version that is certified for use in safety
50 http://www.OpenRTOS.com - Commercial support, development, porting,
51 licensing and training services.
54 #ifndef FREERTOS_CONFIG_H
55 #define FREERTOS_CONFIG_H
57 /*-----------------------------------------------------------
58 * Application specific definitions.
60 * These definitions should be adjusted for your particular hardware and
61 * application requirements.
63 * THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE
64 * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE.
66 * See http://www.freertos.org/a00110.html.
67 *----------------------------------------------------------*/
69 #define configUSE_PREEMPTION 1
70 #define configUSE_IDLE_HOOK 0
71 #define configUSE_TICK_HOOK 0
72 #define configCPU_CLOCK_HZ ( ( unsigned long ) 25000000 )
73 #define configTICK_RATE_HZ ( ( TickType_t ) 1000 )
74 #define configMAX_PRIORITIES ( 7 )
75 #define configMINIMAL_STACK_SIZE ( ( unsigned short ) 256 )
76 #define configMAX_TASK_NAME_LEN ( 16 )
77 #define configUSE_TRACE_FACILITY 1
78 #define configUSE_16_BIT_TICKS 0
79 #define configIDLE_SHOULD_YIELD 1
81 /* Co-routine definitions. */
82 #define configUSE_CO_ROUTINES 0
83 #define configMAX_CO_ROUTINE_PRIORITIES ( 2 )
85 /* Set the following definitions to 1 to include the API function, or zero
86 to exclude the API function. */
88 #define INCLUDE_vTaskPrioritySet 1
89 #define INCLUDE_uxTaskPriorityGet 1
90 #define INCLUDE_vTaskDelete 1
91 #define INCLUDE_vTaskCleanUpResources 0
92 #define INCLUDE_vTaskSuspend 1
93 #define INCLUDE_vTaskDelayUntil 1
94 #define INCLUDE_vTaskDelay 1
95 #define INCLUDE_xTaskGetCurrentTaskHandle 1
97 #endif /* FREERTOS_CONFIG_H */