00001 /* 00002 FreeRTOS V4.0.1 - Copyright (C) 2003-2006 Richard Barry. 00003 00004 This file is part of the FreeRTOS distribution. 00005 00006 FreeRTOS is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 2 of the License, or 00009 (at your option) any later version. 00010 00011 FreeRTOS is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with FreeRTOS; if not, write to the Free Software 00018 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00019 00020 A special exception to the GPL can be applied should you wish to distribute 00021 a combined work that includes FreeRTOS, without being obliged to provide 00022 the source code for any proprietary components. See the licensing section 00023 of http://www.FreeRTOS.org for full details of how and when the exception 00024 can be applied. 00025 00026 *************************************************************************** 00027 See http://www.FreeRTOS.org for documentation, latest information, license 00028 and contact details. Please ensure to read the configuration and relevant 00029 port sections of the online documentation. 00030 *************************************************************************** 00031 */ 00032 00033 #ifndef FREERTOS_CONFIG_H 00034 #define FREERTOS_CONFIG_H 00035 00036 /*----------------------------------------------------------- 00037 * Application specific definitions. 00038 * 00039 * These definitions should be adjusted for your particular hardware and 00040 * application requirements. 00041 * 00042 * THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE 00043 * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE. 00044 *----------------------------------------------------------*/ 00045 00046 /* The SWI is used by the scheduler. */ 00047 #define vPortYieldProcessor swi_handler 00048 00049 #include "config.h" 00050 00051 #define configUSE_PREEMPTION 1 00052 #define configUSE_IDLE_HOOK 0 00053 #define configUSE_TICK_HOOK 0 00054 #define configCPU_CLOCK_HZ ( ( unsigned portLONG ) 47923200 ) 00055 #define configTICK_RATE_HZ ( ( portTickType ) 1000 ) 00056 #define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 6 ) 00057 #define configMINIMAL_STACK_SIZE ( ( unsigned portSHORT ) 110 ) 00058 #define configTOTAL_HEAP_SIZE ( ( size_t ) CONTROLLER_HEAPSIZE) 00059 #define configMAX_TASK_NAME_LEN ( 16 ) 00060 #define configUSE_TRACE_FACILITY 1 00061 #define configUSE_16_BIT_TICKS 0 00062 #define configIDLE_SHOULD_YIELD 1 00063 00064 /* Co-routine definitions. */ 00065 #define configUSE_CO_ROUTINES 0 00066 #define configMAX_CO_ROUTINE_PRIORITIES ( 2 ) 00067 00068 /* Set the following definitions to 1 to include the API function, or zero 00069 to exclude the API function. */ 00070 00071 #define INCLUDE_vTaskPrioritySet 1 00072 #define INCLUDE_uxTaskPriorityGet 1 00073 #define INCLUDE_vTaskDelete 1 00074 #define INCLUDE_vTaskCleanUpResources 0 00075 #define INCLUDE_vTaskSuspend 1 00076 #define INCLUDE_vTaskDelayUntil 1 00077 #define INCLUDE_vTaskDelay 1 00078 #define INCLUDE_xTaskGetCurrentTaskHandle 1 00079 00080 #endif /* FREERTOS_CONFIG_H */
The Make Controller Kit is an open source project maintained by MakingThings.
MakingThings code is released under the Apache 2.0 license.
Bug tracker, development wiki and status can be found at http://dev.makingthings.com.
This document was last updated on 18 May 2009.