os_cfg.h

来自「一个uC/OS-II的simplest edition」· C头文件 代码 · 共 28 行

H
28
字号
/*
*********************************************************************************************************
*                                              Kinix Kernel
*                                        A Teaching-Oriented Kernel
*
*                     (c) Copyright 2006, Kasicass, School of Software Engineering, CQU
*                                           All Rights Reserved
*
*                     Many codes & ideas come from uC/OS-II, for deeper study, referring to
*                     read its codes.
*
* File    : os_cfg.h (configure file)
* By      : Kasicass
* Version : V1.00
*********************************************************************************************************
*/

/* 下面的值会影响编译出来的程序的大小 */

#define OS_MAX_TASKS		32	/* Max. number of tasks in your application ...                 */
					/* ... MUST be >= 2                                             */

#define OS_LOWEST_PRIO		63	/* Defines the lowest priority that can be assigned ...         */
					/* ... MUST NEVER be higher than 63!                            */

#define OS_TASK_IDLE_STK_SIZE	512	/* Idle task stack size (# of OS_STK wide entries)              */

⌨️ 快捷键说明

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