]> rtime.felk.cvut.cz Git - arc.git/blobdiff - boards/ti_tms570ls/examples/tms570_hdk_can/config/Det_Cfg.h
Added an example of CAN communication for the TMS570LS31x HDK
[arc.git] / boards / ti_tms570ls / examples / tms570_hdk_can / config / Det_Cfg.h
diff --git a/boards/ti_tms570ls/examples/tms570_hdk_can/config/Det_Cfg.h b/boards/ti_tms570ls/examples/tms570_hdk_can/config/Det_Cfg.h
new file mode 100644 (file)
index 0000000..6daceff
--- /dev/null
@@ -0,0 +1,37 @@
+/*\r
+* Configuration of module: Det (Det_Cfg.h)\r
+*\r
+* Created by:              \r
+* Copyright:               \r
+*\r
+* Configured for (MCU):    TMS570\r
+*\r
+* Module vendor:           ArcCore\r
+* Generator version:       2.0.1\r
+*\r
+* Generated by Arctic Studio (http://arccore.com) \r
+*/\r
+\r
+
+#if !(((DET_SW_MAJOR_VERSION == 1) && (DET_SW_MINOR_VERSION == 0)) )
+#error Det: Configuration file expected BSW module version to be 1.0.*
+#endif
+
+/*\r
+ * Development Error Tracer driver\r
+ *\r
+ * Specification: Autosar v2.0.1, Final\r
+ *\r
+ */\r
+#ifndef DET_CFG_H\r
+#define DET_CFG_H \r
+\r
+#define DET_ENABLE_CALLBACKS STD_OFF // Enable to use callback on errors\r
+#define DET_USE_RAMLOG       STD_ON  // Enable to log DET errors to ramlog\r
+#define DET_WRAP_RAMLOG      STD_ON  // The ramlog wraps around when reaching the end\r
+#define DET_USE_STDERR       STD_OFF // Enable to get DET errors on stderr\r
+#define DET_DEINIT_API       STD_OFF // Enable/Disable the Det_DeInit function\r
+#define DET_RAMLOG_SIZE         (16)  // Number of entries in ramlog\r
+#define DET_NUMBER_OF_CALLBACKS (5)  // Number of callbacks\r
+\r
+#endif /* DET_CFG_H */\r