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

📄 app_cfg.h

📁 DSPic33FJ64GP206单片机的应用
💻 H
字号:
/*
*********************************************************************************************************
*                              uC/OS-II 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
*********************************************************************************************************
*/



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

#define  LIB_STR_CFG_FP_EN                DEF_DISABLED
#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  OS_PROBE_TASK_PRIO                     8                       /* See probe_com_cfg for RS-232 communication task priority */
#define  OS_PROBE_TASK_ID                       8
#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              200
#define  OS_PROBE_TASK_STK_SIZE               200                       /* See probe_com_cfg for RS-232 commication task stack size */

/*
*********************************************************************************************************
*                               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                    3                        /* Use TPM3 or TPM5                                         */
#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 + -