app_cfg.h

来自「keil编译器下uocs在lpc2214上的移植」· C头文件 代码 · 共 78 行

H
78
字号
/*
*********************************************************************************************************
*
*                                       	 请求应用配置
*
*                                              NXP LPC2214
*                                             
*                                   		  用在flamingo实验板上
*
* 文件名 : app_cfg.h
* 版本号 : V1.00
* 程序员 : 王志辉
*********************************************************************************************************
*/

#ifndef  __APP_CFG_H__
#define  __APP_CFG_H__

/*
*********************************************************************************************************
*                                       ADDITIONAL uC/MODULE ENABLES
*********************************************************************************************************
*/

//#define  uC_PROBE_OS_PLUGIN              DEF_ENABLED            /* DEF_ENABLED = Present, DEF_DISABLED = Not Present        */
//#define  uC_PROBE_COM_MODULE             DEF_ENABLED

/*
*********************************************************************************************************
*                                            任务优先级
*********************************************************************************************************
*/

#define  APP_TASK_START_PRIO                   5
//#define  APP_TASK_KBD_PRIO                     6
//#define  APP_TASK_PROBE_STR_PRIO               7

//#define  OS_PROBE_TASK_PRIO                    8
//#define  OS_PROBE_TASK_ID                      8

#define  OS_TASK_TMR_PRIO              (OS_LOWEST_PRIO - 2)

/*
*********************************************************************************************************
*                                            任务堆栈尺寸
*                            Size of the task stacks (# of OS_STK entries)
*********************************************************************************************************
*/

//#define  APP_TASK_START_STK_SIZE             256
//#define  APP_TASK_KBD_STK_SIZE               256
//#define  APP_TASK_PROBE_STR_STK_SIZE         512

//#define  OS_PROBE_TASK_STK_SIZE              512

/*
*********************************************************************************************************
*                               uC/Probe plug-in for uC/OS-II CONFIGURATION
*********************************************************************************************************
*/

//#define  OS_PROBE_TASK                         1                /* Task will be created for uC/Probe OS Plug-In             */
//#define  OS_PROBE_TMR_32_BITS                  1                /* uC/Probe OS Plug-In timer is a 32-bit timer              */
//#define  OS_PROBE_HOOKS_EN                     1                /* Hooks to update OS_TCB profiling members will be included*/

/*
*********************************************************************************************************
*                                      uC/OS-II DCC CONFIGURATION
*********************************************************************************************************
*/

//#define  OS_CPU_ARM_DCC_EN                     0




#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?