]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/shimmer/chips/msp430/msp430hardware.h
Updates for GCC 4.5.3
[tinyos-2.x.git] / tos / platforms / shimmer / chips / msp430 / msp430hardware.h
index 7911e9b3e7199e9ede2a76b4d049e255881005a5..dd0ab7f447079981ba2a127e2bbb4bca89a3a25b 100644 (file)
 #ifndef _H_msp430hardware_h
 #define _H_msp430hardware_h
 
+#if defined(__MSPGCC__)
+/* mspgcc */
+#include <msp430.h>
+#include <legacymsp430.h>
+#else /* __MSPGCC__ */
+/* old mspgcc3, forked mspgcc4 */
 #include <io.h>
 #include <signal.h>
+#endif /* __MSPGCC__ */
 #include "msp430regtypes.h"
 #include "Msp430DcoSpec.h"