Richard Barry | c59af80 | 2008-10-23 11:08:14 +0000 | [diff] [blame] | 1 | /*
|
Richard Barry | 8368600 | 2009-07-07 09:29:47 +0000 | [diff] [blame^] | 2 | FreeRTOS.org V5.4.0 - Copyright (C) 2003-2009 Richard Barry.
|
Richard Barry | c59af80 | 2008-10-23 11:08:14 +0000 | [diff] [blame] | 3 |
|
| 4 | This file is part of the FreeRTOS.org distribution.
|
| 5 |
|
Richard Barry | c012651 | 2009-05-30 15:56:05 +0000 | [diff] [blame] | 6 | FreeRTOS.org is free software; you can redistribute it and/or modify it
|
Richard Barry | 2f40ad7 | 2009-03-14 19:20:12 +0000 | [diff] [blame] | 7 | under the terms of the GNU General Public License (version 2) as published
|
| 8 | by the Free Software Foundation and modified by the FreeRTOS exception.
|
Richard Barry | c012651 | 2009-05-30 15:56:05 +0000 | [diff] [blame] | 9 | **NOTE** The exception to the GPL is included to allow you to distribute a
|
| 10 | combined work that includes FreeRTOS.org without being obliged to provide
|
| 11 | the source code for any proprietary components. Alternative commercial
|
| 12 | license and support terms are also available upon request. See the
|
| 13 | licensing section of http://www.FreeRTOS.org for full details.
|
Richard Barry | c59af80 | 2008-10-23 11:08:14 +0000 | [diff] [blame] | 14 |
|
Richard Barry | 2f40ad7 | 2009-03-14 19:20:12 +0000 | [diff] [blame] | 15 | FreeRTOS.org is distributed in the hope that it will be useful, but WITHOUT
|
Richard Barry | c012651 | 2009-05-30 15:56:05 +0000 | [diff] [blame] | 16 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
| 17 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
Richard Barry | 2f40ad7 | 2009-03-14 19:20:12 +0000 | [diff] [blame] | 18 | more details.
|
Richard Barry | c59af80 | 2008-10-23 11:08:14 +0000 | [diff] [blame] | 19 |
|
Richard Barry | c012651 | 2009-05-30 15:56:05 +0000 | [diff] [blame] | 20 | You should have received a copy of the GNU General Public License along
|
| 21 | with FreeRTOS.org; if not, write to the Free Software Foundation, Inc., 59
|
Richard Barry | 2f40ad7 | 2009-03-14 19:20:12 +0000 | [diff] [blame] | 22 | Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
Richard Barry | c59af80 | 2008-10-23 11:08:14 +0000 | [diff] [blame] | 23 |
|
Richard Barry | 2f40ad7 | 2009-03-14 19:20:12 +0000 | [diff] [blame] | 24 |
|
| 25 | ***************************************************************************
|
| 26 | * *
|
| 27 | * Get the FreeRTOS eBook! See http://www.FreeRTOS.org/Documentation *
|
Richard Barry | 52ba0e6 | 2009-02-09 20:21:35 +0000 | [diff] [blame] | 28 | * *
|
| 29 | * This is a concise, step by step, 'hands on' guide that describes both *
|
| 30 | * general multitasking concepts and FreeRTOS specifics. It presents and *
|
| 31 | * explains numerous examples that are written using the FreeRTOS API. *
|
| 32 | * Full source code for all the examples is provided in an accompanying *
|
| 33 | * .zip file. *
|
Richard Barry | 2f40ad7 | 2009-03-14 19:20:12 +0000 | [diff] [blame] | 34 | * *
|
| 35 | ***************************************************************************
|
| 36 |
|
| 37 | 1 tab == 4 spaces!
|
Richard Barry | c59af80 | 2008-10-23 11:08:14 +0000 | [diff] [blame] | 38 |
|
| 39 | Please ensure to read the configuration and relevant port sections of the
|
| 40 | online documentation.
|
| 41 |
|
Richard Barry | 2f40ad7 | 2009-03-14 19:20:12 +0000 | [diff] [blame] | 42 | http://www.FreeRTOS.org - Documentation, latest information, license and
|
Richard Barry | c59af80 | 2008-10-23 11:08:14 +0000 | [diff] [blame] | 43 | contact details.
|
| 44 |
|
Richard Barry | 2f40ad7 | 2009-03-14 19:20:12 +0000 | [diff] [blame] | 45 | http://www.SafeRTOS.com - A version that is certified for use in safety
|
Richard Barry | c59af80 | 2008-10-23 11:08:14 +0000 | [diff] [blame] | 46 | critical systems.
|
| 47 |
|
Richard Barry | 2f40ad7 | 2009-03-14 19:20:12 +0000 | [diff] [blame] | 48 | http://www.OpenRTOS.com - Commercial support, development, porting,
|
Richard Barry | c59af80 | 2008-10-23 11:08:14 +0000 | [diff] [blame] | 49 | licensing and training services.
|
| 50 | */
|
| 51 |
|
| 52 | #ifndef FREERTOS_CONFIG_H
|
| 53 | #define FREERTOS_CONFIG_H
|
| 54 |
|
| 55 | #include <lpc21xx.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 portLONG ) 60000000 ) /* =12.0MHz xtal multiplied by 5 using the PLL. */
|
| 73 | #define configTICK_RATE_HZ ( ( portTickType ) 1000 )
|
| 74 | #define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 5 )
|
| 75 | #define configMINIMAL_STACK_SIZE ( ( unsigned portSHORT ) 100 )
|
| 76 | #define configTOTAL_HEAP_SIZE ( ( size_t ) 13 * 1024 )
|
| 77 | #define configMAX_TASK_NAME_LEN ( 16 )
|
| 78 | #define configUSE_TRACE_FACILITY 0
|
| 79 | #define configUSE_16_BIT_TICKS 0
|
| 80 | #define configIDLE_SHOULD_YIELD 1
|
| 81 |
|
Richard Barry | 515cd42 | 2009-04-27 09:15:19 +0000 | [diff] [blame] | 82 | #define configQUEUE_REGISTRY_SIZE 0
|
| 83 |
|
Richard Barry | c59af80 | 2008-10-23 11:08:14 +0000 | [diff] [blame] | 84 | /* Co-routine definitions. */
|
| 85 | #define configUSE_CO_ROUTINES 0
|
| 86 | #define configMAX_CO_ROUTINE_PRIORITIES ( 2 )
|
| 87 |
|
| 88 | /* Set the following definitions to 1 to include the API function, or zero
|
| 89 | to exclude the API function. */
|
| 90 |
|
| 91 | #define INCLUDE_vTaskPrioritySet 1
|
| 92 | #define INCLUDE_uxTaskPriorityGet 1
|
| 93 | #define INCLUDE_vTaskDelete 1
|
| 94 | #define INCLUDE_vTaskCleanUpResources 0
|
| 95 | #define INCLUDE_vTaskSuspend 1
|
| 96 | #define INCLUDE_vTaskDelayUntil 1
|
| 97 | #define INCLUDE_vTaskDelay 1
|
| 98 |
|
| 99 |
|
| 100 |
|
| 101 | #endif /* FREERTOS_CONFIG_H */
|