| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- /****************************************Copyright (c)****************************************************
- **
- ** http://www.powermcu.com
- **
- **--------------File Info---------------------------------------------------------------------------------
- ** File name: app_cfg.h
- ** Descriptions: ucosii configuration
- **
- **--------------------------------------------------------------------------------------------------------
- ** Created by: AVRman
- ** Created date: 2010-11-9
- ** Version: v1.0
- ** Descriptions: The original version
- **
- **--------------------------------------------------------------------------------------------------------
- ** Modified by:
- ** Modified date:
- ** Version:
- ** Descriptions:
- **
- *********************************************************************************************************/
- #ifndef __APP_CFG_H__
- #define __APP_CFG_H__
-
- /*
- *********************************************************************************************************
- * MODULE ENABLE / DISABLE
- *********************************************************************************************************
- */
- #define OS_VIEW_MODULE DEF_DISABLED /* DEF_ENABLED = Present, DEF_DISABLED = Not Present */
- /*
- *********************************************************************************************************
- * TASKS NAMES
- *********************************************************************************************************
- */
- /*
- *********************************************************************************************************
- * TASK PRIORITIES
- *********************************************************************************************************
- */
- #define APP_TASK_START_PRIO ( 1)
- #define APP_TASK_MAIN_PRIO ( 2)
- #define APP_TASK_NET_PRIO ( 3)
- #define APP_TASK_GPS_PRIO ( 4)
- #define APP_TASK_LED_PRIO ( 5)
- #define APP_TASK_OSVIEW_TERMINAL_PRIO (OS_LOWEST_PRIO - 6)
- #define OS_VIEW_TASK_PRIO (OS_LOWEST_PRIO - 3)
- #define OS_TASK_TMR_PRIO (OS_LOWEST_PRIO - 2)
- /*
- *********************************************************************************************************
- * TASK STACK SIZES
- * Size of the task stacks (# of OS_STK entries)
- *********************************************************************************************************
- */
- #define APP_TASK_ETHERNETIF_INPUT_STK_SIZE 512u
- #define APP_TASK_START_STK_SIZE 64u
- #define APP_TASK_BLINK_STK_SIZE 128u
- #define APP_TASK_OSVIEW_TERMINAL_STK_SIZE 128u
- #define OS_VIEW_TASK_STK_SIZE 128u
- #define APP_TASK_MB_STK_SIZE 256u
- /*
- *********************************************************************************************************
- * LIB
- *********************************************************************************************************
- */
- #define uC_CFG_OPTIMIZE_ASM_EN DEF_ENABLED
- #define LIB_STR_CFG_FP_EN DEF_DISABLED
- #endif
- /*********************************************************************************************************
- END FILE
- *********************************************************************************************************/
|