app_cfg.h

来自「iar环境下移植ucos-ii到at91sam7s64」· C头文件 代码 · 共 62 行

H
62
字号
/*
*********************************************************************************************************
*                                               uC/OS-II
*                                         The Real-Time Kernel
*
*                             (c) Copyright 1998-2004, Micrium, Weston, FL
*                                          All Rights Reserved
*
*
*                                            ARM Sample code
*
* File : app_cfg.h
* By   : Eric Shufro
*********************************************************************************************************
*/

#ifndef  __APP_CFG_H__
#define  __APP_CFG_H__


/*
*********************************************************************************************************
*                                            TASKS PRIORITIES
*********************************************************************************************************
*/

#define  TASK_START_PRIO                          5
#define  OS_VIEW_TASK_PRIO                        7
#define  OS_VIEW_TASK_ID                          7
#define  OS_TASK_TMR_PRIO                         8


/*
*********************************************************************************************************
*                                              STACK SIZES
*                            Size of the task stacks (# of OS_STK entries)
*********************************************************************************************************
*/

#define  TASK_STK_SIZE                          128
#define  OS_VIEW_TASK_STK_SIZE                  128


/*
*********************************************************************************************************
*                                           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                    0                     /* uC/OS-View timer is 32 bits                          */

#define  OS_VIEW_UART_0                         0                     /* UART0 selected (DBG USART1 uses Parity only!         */
#define  OS_VIEW_TIMER_SEL                      2                     /* Choose an internal timer to use for OSView 0, 1, 2   */

#define  OS_VIEW_COMM_SEL                  OS_VIEW_UART_0             /* Select UART1 for uC/OS-View to use                   */




#endif

⌨️ 快捷键说明

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