]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - rtems/gw/cangw/helpers.h
Initial commit of simple (just forwarding from CAN0 to CAN1 and back) CAN gateway...
[can-benchmark.git] / rtems / gw / cangw / helpers.h
diff --git a/rtems/gw/cangw/helpers.h b/rtems/gw/cangw/helpers.h
new file mode 100644 (file)
index 0000000..0c3a0d0
--- /dev/null
@@ -0,0 +1,20 @@
+#include <system_def.h>\r
+#include "system.h"\r
+#include "app_def.h"\r
+#include <unistd.h>\r
+#include <fcntl.h>\r
+#include <stdio.h>\r
+#include <errno.h>\r
+#include <stdlib.h>\r
+#include <rtems/error.h>\r
+#include <rtems/monitor.h>\r
+#include <rtems/shell.h>\r
+\r
+#include <bsp/mscan.h>\r
+#include <bsp/mscan-base.h>\r
+\r
+\r
+int start_can(int argc, char** argv);\r
+int end_can(int argc, char** argv);\r
+int print_regs(int argc, char** argv);\r
+int print_can_totals(int argc, char** argv);
\ No newline at end of file