equal
deleted
inserted
replaced
23 #define _CONFIG_H_ |
23 #define _CONFIG_H_ |
24 |
24 |
25 #define CO_ENABLE_LSS |
25 #define CO_ENABLE_LSS |
26 |
26 |
27 #define MAX_CAN_BUS_ID 1 |
27 #define MAX_CAN_BUS_ID 1 |
28 #define SDO_DYNAMIC_BUFFER_ALLOCATION //New define, if SDO_MAX_LENGTH_TRANSFERT is exceeded allocate data buffer dynamically |
28 #define SDO_DYNAMIC_BUFFER_ALLOCATION //New define, if SDO_MAX_LENGTH_TRANSFE is exceeded allocate data buffer dynamically |
29 #define SDO_DYNAMIC_BUFFER_ALLOCATION_SIZE (1024 * 128) |
29 #define SDO_DYNAMIC_BUFFER_ALLOCATION_SIZE (1024 * 128) |
30 #define SDO_MAX_LENGTH_TRANSFERT 32 |
30 #define SDO_MAX_LENGTH_TRANSFER 32 |
31 #define SDO_MAX_SIMULTANEOUS_TRANSFERTS 32 |
31 #define SDO_MAX_SIMULTANEOUS_TRANSFERS 32 |
|
32 #define SDO_BLOCK_SIZE 16 |
32 #define NMT_MAX_NODE_ID 128 |
33 #define NMT_MAX_NODE_ID 128 |
33 #define SDO_TIMEOUT_MS 3000 |
34 #define SDO_TIMEOUT_MS 3000 |
34 #define MAX_NB_TIMER 32 |
35 #define MAX_NB_TIMER 32 |
35 /* CANOPEN_BIG_ENDIAN is not defined */ |
36 /* CANOPEN_BIG_ENDIAN is not defined */ |
36 /* US_TO_TIMEVAL_FACTOR is not defined */ |
37 /* US_TO_TIMEVAL_FACTOR is not defined */ |
39 /* RTCAN_SOCKET is not defined */ |
40 /* RTCAN_SOCKET is not defined */ |
40 #define EMCY_MAX_ERRORS 8 |
41 #define EMCY_MAX_ERRORS 8 |
41 #define LSS_TIMEOUT_MS 1000 |
42 #define LSS_TIMEOUT_MS 1000 |
42 #define LSS_FS_TIMEOUT_MS 100 |
43 #define LSS_FS_TIMEOUT_MS 100 |
43 |
44 |
44 #define REPEAT_SDO_MAX_SIMULTANEOUS_TRANSFERTS_TIMES(repeat)\ |
45 #define REPEAT_SDO_MAX_SIMULTANEOUS_TRANSFERS_TIMES(repeat)\ |
45 repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat |
46 repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat |
46 #define REPEAT_NMT_MAX_NODE_ID_TIMES(repeat)\ |
47 #define REPEAT_NMT_MAX_NODE_ID_TIMES(repeat)\ |
47 repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat |
48 repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat |
48 #define REPEAT_EMCY_MAX_ERRORS_TIMES(repeat)\ |
49 #define REPEAT_EMCY_MAX_ERRORS_TIMES(repeat)\ |
49 repeat repeat repeat repeat repeat repeat repeat repeat |
50 repeat repeat repeat repeat repeat repeat repeat repeat |