RKH
Loading...
Searching...
No Matches
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 site: http://vortexmakes.com/que-es/
28 * RKH GitHub: https://github.com/vortexmakes/RKH
29 * RKH Sourceforge: https://sourceforge.net/projects/rkh-reactivesys/
30 * e-mail: lf@vortexmakes.com
31 * ---------------------------------------------------------------------------
32 */
33
40/* -------------------------- Development history -------------------------- */
41/*
42 * 2015.10.24 LeFr v2.4.05 Initial version
43 * 2019.02.1 Daba v2.4.05 STM32 Port
44 */
45
46/* -------------------------------- Authors -------------------------------- */
47/*
48 * LeFr Leandro Francucci lf@vortexmakes.com
49 * DaBa Dario BaliƱa dariosb@gmail.com
50 */
51
52/* --------------------------------- Notes --------------------------------- */
53/* --------------------------------- Module -------------------------------- */
54#ifndef __RKHPLAT_H__
55#define __RKHPLAT_H__
56
57/* ----------------------------- Include files ----------------------------- */
58#if defined(__NO_OFFICIAL_PORT__)
59 #include "rkhport.h"
60#elif defined(__W32STVC__)
61 #include "..\..\portable\80x86\win32_st\vc\rkhport.h"
62#elif defined(__W32MTVC__)
63 #include "..\..\portable\80x86\win32_mt\vc\rkhport.h"
64#elif defined(__LNXGNU__)
65 #include "../../portable/80x86/linux_st/gnu/rkhport.h"
66#elif defined(__S08CW63__)
67 #include "..\..\portable\s08\rkhs\cw6_3\rkhport.h"
68#elif defined(__CFV1CW63__)
69 #include "..\..\portable\cfv1\rkhs\cw6_3\rkhport.h"
70#elif defined(__ARM_CM0CW10__)
71 #include "../../portable/arm-cortex/rkhs/arm_cm0/cw_v10/rkhport.h"
72#elif defined(__ARM_CM4FCW10__)
73 #include "../../portable/arm-cortex/rkhs/arm_cm4f/cw_v10/rkhport.h"
74#elif defined(__KSDK_KDS__)
75 #include "..\..\portable\arm-cortex\rkhs\ksdk\kds\rkhport.h"
76#elif defined(__KSDK_OS_KDS__)
77 #include "..\..\portable\arm-cortex\ksdk_os\ucosiii\kds\rkhport.h"
78#elif defined(__UCOS_V3_03_01__)
79 #include "..\..\portable\ucos\v3.03.01\rkhport.h"
80#elif defined(__ARM_CM3XPRESSO___)
81 #include "../../portable/arm-cortex/rkhs/arm_cm3/codered/rkhport.h"
82#elif defined(__TEST__)
83 #include "../../portable/test/rkhport.h"
84#elif defined(__CIAANXP__)
85 #include "../../portable/arm-cortex/rkhs/arm_cm4f/ciaa_nxp/rkhport.h"
86#elif defined(__STM32__)
87 #include "../../portable/arm-cortex/rkhs/arm_cm4f/stm32/rkhport.h"
88#elif defined(__PLAT_DEF_BY_BUILD__)
89 #include "rkhport.h"
90#else
91 #error "rkhplat.h: Platform definition is not found"
92#endif
93
94/* ---------------------- External C language linkage ---------------------- */
95#ifdef __cplusplus
96extern "C" {
97#endif
98
99/* --------------------------------- Macros -------------------------------- */
106#ifndef RKHROM
107 #error "rkhplat.h: Missing definition of platform to be used. \
108 See Porting chapter in readme file for more information"
109#endif
110
111/* -------------------------------- Constants ------------------------------ */
112/* ------------------------------- Data types ------------------------------ */
113/* -------------------------- External variables --------------------------- */
114/* -------------------------- Function prototypes -------------------------- */
115/* -------------------- External C language linkage end -------------------- */
116#ifdef __cplusplus
117}
118#endif
119
120/* ------------------------------ Module end ------------------------------- */
121#endif
122
123/* ------------------------------ End of file ------------------------------ */