Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Schuetz2012-09-07 15:14:22 +0000
committerThomas Schuetz2012-09-07 15:14:22 +0000
commitbfbe68da512aa6a87cddb70aa77baf4b40e7d43f (patch)
tree92fcb6b0a9bdd84e5971592f5a013919ad809a6a /runtime/org.eclipse.etrice.runtime.c/src/config
parent873d1ba8fc0592de341acec91d254940b8d4f591 (diff)
downloadorg.eclipse.etrice-bfbe68da512aa6a87cddb70aa77baf4b40e7d43f.tar.gz
org.eclipse.etrice-bfbe68da512aa6a87cddb70aa77baf4b40e7d43f.tar.xz
org.eclipse.etrice-bfbe68da512aa6a87cddb70aa77baf4b40e7d43f.zip
[runtime.c / generator.c] reorganized structure of runtime / moved and renamed etGlobalFlags.h to project specific config/etRuntimeConfig.h
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.c/src/config')
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/config/etRuntimeConfig.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/config/etRuntimeConfig.h b/runtime/org.eclipse.etrice.runtime.c/src/config/etRuntimeConfig.h
new file mode 100644
index 000000000..b1759ab47
--- /dev/null
+++ b/runtime/org.eclipse.etrice.runtime.c/src/config/etRuntimeConfig.h
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (c) 2012 protos software gmbh (http://www.protos.de).
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * CONTRIBUTORS:
+ * Thomas Schuetz (initial contribution)
+ *
+ *******************************************************************************/
+
+#ifndef ETGLOBALFLAGS_H_
+#define ETGLOBALFLAGS_H_
+
+/* flags for debugging */
+#define ET_MSC_LOGGER_ACTIVATE /* needs ET_LOGGER_ACTIVATE */
+#define ET_LOGGER_ACTIVATE
+
+
+#define STRUCT_ALIGN 8
+
+/* timing and scheduling */
+#define FREQUENCY 10L
+#define ET_RUNTIME_MAXLOOP 100
+//#define ET_RUNTIME_ENDLESS
+
+/* pool and block size */
+#define MESSAGE_POOL_MAX 50
+#define MESSAGE_BLOCK_SIZE 64
+
+
+#endif /* ETGLOBALFLAGS_H_ */

Back to the top