blob: 5b5268f869067da129de4afdab343f41808f8adf [file] [log] [blame]
Richard Barryb6df57c2006-05-02 09:39:15 +00001/*
Richard Barry16b6baf2008-07-30 20:04:29 +00002 FreeRTOS.org V5.0.3 - Copyright (C) 2003-2008 Richard Barry.
Richard Barryb6df57c2006-05-02 09:39:15 +00003
Richard Barry946da762006-05-28 08:17:56 +00004 This file is part of the FreeRTOS.org distribution.
Richard Barryb6df57c2006-05-02 09:39:15 +00005
Richard Barry946da762006-05-28 08:17:56 +00006 FreeRTOS.org is free software; you can redistribute it and/or modify
Richard Barryb6df57c2006-05-02 09:39:15 +00007 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10
Richard Barry946da762006-05-28 08:17:56 +000011 FreeRTOS.org is distributed in the hope that it will be useful,
Richard Barryb6df57c2006-05-02 09:39:15 +000012 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
Richard Barry946da762006-05-28 08:17:56 +000017 along with FreeRTOS.org; if not, write to the Free Software
Richard Barryb6df57c2006-05-02 09:39:15 +000018 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
20 A special exception to the GPL can be applied should you wish to distribute
Richard Barry946da762006-05-28 08:17:56 +000021 a combined work that includes FreeRTOS.org, without being obliged to provide
Richard Barryb6df57c2006-05-02 09:39:15 +000022 the source code for any proprietary components. See the licensing section
23 of http://www.FreeRTOS.org for full details of how and when the exception
24 can be applied.
25
Richard Barry9596b042008-03-26 13:04:38 +000026 ***************************************************************************
27 ***************************************************************************
28 * *
29 * SAVE TIME AND MONEY! We can port FreeRTOS.org to your own hardware, *
30 * and even write all or part of your application on your behalf. *
31 * See http://www.OpenRTOS.com for details of the services we provide to *
32 * expedite your project. *
33 * *
34 ***************************************************************************
35 ***************************************************************************
Richard Barry0a6d59a2007-04-01 20:47:49 +000036
Richard Barry527fb6a2008-03-25 21:22:13 +000037 Please ensure to read the configuration and relevant port sections of the
Richard Barryc86dcf72008-02-03 19:45:58 +000038 online documentation.
39
Richard Barry527fb6a2008-03-25 21:22:13 +000040 http://www.FreeRTOS.org - Documentation, latest information, license and
41 contact details.
Richard Barryc86dcf72008-02-03 19:45:58 +000042
Richard Barry527fb6a2008-03-25 21:22:13 +000043 http://www.SafeRTOS.com - A version that is certified for use in safety
44 critical systems.
Richard Barryc86dcf72008-02-03 19:45:58 +000045
Richard Barry527fb6a2008-03-25 21:22:13 +000046 http://www.OpenRTOS.com - Commercial support, development, porting,
47 licensing and training services.
Richard Barryb6df57c2006-05-02 09:39:15 +000048*/
49
50/*
51Changes from V3.0.0
52 + TickRate reduced to 250Hz.
53
54 + configIDLE_SHOULD_YIELD added.
55
56Changes from V3.0.1
57*/
58
59#ifndef FREERTOS_CONFIG_H
60#define FREERTOS_CONFIG_H
61
62/*-----------------------------------------------------------
63 * Application specific definitions.
64 *
65 * These definitions should be adjusted for your particular hardware and
66 * application requirements.
67 *
68 * THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE
69 * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE.
Richard Barry049459a2008-08-14 13:19:20 +000070 *
71 * See http://www.freertos.org/a00110.html.
Richard Barryb6df57c2006-05-02 09:39:15 +000072 *----------------------------------------------------------*/
73
74#define configUSE_PREEMPTION ( 1 )
75#define configUSE_IDLE_HOOK ( 0 )
76#define configUSE_TICK_HOOK ( 0 )
77#define configTICK_RATE_HZ ( 250 )
78#define configMAX_PRIORITIES ( 3 )
79#define configMINIMAL_STACK_SIZE portMINIMAL_STACK_SIZE
80#define configMAX_TASK_NAME_LEN ( 3 )
81#define configUSE_TRACE_FACILITY ( 0 )
82#define configUSE_16_BIT_TICKS ( 1 )
83#define configIDLE_SHOULD_YIELD ( 1 )
84
85/* Co-routine definitions. */
86#define configUSE_CO_ROUTINES 0
87#define configMAX_CO_ROUTINE_PRIORITIES ( 2 )
88
89/* Set the following definitions to 1 to include the component, or zero
90to exclude the component. */
91
92/* Include/exclude the stated API function. */
93#define INCLUDE_vTaskPrioritySet ( 0 )
94#define INCLUDE_uxTaskPriorityGet ( 0 )
95#define INCLUDE_vTaskDelete ( 0 )
96#define INCLUDE_vTaskCleanUpResources ( 0 )
97#define INCLUDE_vTaskSuspend ( 0 )
98#define INCLUDE_vTaskDelayUntil ( 1 )
99#define INCLUDE_vTaskDelay ( 0 )
100
101#endif /* FREERTOS_CONFIG_H */