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

📄 app_cfg.h

📁 uCOSII 在LPC3180上的移植代码
💻 H
字号:
/*
*********************************************************************************************************
*                                       APPLICATION CONFIGURATION
*
*                             (c) Copyright 2005, Micrium, Inc., Weston, FL
*                                          All Rights Reserved
*
*                                            Philips LPC3180
*********************************************************************************************************
*/

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

#define  APP_TASK_START_PRIO                   5
#define  OS_VIEW_TASK_PRIO                     7
#define  OS_VIEW_TASK_ID                       7
#define  OS_TASK_TMR_PRIO                     12

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

#define  APP_TASK_START_STK_SIZE              128
#define  OS_VIEW_TASK_STK_SIZE                 64

/*
*********************************************************************************************************
*                                           uC/OS-View CONSTANTS
*********************************************************************************************************
*/

#define  OS_VIEW_PARSE_TASK                     1                     /* 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_5                         5                     /* Standard UART5 selected                              */
#define  OS_VIEW_UART_7                         7                     /* Standard UART5 selected                              */

#define  OS_VIEW_COMM_SEL                  OS_VIEW_UART_7             /* Select UART5 for uC/OS-View to use                   */

#define  OS_VIEW_TIMER_SEL                 BSP_OS_TMR_SEL             /* Use the same timer as the OS Ticker, else 0, 1, 2    */
                                                                      /* See bsp.h                                            */

/*
*********************************************************************************************************
*                                           CONFIGURATION CHECKING
*********************************************************************************************************
*/

#if OS_VIEW_COMM_SEL != OS_VIEW_UART_1 && OS_VIEW_COMM_SEL != OS_VIEW_UART_2 && \
    OS_VIEW_COMM_SEL != OS_VIEW_UART_5 && OS_VIEW_COMM_SEL != OS_VIEW_UART_7
#error "Illegal OS-View UART Selection in app_cfg.h"
#endif

⌨️ 快捷键说明

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