X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/ed81f09538552b857c45ec9086a99b010ceec38a..0c60e90bdf1a75402f9cc86eb300c5619dd895bc:/rtems/gw/system_opt/system_def.h diff --git a/rtems/gw/system_opt/system_def.h b/rtems/gw/system_opt/system_def.h new file mode 100644 index 0000000..0ae03aa --- /dev/null +++ b/rtems/gw/system_opt/system_def.h @@ -0,0 +1,26 @@ +#ifndef _SYSTEM_DEF_H_ +#define _SYSTEM_DEF_H_ + +#include + +#define VER_CODE(major,minor,patch) (major*0x10000+minor*0x100+patch) +/* Software version */ +#define SW_VER_ID "CANGW" +#define SW_VER_MAJOR 0 +#define SW_VER_MINOR 1 +#define SW_VER_PATCH 0 +#define SW_VER_CODE VER_CODE(SW_VER_MAJOR,SW_VER_MINOR,SW_VER_PATCH) +/* Hardware version */ +#define HW_VER_ID "RYU" +#define HW_VER_MAJOR 1 +#define HW_VER_MINOR 0 +#define HW_VER_PATCH 2 +#define HW_VER_CODE VER_CODE(HW_VER_MAJOR,HW_VER_MINOR,HW_VER_PATCH) +/* Version of mechanical */ +#define MECH_VER_ID "???" +#define MECH_VER_MAJOR 0 +#define MECH_VER_MINOR 1 +#define MECH_VER_PATCH 0 +#define MECH_VER_CODE VER_CODE(MECH_VER_MAJOR,MECH_VER_MINOR,MECH_VER_PATCH) + +#endif /* _SYSTEM_DEF_H_ */