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

Jan-Hinrich Hauer janhauer at users.sourceforge.net
Wed Nov 29 03:29:20 PST 2006


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

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	msp430hardware.h 
Log Message:
Copied MCU-dependent ADC define from tinyos-1.x

Index: msp430hardware.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/msp430/msp430hardware.h,v
retrieving revision 1.1.2.14
retrieving revision 1.1.2.15
diff -C2 -d -r1.1.2.14 -r1.1.2.15
*** msp430hardware.h	19 Jun 2006 11:12:23 -0000	1.1.2.14
--- msp430hardware.h	29 Nov 2006 11:29:17 -0000	1.1.2.15
***************
*** 124,127 ****
--- 124,138 ----
  #endif
  
+ // define platform constants that can be changed for different compilers
+ // these are all msp430-gcc specific (add as necessary)
+ 
+ #ifdef __msp430_headers_adc10_h
+ #define __msp430_have_adc10
+ #endif
+ 
+ #ifdef __msp430_headers_adc12_h
+ #define __msp430_have_adc12
+ #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