]> rtime.felk.cvut.cz Git - can-benchmark.git/blob - rtems/gw/system_opt/system_def.h
0ae03aab1ddb8c55b5ad9e7742c8e0fdccb73dc2
[can-benchmark.git] / rtems / gw / system_opt / system_def.h
1 #ifndef _SYSTEM_DEF_H_
2 #define _SYSTEM_DEF_H_
3
4 #include <inttypes.h>
5
6 #define VER_CODE(major,minor,patch) (major*0x10000+minor*0x100+patch)
7 /* Software version */
8 #define SW_VER_ID       "CANGW"
9 #define SW_VER_MAJOR    0
10 #define SW_VER_MINOR    1
11 #define SW_VER_PATCH    0
12 #define SW_VER_CODE     VER_CODE(SW_VER_MAJOR,SW_VER_MINOR,SW_VER_PATCH)
13 /* Hardware version */
14 #define HW_VER_ID       "RYU"
15 #define HW_VER_MAJOR    1
16 #define HW_VER_MINOR    0
17 #define HW_VER_PATCH    2
18 #define HW_VER_CODE     VER_CODE(HW_VER_MAJOR,HW_VER_MINOR,HW_VER_PATCH)
19 /* Version of mechanical  */
20 #define MECH_VER_ID     "???"
21 #define MECH_VER_MAJOR  0
22 #define MECH_VER_MINOR  1
23 #define MECH_VER_PATCH  0
24 #define MECH_VER_CODE   VER_CODE(MECH_VER_MAJOR,MECH_VER_MINOR,MECH_VER_PATCH)
25
26 #endif /* _SYSTEM_DEF_H_ */