?? app_cfg.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
*
* Luminary Micro LM3S6965
* with the
* Luminary Micro LM3S6965 ENET Development Kit
*
* 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 /* DEF_ENABLED = Present, DEF_DISABLED = Not Present */
//#define uC_PROBE_COM_MODULE DEF_ENABLED
/*
*********************************************************************************************************
* TASK PRIORITIES
*********************************************************************************************************
*/
#include <hw_types.h>
#define LED_BLANKY_PRIO 5
#define UART_INTURN_PRIO 4
#define CC2480_SPI_PRIO 6
//#define APP_TASK_START_PRIO 3
//#define APP_TASK_USER_IF_PRIO 4
//#define APP_TASK_KBD_PRIO 5
//#define APP_TASK_PROBE_STR_PRIO 6
//#define OS_PROBE_TASK_PRIO 8
//#define OS_PROBE_TASK_ID 8
#define OS_TASK_TMR_PRIO (OS_LOWEST_PRIO - 2)
#define MAX_SIZE 40
#define MAXLINE 1024
extern char RxBuf[1 + MAX_SIZE];
extern char TxBuf[1 + MAX_SIZE];
extern char *RxIn,*RxOut,*TxIn,*TxOut;
extern tBoolean RxEndFlag,TxStartFlag;
/*
*********************************************************************************************************
* TASK STACK SIZES
*********************************************************************************************************
*/
#define LED_BLANKY_STK_SIZE 128
#define UART_INTURN_STK_SIZE 512
#define CC2480_SPI_STK_SIZE 128
//#define APP_TASK_USER_IF_STK_SIZE 128
//#define APP_TASK_KBD_STK_SIZE 128
//#define APP_TASK_PROBE_STR_STK_SIZE 128
//#define OS_PROBE_TASK_STK_SIZE 128
/*
*********************************************************************************************************
* uC/Probe plug-in for uC/OS-II CONFIGURATION
*********************************************************************************************************
*/
//#define OS_PROBE_TASK 1 /* Task will be created for uC/Probe OS Plug-In */
//#define OS_PROBE_TMR_32_BITS 1 /* OS-View timer is a 32-bit timer */
//#define OS_PROBE_TIMER_SEL 2
//#define OS_PROBE_HOOKS_EN 1
#define NET_OS_CFG_TMR_TASK_STK_SIZE 256
#define NET_OS_CFG_IF_RX_TASK_STK_SIZE 1024
#define NET_OS_CFG_IF_RX_TASK_PRIO 8
#define NET_OS_CFG_TMR_TASK_PRIO 9
#define ETH_SERVER_STK_SIZE 2048
#define ETH_SERVER_PRIO 3
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -