?? app_cfg.h
字號:
/****************************************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 DEF_ENABLED 1
#define OS_VIEW_MODULE DEF_DISABLED /* DEF_ENABLED = Present, DEF_DISABLED = Not Present */
/*
*********************************************************************************************************
* TASKS NAMES
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* TASK PRIORITIES
*********************************************************************************************************
*/
#define APP_TASK_START_PRIO ( 1)
#define LWIP_TASK_START_PRIO ( 2)
#define LWIP_TASK_END_PRIO ( 4)
#define APP_TASK_ETHERNETIF_INPUT_PRIO ( 7)
#define APP_TASK_BLINK_PRIO ( 8)
#define APP_TASK_LWIP_PRIO ( 9)
#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_LWIP_STK_SIZE 256u
#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
/*
*********************************************************************************************************
* LIB
*********************************************************************************************************
*/
#define uC_CFG_OPTIMIZE_ASM_EN DEF_DISABLED
#define LIB_STR_CFG_FP_EN DEF_DISABLED
#endif
/*********************************************************************************************************
END FILE
*********************************************************************************************************/
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -