?? os_cfg.h
字號:
/*
*********************************************************************************************************
* uC/OS
* The Real-Time Kernel
*
* CONFIGURATION FILE
*
* Rene Voorberg
* 80c52 (Large Model)
* Using the COMPASS51 compiler from PLC
*
* File : OS_CFG.H
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* uC/OS CONFIGURATION
*********************************************************************************************************
*/
#define OS_MAX_TASKS 63 /* Maximum number of tasks in your application */
#define OS_MAX_EVENTS 64 /* Maximum number of event control blocks in your application */
#define OS_MAX_QS 16 /* Maximum number of queue control blocks in your application */
#define OS_IDLE_TASK_STK_SIZE 50 /* Idle task stack size (WORDs) */
#define OS_IDLE_TASK_STK_TOP 49 /* Index into idle task top of stack */
#define OS_TASK_CHANGE_PRIO_EN 0 /* Include code for OSTaskChangePrio() */
#define OS_TASK_DEL_EN 0//1 /* Include code for OSTaskDel() */
#define OS_SEM_EN 1 /* Include code for SEMAPHORES */
#define OS_MBOX_EN 0 /* Include code for MAILBOXES */
#define OS_Q_EN 0//1 /* Include code for QUEUES */
#define OS_TASK_SUSPEND_EN 1 /* Include code for OSTaskSuspend() and OSTaskResume() */
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -