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

📄 app_cfg.h

📁 AT91SAM7X256
💻 H
字号:
/*
*********************************************************************************************************
*                                    APPLICATION SPECIFIC RTOS SETUP
*
*                             (c) Copyright 2005, Micrium, Inc., Weston, FL
*                                          All Rights Reserved
*
*                                          CONFIGURATION FILE
*
* File : app_cfg.h
* By   : Eric Shufro
*********************************************************************************************************
*/

#ifndef __APP_CFG_H__
#define __APP_CFG_H__


/*
*********************************************************************************************************
*                                      APPLICATION CONFIGURATION
*
* Note(s) : (1) Configure the product's/application's desired product configuration values.
*********************************************************************************************************
*/


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

#define  uC_TCPIP_MODULE                 DEF_ENABLED                    /* DEF_ENABLED = Present, DEF_DISABLED = Not Present        */
#define  uC_HTTPs_MODULE                     DEF_ENABLED              /* DEF_ENABLED = Present, DEF_DISABLED = Not Present    */
#define  uC_TFTP_MODULE                      DEF_ENABLED              /* DEF_ENABLED = Present, DEF_DISABLED = Not Present    */


/*
*********************************************************************************************************
*                                       APPLICATION CONSTANTS
*********************************************************************************************************
*/

#define  TRUE                                 1
#define  FALSE                                0


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

#define  APP_TASK_START_PRIO                   5
#define  FS_TASK_PRIO                          7
#define  USB_CDC_TASK_PRIO                     6
#define  ADC_TASK_PRIO                         12

#define  OS_TASK_TMR_PRIO                      2

#define  OS_VIEW_TASK_PRIO                     7
#define  OS_VIEW_TASK_ID                       7

#define  NET_OS_CFG_IF_RX_TASK_PRIO            9
#define  NET_OS_CFG_TMR_TASK_PRIO             10
#define  APP_TASK_PHY_PRIO                     11

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

#define  APP_TASK_START_STK_SIZE             128
#define  FS_TASK_SIZE                        512
#define  USB_CDC_TASK_SIZE                   512
#define  ADC_TASK_SIZE                       128

#define  OS_VIEW_TASK_STK_SIZE               128

#define  NET_OS_CFG_TMR_TASK_STK_SIZE        300
#define  NET_OS_CFG_IF_RX_TASK_STK_SIZE      128
#define  APP_TASK_PHY_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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -