diff options
author | Juergen Haug | 2014-03-05 15:16:44 +0000 |
---|---|---|
committer | Henrik Rentz-Reichert | 2014-03-17 18:04:08 +0000 |
commit | 2018ba36a3f6474ec19dd1e779c885b7b53682ee (patch) | |
tree | 49f14634b53db13de7b435dcc3e46d6afb220dc6 /runtime/org.eclipse.etrice.runtime.c/src | |
parent | 9604b34e64fa65f893585a0860d19dfafb60b091 (diff) | |
download | org.eclipse.etrice-2018ba36a3f6474ec19dd1e779c885b7b53682ee.tar.gz org.eclipse.etrice-2018ba36a3f6474ec19dd1e779c885b7b53682ee.tar.xz org.eclipse.etrice-2018ba36a3f6474ec19dd1e779c885b7b53682ee.zip |
[gen, runtime] added java data-driven communication
Change-Id: I0145420d63d4324d7ad88cf546118f41f482c766
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.c/src')
6 files changed, 36 insertions, 0 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_POSIX_GENERIC_GCC/etDatatypes.h b/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_POSIX_GENERIC_GCC/etDatatypes.h index aabc4ca8b..e6bd14c83 100644 --- a/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_POSIX_GENERIC_GCC/etDatatypes.h +++ b/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_POSIX_GENERIC_GCC/etDatatypes.h @@ -61,6 +61,12 @@ typedef bool boolean; #ifndef FALSE #define FALSE 0 #endif +#ifndef true + #define true 1 +#endif +#ifndef false + #define false 0 +#endif #define ALIGNMENT 8 /* power of 2 and >= sizeof(int) ! */ diff --git a/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etDatatypes.h b/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etDatatypes.h index a9c754848..0f207242a 100644 --- a/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etDatatypes.h +++ b/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etDatatypes.h @@ -58,6 +58,12 @@ typedef char bool; /* TODO: bool, Bool, Boolean, and boolean are already define #ifndef FALSE #define FALSE 0 #endif +#ifndef true + #define true 1 +#endif +#ifndef false + #define false 0 +#endif #define ALIGNMENT 8 /* power of 2 and >= sizeof(int) ! */ diff --git a/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_CoretexM3_Euros_GCCELF_SK_FM3_176PMC_Ethernet/etDatatypes.h b/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_CoretexM3_Euros_GCCELF_SK_FM3_176PMC_Ethernet/etDatatypes.h index 490a103a5..674fe5daf 100644 --- a/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_CoretexM3_Euros_GCCELF_SK_FM3_176PMC_Ethernet/etDatatypes.h +++ b/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_CoretexM3_Euros_GCCELF_SK_FM3_176PMC_Ethernet/etDatatypes.h @@ -47,6 +47,12 @@ typedef bool boolean; #ifndef FALSE #define FALSE 0 #endif +#ifndef true + #define true 1 +#endif +#ifndef false + #define false 0 +#endif /* * typedefs for eTrice Runtime and Testing diff --git a/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_F5438_CCS5_EXP430F5438/etDatatypes.h b/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_F5438_CCS5_EXP430F5438/etDatatypes.h index aa948e6b4..2f23b2ef5 100644 --- a/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_F5438_CCS5_EXP430F5438/etDatatypes.h +++ b/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_F5438_CCS5_EXP430F5438/etDatatypes.h @@ -47,6 +47,12 @@ typedef bool boolean; #ifndef FALSE #define FALSE 0 #endif +#ifndef true + #define true 1 +#endif +#ifndef false + #define false 0 +#endif /* * typedefs for eTrice Runtime and Testing diff --git a/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_F5438_CCS5_HWElevator/etDatatypes.h b/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_F5438_CCS5_HWElevator/etDatatypes.h index aa948e6b4..2f23b2ef5 100644 --- a/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_F5438_CCS5_HWElevator/etDatatypes.h +++ b/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_F5438_CCS5_HWElevator/etDatatypes.h @@ -47,6 +47,12 @@ typedef bool boolean; #ifndef FALSE #define FALSE 0 #endif +#ifndef true + #define true 1 +#endif +#ifndef false + #define false 0 +#endif /* * typedefs for eTrice Runtime and Testing diff --git a/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_G2553_CCS5_LaunchPad/etDatatypes.h b/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_G2553_CCS5_LaunchPad/etDatatypes.h index aa948e6b4..2f23b2ef5 100644 --- a/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_G2553_CCS5_LaunchPad/etDatatypes.h +++ b/runtime/org.eclipse.etrice.runtime.c/src/platforms/ST_MSP430_G2553_CCS5_LaunchPad/etDatatypes.h @@ -47,6 +47,12 @@ typedef bool boolean; #ifndef FALSE #define FALSE 0 #endif +#ifndef true + #define true 1 +#endif +#ifndef false + #define false 0 +#endif /* * typedefs for eTrice Runtime and Testing |