?? app_cfg.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 */
/*
*********************************************************************************************************
* APPLICATION CONSTANTS
*********************************************************************************************************
*/
#define TRUE 1
#define FALSE 0
/*
*********************************************************************************************************
* TASKS PRIORITIES
*********************************************************************************************************
*/
#define APP_TASK_START_PRIO 5
#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
/*
*********************************************************************************************************
* STACK SIZES
* Size of the task stacks (# of OS_STK entries)
*********************************************************************************************************
*/
#define APP_TASK_START_STK_SIZE 512
#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 256
/*
*********************************************************************************************************
* 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 + -