/****************************************Copyright (c)************************************************** ** Guangzou ZLG-MCU Development Co.,LTD. ** graduate school ** http://www.zlgmcu.com ** **--------------File Info------------------------------------------------------------------------------- ** File Name: includes.h ** Last modified Date: 2004-05-20 ** Last Version: 1.0 ** Descriptions: uC/OS-II Include File ** **------------------------------------------------------------------------------------------------------ ** Created By: Chenmingji ** Created date: 2004-05-20 ** Version: 1.0 ** Descriptions: First version ** **------------------------------------------------------------------------------------------------------ ** Modified by: Chenmingji ** Modified date: 2004-09-17 ** Version: 1.02 ** Descriptions: Change for IRQ.S; Support C++ ** **------------------------------------------------------------------------------------------------------ ** Modified by: ** Modified date: ** Version: ** Descriptions: ** ********************************************************************************************************/ /********************************/ /* uC/OS-II的特殊代码 */ /* uC/OS-II specital code */ /********************************/ #ifndef __INCLUDES_H #define __INCLUDES_H #ifdef __cplusplus extern "C" { #endif #include "..\arm\os_cpu.h" #include "..\ucos_ii\os_cfg.h" #include "..\ucos_ii\ucos_ii.h" #ifdef __cplusplus } #endif #include /* 由于不同情况中断OSIntExit()对堆栈的使用情况不同,必须加上这个宏定义 */ /* for any types of interrupt , OSIntExit() using the stacks is different , so ,must add this define*/ #define OSIntCtxSw() return #endif /**********************end****************************************/