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

📄 app_cfg.h

📁 ucosII 修改移植到 freescale MCF51JM128
💻 H
字号:
/*
*********************************************************************************************************
*                                   Application Configuration
*
*                       DO NOT DELETE THIS FILE, IT IS REQUIRED FOR OS_VER > 2.80
*
*                                   CHANGE SETTINGS ACCORDINGLY
*
*
* File : app_cfg.h
* By   : Eric Shufro
*********************************************************************************************************
*/

#ifndef  APP_CFG_H
#define  APP_CFG_H

/*
*********************************************************************************************************
*                                       INCLUDES
*********************************************************************************************************
*/

#include <lib_def.h>

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

#define  LIB_STR_CFG_FP_EN                DEF_DISABLED                  /* DEF_ENABLED = Present, DEF_DISABLED = Not Present        */
#define  uC_CFG_OPTIMIZE_ASM_EN           DEF_DISABLED
#define  uC_PROBE_OS_PLUGIN               DEF_ENABLED                  
#define  uC_PROBE_COM_MODULE              DEF_ENABLED

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

#define  APP_TASK_START_PRIO                   0                        /* Lower numbers are of higher priority                     */
#define  ACCELEROMETER_TASK_PRIO               4
#define  OS_PROBE_TASK_PRIO                    8
#define  OS_PROBE_TASK_ID                      8
#define  OS_PROBE_RESERVED                     9                        /* See probe_com_cfg.h, PROBE_RS232_TASK_PRIO               */
#define  OS_TASK_TMR_PRIO                     10     

/*
*********************************************************************************************************
*                                       TASK STACK SIZES
*
* Notes :   1) Warming, setting a stack size too small may result in the OS crashing. It the OS crashes
*              within a deep nested function call, the stack size may be to blame. The current maximum 
*              stack usage for each task may be checked by using uC/OS-View or the stack checking
*              features of uC/OS-II.
*********************************************************************************************************
*/

#define  APP_TASK_START_STK_SIZE              80
#define  OS_PROBE_TASK_STK_SIZE              128
#define  ACCELEROMETER_TASK_STK_SIZE          80

/*
*********************************************************************************************************
*                               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                  0                        /* Timer is 16 bits                                         */
#define  OS_PROBE_TIMER_SEL                    0                        /* Share TPM1, channel 0 with uC/OS-II                      */
#define  OS_PROBE_HOOKS_EN                     1                        /* Enable uC/Probe application hooks                        */ 
#define  OS_PROBE_USE_FP                       0                        /* Override uC/Probe floating point support, use integers   */



#endif                                                                  /* End of file                                              */

⌨️ 快捷键说明

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