includes.h

来自「LPC21XX系列ARM处理器的ucosii移植。操作已经可以正常运行。」· C头文件 代码 · 共 22 行

H
22
字号
/****************************************Copyright (c)**************************************************
**------------------------------------------------------------------------------------------------------
********************************************************************************************************/

/********************************/
/*      uC/OS-II的特殊代码      */
/********************************/
#ifndef __INCLUDES_H__
#define __INCLUDES_H__
   /*next three head files must be included*/
#include    "..\Port\os_cpu.h"
#include    "..\APP\os_cfg.h"
#include    "..\uCosii\ucos_ii.h"

   /*内存管理和堆栈管理函数会用到string库*/
#include    <string.h>

   /* 由于不同情况中断OSIntExit()对堆栈的使用情况不同,必须加上这个宏定义    */
#define OSIntCtxSw()    return
#endif
/**********************end****************************************/

⌨️ 快捷键说明

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