⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 app_cfg.h

📁 UCOS在LPC2378开发板里面的原版移植程序.并且里面还包含了最新的UCPROBE,很强哦,另外还有UCOSVIEW和大量文档.
💻 H
字号:
/*
*********************************************************************************************************
*                                              EXAMPLE CODE
*
*                          (c) Copyright 2003-2006; Micrium, Inc.; Weston, FL
*
*               All rights reserved.  Protected by international copyright laws.
*               Knowledge of the source code may NOT be used to develop a similar product.
*               Please help us continue to provide the Embedded community with the finest
*               software available.  Your honesty is greatly appreciated.
*********************************************************************************************************
*/

/*
*********************************************************************************************************
*
*                                       APPLICATION CONFIGURATION
*
*                                             NXP LPC2378
*                                                on the
*                                   IAR LPC2378-SK Evaluation Board
*
* Filename      : app_cfg.h
* Version       : V1.00
* Programmer(s) : Brian Nagel
*********************************************************************************************************
*/

#ifndef  __APP_CFG_H__
#define  __APP_CFG_H__

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

#define  uC_PROBE_OS_PLUGIN              DEF_ENABLED

/*
*********************************************************************************************************
*                                            TASK PRIORITIES
*********************************************************************************************************
*/

#define  OS_TASK_TMR_PRIO                      3
#define  APP_TASK_FACTORIAL_PRIO               4
#define  APP_TASK_KBD_PRIO                     6
#define  APP_TASK_START_PRIO                   7
#define  OS_VIEW_TASK_PRIO                     8
#define  OS_VIEW_TASK_ID                       8
#define  OS_PROBE_TASK_PRIO                    9
#define  OS_PROBE_TASK_ID                      9
#define  APP_TASK_USER_IF_PRIO                10

/*
*********************************************************************************************************
*                                            TASK STACK SIZES
*********************************************************************************************************
*/

#define  APP_TASK_START_STK_SIZE              128
#define  APP_TASK_USER_IF_STK_SIZE            160
#define  APP_TASK_KBD_STK_SIZE                192
#define  OS_VIEW_TASK_STK_SIZE                128
#define  APP_TASK_FACTORIAL_STK_SIZE          224
#define  OS_PROBE_TASK_STK_SIZE               128

/*
*********************************************************************************************************
*                                          uC/OS-View CONFIGURATION
*********************************************************************************************************
*/

#define  OS_VIEW_PARSE_TASK                     0               /* Parsing of received packets will be done by a task       */

#define  OS_VIEW_TMR_32_BITS                    1               /* uC/OS-View timer is 32 bits                              */

#define  OS_VIEW_UART_0                         0
#define  OS_VIEW_UART_1                         1

#define  OS_VIEW_COMM_SEL                 OS_VIEW_UART_0        /* Select UART to be used with uC/OS-View                   */

#define  OS_PROBE_TASK                          1               /* Task will be created for uC/Probe OS Plug-In             */
#define  OS_VIEW_USE_OS_PROBE                   0               /* OS-View Hooks are defined in uC/OS-View                  */

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

#define  OS_CPU_ARM_DCC_EN                       0




#endif

⌨️ 快捷键说明

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