RKH
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
rkhplat.h
Go to the documentation of this file.
1 /*
2  * --------------------------------------------------------------------------
3  *
4  * Framework RKH
5  * -------------
6  *
7  * State-machine framework for reactive embedded systems
8  *
9  * Copyright (C) 2010 Leandro Francucci.
10  * All rights reserved. Protected by international copyright laws.
11  *
12  *
13  * RKH is free software: you can redistribute it and/or modify it under the
14  * terms of the GNU General Public License as published by the Free Software
15  * Foundation, either version 3 of the License, or (at your option) any
16  * later version.
17  *
18  * RKH is distributed in the hope that it will be useful, but WITHOUT ANY
19  * WARRANTY; without even the implied warranty of MERCHANTABILITY or
20  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
21  * more details.
22  *
23  * You should have received a copy of the GNU General Public License along
24  * with RKH, see copying.txt file.
25  *
26  * Contact information:
27  * RKH web site: http://sourceforge.net/projects/rkh-reactivesys/
28  * e-mail: francuccilea@gmail.com
29  * ---------------------------------------------------------------------------
30  */
31 
38 /* -------------------------- Development history -------------------------- */
39 /*
40  * 2015.10.24 LeFr v2.4.05 Initial version
41  */
42 
43 /* -------------------------------- Authors -------------------------------- */
44 /*
45  * LeFr Leandro Francucci francuccilea@gmail.com
46  */
47 
48 /* --------------------------------- Notes --------------------------------- */
49 /* --------------------------------- Module -------------------------------- */
50 #ifndef __RKHPLAT_H__
51 #define __RKHPLAT_H__
52 
53 /* ----------------------------- Include files ----------------------------- */
54 #ifdef __CFV1CW63__
55  #include "..\portable\cfv1\rkhs\cw6_3\rkhport.h"
56 #endif
57 
58 #ifdef __W32STVC08__
59  #include "..\portable\80x86\win32_st\vc08\rkhport.h"
60 #endif
61 
62 #ifdef __S08CW63__
63  #include "..\portable\s08\rkhs\cw6_3\rkhport.h"
64 #endif
65 
66 #ifdef __LNXGNU__
67  #include "../portable/80x86/linux_st/gnu/rkhport.h"
68 #endif
69 
70 #ifdef __ARM_CM3CRED__
71  #include "../portable/arm-cortex/rkhs/arm_cm3/codered/rkhport.h"
72 #endif
73 
74 #ifdef __ARM_CM4FCW10__
75  #include "../portable/arm-cortex/rkhs/arm_cm4f/cw_v10/rkhport.h"
76 #endif
77 
78 #ifdef __ARM_CM4FIAR7_2__
79  #include "../portable/arm-cortex/rkhs/arm_cm4f/iar_v7_2/rkhport.h"
80 #endif
81 
82 #ifdef __ARM_CM0CW10__
83  #include "../portable/arm-cortex/rkhs/arm_cm0/cw_v10/rkhport.h"
84 #endif
85 
86 #ifdef __W32MTVC08__
87  #include "..\portable\80x86\win32_mt\vc08\rkhport.h"
88 #endif
89 
90 #ifdef __UCOS_V3_03_01__
91  #include "..\portable\ucos\v3.03.01\rkhport.h"
92 #endif
93 
94 #ifdef __KSDK_KDS__
95  #include "..\portable\arm-cortex\rkhs\ksdk\kds\rkhport.h"
96 #endif
97 
98 #ifdef __KSDK_OS_KDS__
99  #include "..\portable\arm-cortex\ksdk_os\ucosiii\kds\rkhport.h"
100 #endif
101 
102 #ifdef __TEST__
103  #include "..\portable\test\rkhport.h"
104 #endif
105 
106 /* ---------------------- External C language linkage ---------------------- */
107 #ifdef __cplusplus
108 extern "C" {
109 #endif
110 
111 /* --------------------------------- Macros -------------------------------- */
118 #ifndef RKHROM
119  #error "rkhplat.h: Missing definition of platform to be used. \
120  See Porting chapter in readme file for more information"
121 #endif
122 
123 /* -------------------------------- Constants ------------------------------ */
124 /* ------------------------------- Data types ------------------------------ */
125 /* -------------------------- External variables --------------------------- */
126 /* -------------------------- Function prototypes -------------------------- */
127 /* -------------------- External C language linkage end -------------------- */
128 #ifdef __cplusplus
129 }
130 #endif
131 
132 /* ------------------------------ Module end ------------------------------- */
133 #endif
134 
135 /* ------------------------------ End of file ------------------------------ */