[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/msp430 msp430hardware.h, 1.5, 1.6

Vlado Handziski vlahan at users.sourceforge.net
Thu Mar 13 08:18:51 PDT 2008


Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/msp430
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv11508

Modified Files:
	msp430hardware.h 
Log Message:
Workaround for the missing __msp430_have_usart0_with_i2c switch in newer mspgcc include files. 

When we update the distributed msp430 toolchain, all __msp430_* defines should be replaced with the new __MSP430_* equivalents

Index: msp430hardware.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/msp430/msp430hardware.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** msp430hardware.h	8 Oct 2007 20:10:09 -0000	1.5
--- msp430hardware.h	13 Mar 2008 15:18:49 -0000	1.6
***************
*** 135,138 ****
--- 135,143 ----
  #endif
  
+ // backwards compatibility to older versions of the header files
+ #ifdef __MSP430_HAS_I2C__
+ #define __msp430_have_usart0_with_i2c
+ #endif
+ 
  // I2CBusy flag is not defined by current MSP430-GCC
  #ifdef __msp430_have_usart0_with_i2c



More information about the Tinyos-2-commits mailing list