diff -r c1b9455929e6 -r bb9fe2e2b2e1 include/AVR/config.h --- a/include/AVR/config.h Thu Dec 22 11:43:08 2011 +0100 +++ b/include/AVR/config.h Thu Dec 22 13:46:00 2011 +0100 @@ -24,17 +24,18 @@ #ifndef _CONFIG_H_ #define _CONFIG_H_ + #ifdef __IAR_SYSTEMS_ICC__ #include #include #include "iar.h" #else // GCC #include -#include -#include +#include +#include #include -#include -#include +#include +#include #endif // GCC //#define WD_SLEEP @@ -48,6 +49,7 @@ // Needed defines by Canfestival lib #define MAX_CAN_BUS_ID 1 #define SDO_MAX_LENGTH_TRANSFERT 32 +#define SDO_BLOCK_SIZE 16 #define SDO_MAX_SIMULTANEOUS_TRANSFERTS 1 #define NMT_MAX_NODE_ID 128 #define SDO_TIMEOUT_MS 3000U