CVS: msp430-libc4/include/msp430 adc10.h, 1.1.1.1, 1.2 adc12.h, 1.1.1.1, 1.2 common.h, 1.1.1.1, 1.2 iostructures.h, 1.1.1.1, 1.2 lcd.h, 1.1.1.1, 1.2 lcd_a.h, 1.1.1.1, 1.2 scanif.h, 1.1.1.1, 1.2 timera.h, 1.1.1.1, 1.2 timerb.h, 1.1.1.1, 1.2

"Sergey A. Borshch" <[email protected]> Thu, 9 Oct 2008 15:00:16 +0000
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.cvs
Message-ID <[email protected]>
Update of /cvsroot/mspgcc/msp430-libc4/include/msp430
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv7041/msp430-libc4/include/msp430

Modified Files:
	adc10.h adc12.h common.h iostructures.h lcd.h lcd_a.h scanif.h 
	timera.h timerb.h 
Log Message:
* New cpu added:
  - F2112, F2122, F2132
  - G4250, G4260, G4270
  - E4232, E4242, E4252, E4272
  - F4351, F4361, F4371
  - F4783, F4784, F4793, F4794
  - F5418, F5419, F5435...F5438 (empty header file yet)
* headers added: 21x2, 47xx, 54xx(empty), tlv.h
* headers fixed:
  - checking for _GNU_ASSEMBLER_ macro changed to GCC predefined macro __ASSEMBLER__. 
    Unneeded -D_GNU_ASSEMBLER_ removed from examples and libraries makefiles.
  - __msp430_have_sd16a in headers changed to common-style __MSP430_HAS_SD16_A__
  - E42x: fixed number of SD16 channels
  - F42x0: fixed number of SD16A channels
  - G42x0: fixed number of SD16A channels


Index: adc10.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc4/include/msp430/adc10.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -w -d -r1.1.1.1 -r1.2
--- adc10.h	29 Aug 2005 16:48:45 -0000	1.1.1.1
+++ adc10.h	9 Oct 2008 15:00:14 -0000	1.2
@@ -30,7 +30,7 @@
 #define ADC10SA_            0x01BC      /* ADC10 Data Transfer Start Address */
 sfrw(ADC10SA, ADC10SA_);
 
