2 FreeRTOS V7.5.1 - Copyright (C) 2013 Real Time Engineers Ltd.
\r
4 VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
\r
6 ***************************************************************************
\r
8 * FreeRTOS provides completely free yet professionally developed, *
\r
9 * robust, strictly quality controlled, supported, and cross *
\r
10 * platform software that has become a de facto standard. *
\r
12 * Help yourself get started quickly and support the FreeRTOS *
\r
13 * project by purchasing a FreeRTOS tutorial book, reference *
\r
14 * manual, or both from: http://www.FreeRTOS.org/Documentation *
\r
18 ***************************************************************************
\r
20 This file is part of the FreeRTOS distribution.
\r
22 FreeRTOS is free software; you can redistribute it and/or modify it under
\r
23 the terms of the GNU General Public License (version 2) as published by the
\r
24 Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.
\r
26 >>! NOTE: The modification to the GPL is included to allow you to distribute
\r
27 >>! a combined work that includes FreeRTOS without being obliged to provide
\r
28 >>! the source code for proprietary components outside of the FreeRTOS
\r
31 FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
\r
32 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
\r
33 FOR A PARTICULAR PURPOSE. Full license text is available from the following
\r
34 link: http://www.freertos.org/a00114.html
\r
38 ***************************************************************************
\r
40 * Having a problem? Start by reading the FAQ "My application does *
\r
41 * not run, what could be wrong?" *
\r
43 * http://www.FreeRTOS.org/FAQHelp.html *
\r
45 ***************************************************************************
\r
47 http://www.FreeRTOS.org - Documentation, books, training, latest versions,
\r
48 license and Real Time Engineers Ltd. contact details.
\r
50 http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
\r
51 including FreeRTOS+Trace - an indispensable productivity tool, a DOS
\r
52 compatible FAT file system, and our tiny thread aware UDP/IP stack.
\r
54 http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High
\r
55 Integrity Systems to sell under the OpenRTOS brand. Low cost OpenRTOS
\r
56 licenses offer ticketed support, indemnification and middleware.
\r
58 http://www.SafeRTOS.com - High Integrity Systems also provide a safety
\r
59 engineered and independently SIL3 certified version for use in safety and
\r
60 mission critical applications that require provable dependability.
\r
65 #ifndef FREERTOS_CONFIG_H
\r
66 #define FREERTOS_CONFIG_H
\r
68 #include <xparameters.h>
\r
70 /*-----------------------------------------------------------
\r
71 * Application specific definitions.
\r
73 * These definitions should be adjusted for your particular hardware and
\r
74 * application requirements.
\r
76 * THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE
\r
77 * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE.
\r
79 * See http://www.freertos.org/a00110.html.
\r
80 *----------------------------------------------------------*/
\r
82 #define configUSE_PREEMPTION 1
\r
83 #define configUSE_IDLE_HOOK 0
\r
84 #define configUSE_TICK_HOOK 0
\r
85 #define configMINIMAL_STACK_SIZE ( ( unsigned short ) 250 )
\r
86 #define configCPU_CLOCK_HZ ( ( unsigned long ) XPAR_CPU_PPC440_CORE_CLOCK_FREQ_HZ ) /* Clock setup from start.asm in the demo application. */
\r
87 #define configTICK_RATE_HZ ( (portTickType) 1000 )
\r
88 #define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 6 )
\r
89 #define configTOTAL_HEAP_SIZE ( (size_t) (80 * 1024) )
\r
90 #define configMAX_TASK_NAME_LEN ( 20 )
\r
91 #define configUSE_16_BIT_TICKS 0
\r
92 #define configIDLE_SHOULD_YIELD 1
\r
93 #define configUSE_MUTEXES 1
\r
94 #define configUSE_TRACE_FACILITY 0
\r
95 #define configCHECK_FOR_STACK_OVERFLOW 2
\r
96 #define configUSE_COUNTING_SEMAPHORES 1
\r
97 #define configUSE_APPLICATION_TASK_TAG 1
\r
98 #define configUSE_FPU 0
\r
101 /* Co-routine definitions. */
\r
102 #define configUSE_CO_ROUTINES 0
\r
103 #define configMAX_CO_ROUTINE_PRIORITIES ( 4 )
\r
105 /* Set the following definitions to 1 to include the API function, or zero
\r
106 to exclude the API function. */
\r
107 #define INCLUDE_vTaskPrioritySet 1
\r
108 #define INCLUDE_uxTaskPriorityGet 1
\r
109 #define INCLUDE_vTaskDelete 1
\r
110 #define INCLUDE_vTaskCleanUpResources 1
\r
111 #define INCLUDE_vTaskSuspend 1
\r
112 #define INCLUDE_vResumeFromISR 1
\r
113 #define INCLUDE_vTaskDelayUntil 1
\r
114 #define INCLUDE_vTaskDelay 1
\r
115 #define INCLUDE_xTaskGetSchedulerState 1
\r
116 #define INCLUDE_xTaskGetCurrentTaskHandle 1
\r
117 #define INCLUDE_uxTaskGetStackHighWaterMark 1
\r
118 #define configUSE_RECURSIVE_MUTEXES 1
\r
121 #if configUSE_FPU == 1
\r
122 /* Include the header that define the traceTASK_SWITCHED_IN() and
\r
123 traceTASK_SWITCHED_OUT() macros to save and restore the floating
\r
124 point registers for tasks that have requested this behaviour. */
\r
125 #include "FPU_Macros.h"
\r
128 #endif /* FREERTOS_CONFIG_H */
\r