include/AVR/config.h
changeset 675 e5c5101c4f0b
parent 375 03fb0bfccc1f
child 694 8dd1e58b3815
--- 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 <ioavr.h>
 #include <intrinsics.h>
 #include "iar.h"
 #else	// GCC
 #include <inttypes.h>
-#include <avr\io.h>
-#include <avr\interrupt.h>
+#include <avr/io.h>
+#include <avr/interrupt.h>
 #include <avr/pgmspace.h>
-#include <avr\sleep.h>
-#include <avr\wdt.h>
+#include <avr/sleep.h>
+#include <avr/wdt.h>
 #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