-#ifndef _GNU_ASSEMBLER_
+#ifndef __ASSEMBLER__
 /* Structured declaration */
 typedef struct {
   volatile unsigned

Index: adc12.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc4/include/msp430/adc12.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -w -d -r1.1.1.1 -r1.2
--- adc12.h	29 Aug 2005 16:48:45 -0000	1.1.1.1
+++ adc12.h	9 Oct 2008 15:00:14 -0000	1.2
@@ -25,7 +25,7 @@
 #define ADC12IV_            0x01A8  /* ADC12 Interrupt Vector Word */
 sfrw(ADC12IV,ADC12IV_);
 
-#ifndef _GNU_ASSEMBLER_
+#ifndef __ASSEMBLER__
 /* Structured declaration */
 typedef struct {
   volatile unsigned
@@ -91,7 +91,7 @@
 #endif
 
 #define ADC12MEM_           0x0140  /* ADC12 Conversion Memory */
-#ifdef _GNU_ASSEMBLER_
+#ifdef __ASSEMBLER__
 #define ADC12MEM            ADC12MEM_ /* ADC12 Conversion Memory (for assembler) */
 #else
 #define ADC12MEM            ((int*) ADC12MEM_) /* ADC12 Conversion Memory (for C) */
@@ -130,7 +130,7 @@
 sfrw(ADC12MEM15,ADC12MEM15_);
 
 #define ADC12MCTL_          0x0080  /* ADC12 Memory Control */
-#ifdef _GNU_ASSEMBLER_
+#ifdef __ASSEMBLER__
 #define ADC12MCTL           ADC12MCTL_ /* ADC12 Memory Control (for assembler) */
 #else
 #define ADC12MCTL           ((char*) ADC12MCTL_) /* ADC12 Memory Control (for C) */

Index: common.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc4/include/msp430/common.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -w -d -r1.1.1.1 -r1.2
--- common.h	29 Aug 2005 16:48:45 -0000	1.1.1.1
+++ common.h	9 Oct 2008 15:00:14 -0000	1.2
@@ -42,7 +42,7 @@
 #define SCG0                0x0040
 #define SCG1                0x0080
 
-#ifdef _GNU_ASSEMBLER_ /* Begin #defines for assembler */
+#ifdef __ASSEMBLER__ /* Begin #defines for assembler */
 #define LPM0                CPUOFF
 #define LPM1                SCG0+CPUOFF
 #define LPM2                SCG1+CPUOFF

Index: iostructures.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc4/include/msp430/iostructures.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -w -d -r1.1.1.1 -r1.2
--- iostructures.h	29 Aug 2005 16:48:46 -0000	1.1.1.1
+++ iostructures.h	9 Oct 2008 15:00:14 -0000	1.2
@@ -1,7 +1,7 @@
 /*
  * $Id$  
  */
-#ifndef _GNU_ASSEMBLER_
+#ifndef __ASSEMBLER__
 
 #ifndef  __IOSTRUCTURES_H__
 #define __IOSTRUCTURES_H__
@@ -158,5 +158,5 @@
 
 #endif /* __IOSTRUCTURES_H__ */
 
-#endif /* GNU_ASSEMBLER */
+#endif /* __ASSEMBLER__ */
 

Index: lcd.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc4/include/msp430/lcd.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -w -d -r1.1.1.1 -r1.2
--- lcd.h	29 Aug 2005 16:48:46 -0000	1.1.1.1
+++ lcd.h	9 Oct 2008 15:00:14 -0000	1.2
@@ -61,7 +61,7 @@
 #define LCDOGOFF            (LCDP2|LCDP1|LCDP0)     /* S0  - S39 */
 
 #define LCDMEM_             LCD_BASE+1              /* LCD memory */
-#if defined(_GNU_ASSEMBLER_)
+#if defined(__ASSEMBLER__)
 #define LCDMEM              LCDMEM_                 /* LCD memory (for assembler) */
 #else
 #define LCDMEM              ((char*) LCDMEM_)       /* LCD memory (for C) */

Index: lcd_a.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc4/include/msp430/lcd_a.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -w -d -r1.1.1.1 -r1.2
--- lcd_a.h	29 Aug 2005 16:48:46 -0000	1.1.1.1
+++ lcd_a.h	9 Oct 2008 15:00:14 -0000	1.2
@@ -74,7 +74,7 @@
 #define VLCD3               0x10        /* VLCD select: 3 */
 
 #define LCDMEM_             LCD_BASE+1              /* LCD memory */
-#ifdef _GNU_ASSEMBLER_
+#ifdef __ASSEMBLER__
 #define LCDMEM              LCDMEM_                 /* LCD memory (for assembler) */
 #else
 #define LCDMEM              ((char*) LCDMEM_)       /* LCD memory (for C) */

Index: scanif.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc4/include/msp430/scanif.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -w -d -r1.1.1.1 -r1.2
--- scanif.h	29 Aug 2005 16:48:46 -0000	1.1.1.1
+++ scanif.h	9 Oct 2008 15:00:14 -0000	1.2
@@ -48,7 +48,7 @@
 sfrw(SIFDACR7, SIFDACR7_);
 
 #define SIFTSM_             0x01D0  /* SIF, Timing State Machine 0 */
-#ifdef _GNU_ASSEMBLER_
+#ifdef __ASSEMBLER__
 #define SIFTSM              SIFTSM_                 /* SIF, Timing State Machine (for assembler) */
 #else
 #define SIFTSM              ((char*) SIFTSM_)       /* SIF, Timing State Machine (for C) */

Index: timera.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc4/include/msp430/timera.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -w -d -r1.1.1.1 -r1.2
--- timera.h	29 Aug 2005 16:48:46 -0000	1.1.1.1
+++ timera.h	9 Oct 2008 15:00:14 -0000	1.2
@@ -100,7 +100,7 @@
 sfrw (TA1CCR4, TA1CCR4_);
 #endif
 
-#ifndef _GNU_ASSEMBLER_
+#ifndef __ASSEMBLER__
 /* Structured declaration */
 typedef struct {
   volatile unsigned

Index: timerb.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc4/include/msp430/timerb.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -w -d -r1.1.1.1 -r1.2
--- timerb.h	29 Aug 2005 16:48:46 -0000	1.1.1.1
+++ timerb.h	9 Oct 2008 15:00:14 -0000	1.2
@@ -58,7 +58,7 @@
 
 #endif
 
-#ifndef _GNU_ASSEMBLER_
+#ifndef __ASSEMBLER__
 /* Structured declaration */
 typedef struct {
   volatile unsigned


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/