OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [MCF5235_GCC/] [FreeRTOSConfig.h] - Blame information for rev 675

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 584 jeremybenn
/*
2
    FreeRTOS V4.6.1 - Copyright (C) 2003-2006 Richard Barry.
3
    MCF5235 Port - Copyright (C) 2006 Christian Walter.
4
 
5
    This file is part of the FreeRTOS distribution.
6
 
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.
11
 
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.
16
 
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
20
 
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
25
    can be applied.
26
 
27
    ***************************************************************************
28
    ***************************************************************************
29
    *                                                                         *
30
    * Get the FreeRTOS eBook!  See http://www.FreeRTOS.org/Documentation      *
31
        *                                                                         *
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    *
36
        * .zip file.                                                              *
37
    *                                                                         *
38
    ***************************************************************************
39
    ***************************************************************************
40
 
41
        Please ensure to read the configuration and relevant port sections of the
42
        online documentation.
43
 
44
        http://www.FreeRTOS.org - Documentation, latest information, license and
45
        contact details.
46
 
47
        http://www.SafeRTOS.com - A version that is certified for use in safety
48
        critical systems.
49
 
50
        http://www.OpenRTOS.com - Commercial support, development, porting,
51
        licensing and training services.
52
*/
53
 
54
#ifndef FREERTOS_CONFIG_H
55
#define FREERTOS_CONFIG_H
56
 
57
/*-----------------------------------------------------------
58
 * Application specific definitions.
59
 *
60
 * These definitions should be adjusted for your particular hardware and
61
 * application requirements.
62
 *
63
 * THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE
64
 * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE.
65
 *
66
 * See http://www.freertos.org/a00110.html.
67
 *----------------------------------------------------------*/
68
 
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          ( ( portTickType ) 1000 )
74
#define configMAX_PRIORITIES        ( ( unsigned portBASE_TYPE ) 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
80
 
81
/* Co-routine definitions. */
82
#define configUSE_CO_ROUTINES       0 
83
#define configMAX_CO_ROUTINE_PRIORITIES ( 2 )
84
 
85
/* Set the following definitions to 1 to include the API function, or zero
86
to exclude the API function. */
87
 
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
96
 
97
#endif  /* FREERTOS_CONFIG_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.