Eric Ebert
/
CoOS
CoOS Demonstrator adapted to mbed Hardware.
coocox.h@0:57690853989a, 2010-12-03 (annotated)
- Committer:
- ericebert
- Date:
- Fri Dec 03 19:45:30 2010 +0000
- Revision:
- 0:57690853989a
Some basic LED-Flashing works in the CoOS-RTOS using Tasks
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ericebert | 0:57690853989a | 1 | /** |
ericebert | 0:57690853989a | 2 | ******************************************************************************* |
ericebert | 0:57690853989a | 3 | * @file coocox.h |
ericebert | 0:57690853989a | 4 | * @version V1.1.3 |
ericebert | 0:57690853989a | 5 | * @date 2010.04.26 |
ericebert | 0:57690853989a | 6 | * @brief Gather for all header file of CooCox CoOS. |
ericebert | 0:57690853989a | 7 | ******************************************************************************* |
ericebert | 0:57690853989a | 8 | * @copy |
ericebert | 0:57690853989a | 9 | * |
ericebert | 0:57690853989a | 10 | * INTERNAL FILE,DON'T PUBLIC. |
ericebert | 0:57690853989a | 11 | * |
ericebert | 0:57690853989a | 12 | * <h2><center>© COPYRIGHT 2009 CooCox </center></h2> |
ericebert | 0:57690853989a | 13 | ******************************************************************************* |
ericebert | 0:57690853989a | 14 | */ |
ericebert | 0:57690853989a | 15 | |
ericebert | 0:57690853989a | 16 | |
ericebert | 0:57690853989a | 17 | #ifndef _COOCOX_H |
ericebert | 0:57690853989a | 18 | #define _COOCOX_H |
ericebert | 0:57690853989a | 19 | |
ericebert | 0:57690853989a | 20 | #define OS_VERSION (U16)0x0113 /*!< OS version.(format: Vx.xx), |
ericebert | 0:57690853989a | 21 | e.g. value 0x0113 is version V1.13*/ |
ericebert | 0:57690853989a | 22 | /*---------------------------- Include ---------------------------------------*/ |
ericebert | 0:57690853989a | 23 | #include "CoOS.h" |
ericebert | 0:57690853989a | 24 | #include "OsArch.h" |
ericebert | 0:57690853989a | 25 | #include "OsCore.h" |
ericebert | 0:57690853989a | 26 | #include "OsTask.h" |
ericebert | 0:57690853989a | 27 | #include "OsServiceReq.h" |
ericebert | 0:57690853989a | 28 | #include "OsError.h" |
ericebert | 0:57690853989a | 29 | #include "OsTime.h" |
ericebert | 0:57690853989a | 30 | |
ericebert | 0:57690853989a | 31 | |
ericebert | 0:57690853989a | 32 | #if CFG_TMR_EN > 0 |
ericebert | 0:57690853989a | 33 | #include "OsTimer.h" |
ericebert | 0:57690853989a | 34 | #endif |
ericebert | 0:57690853989a | 35 | |
ericebert | 0:57690853989a | 36 | #if CFG_KHEAP_EN > 0 |
ericebert | 0:57690853989a | 37 | #include "OsKernelHeap.h" |
ericebert | 0:57690853989a | 38 | #endif |
ericebert | 0:57690853989a | 39 | |
ericebert | 0:57690853989a | 40 | #if CFG_MM_EN >0 |
ericebert | 0:57690853989a | 41 | #include "OsMM.h" |
ericebert | 0:57690853989a | 42 | #endif |
ericebert | 0:57690853989a | 43 | |
ericebert | 0:57690853989a | 44 | #if CFG_EVENT_EN > 0 |
ericebert | 0:57690853989a | 45 | #include "OsEvent.h" |
ericebert | 0:57690853989a | 46 | #endif |
ericebert | 0:57690853989a | 47 | |
ericebert | 0:57690853989a | 48 | #if CFG_MUTEX_EN > 0 |
ericebert | 0:57690853989a | 49 | #include "OsMutex.h" |
ericebert | 0:57690853989a | 50 | #endif |
ericebert | 0:57690853989a | 51 | |
ericebert | 0:57690853989a | 52 | #if CFG_QUEUE_EN > 0 |
ericebert | 0:57690853989a | 53 | #include "OsQueue.h" |
ericebert | 0:57690853989a | 54 | #endif |
ericebert | 0:57690853989a | 55 | |
ericebert | 0:57690853989a | 56 | #if CFG_FLAG_EN > 0 |
ericebert | 0:57690853989a | 57 | #include "OsFlag.h" |
ericebert | 0:57690853989a | 58 | #endif |
ericebert | 0:57690853989a | 59 | |
ericebert | 0:57690853989a | 60 | #endif /* _COOCOX_H */ |