CVS: msp430-libc/include io.h, 1.18, 1.19 msp430x20x3.h, 1.6, 1.7 msp430x42x.h, 1.4, 1.5 msp430x42x0.h, 1.6, 1.7 msp430x47xx.h, 1.3, 1.4 msp430xE42x.h, 1.5, 1.6 msp430xG42x0.h, 1.2, 1.3

"Sergey A. Borshch" <[email protected]> Sun, 11 Jan 2009 23:11:50 +0000
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.cvs
Message-ID <[email protected]>
Update of /cvsroot/mspgcc/msp430-libc/include
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv19805

Modified Files:
	io.h msp430x20x3.h msp430x42x.h msp430x42x0.h msp430x47xx.h 
	msp430xE42x.h msp430xG42x0.h 
Log Message:
io.h, msp430x47xx.h:
  - msp430x471xx devices added
sd16.h:
  - #defines added  to set SD16IV and SD16MEMx addresses which are different for 471xx devices.
msp430x20x3.h msp430x42x.h msp430x42x0.h msp430xE42x.h msp430xG42x0.h:
  - SD16IV and SD16MEMx base address #defines added
wdt_a.h:
  - structured declaration added
tlv.h:
  - errors fixed.


Index: io.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc/include/io.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -w -d -r1.18 -r1.19
--- io.h	9 Oct 2008 15:00:13 -0000	1.18
+++ io.h	11 Jan 2009 23:11:48 -0000	1.19
@@ -142,7 +142,9 @@
 #elif defined(__MSP430_G4616__) || defined(__MSP430_G4617__) || defined(__MSP430_G4618__) || defined(__MSP430_G4619__)
 #include <msp430xG461x.h>
 
-#elif defined(__MSP430_4783__) || defined(__MSP430_4784__) || defined(__MSP430_4793__) || defined(__MSP430_4794__)
+#elif defined(__MSP430_4783__) || defined(__MSP430_4784__) || defined(__MSP430_4793__) || defined(__MSP430_4794__) \
+    || defined(__MSP430_47166__) || defined(__MSP430_47176__) || defined(__MSP430_47186__) || defined(__MSP430_47196__) \
+    || defined(__MSP430_47167__) || defined(__MSP430_47177__) || defined(__MSP430_47187__) || defined(__MSP430_47197__)
 #include <msp430x47xx.h>
 
 #elif defined(__MSP430_5418__) || defined(__MSP430_5419__) \

Index: msp430x20x3.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc/include/msp430x20x3.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -d -r1.6 -r1.7
--- msp430x20x3.h	9 Oct 2008 15:00:13 -0000	1.6
+++ msp430x20x3.h	11 Jan 2009 23:11:48 -0000	1.7
@@ -23,6 +23,8 @@
 #define __MSP430_HAS_SD16_A__
 #define __MSP430_HAS_SD16_BUF__
 #define __MSP430_HAS_SD16_CH1__
+#define __MSP430_SD16IV_BASE__    0x110
+#define __MSP430_SD16MEM_BASE__   0x112
 #define __MSP430_HAS_USI__
 
 

Index: msp430x42x.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc/include/msp430x42x.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -w -d -r1.4 -r1.5
--- msp430x42x.h	9 Oct 2008 15:00:13 -0000	1.4
+++ msp430x42x.h	11 Jan 2009 23:11:48 -0000	1.5
@@ -27,6 +27,8 @@
 #define __MSP430_HAS_MPY__
 #define __MSP430_HAS_SD16_CH1__
 #define __MSP430_HAS_SD16_CH2__
+#define __MSP430_SD16IV_BASE__    0x110
+#define __MSP430_SD16MEM_BASE__   0x112
 
 #define __msp430_have_lcd_16_20
 #define LCD_BASE 0x90

Index: msp430x42x0.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc/include/msp430x42x0.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -d -r1.6 -r1.7
--- msp430x42x0.h	9 Oct 2008 15:00:13 -0000	1.6
+++ msp430x42x0.h	11 Jan 2009 23:11:48 -0000	1.7
@@ -26,6 +26,9 @@
 #define __MSP430_HAS_FLASH__
 #define __MSP430_HAS_SD16_A__
 #define __MSP430_HAS_SD16_BUF__
+#define __MSP430_SD16IV_BASE__    0x110
+#define __MSP430_SD16MEM_BASE__   0x112
+
 #define __MSP430_HAS_DAC12_1__
 
 #define __msp430_have_lcd_a

Index: msp430x47xx.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc/include/msp430x47xx.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- msp430x47xx.h	13 Dec 2008 23:34:32 -0000	1.3
+++ msp430x47xx.h	11 Jan 2009 23:11:48 -0000	1.4
@@ -48,8 +48,33 @@
 #define __MSP430_HAS_SD16_CH2__
 #if defined(__MSP430_4783__) || defined(__MSP430_4793__)
 #define __MSP430_HAS_SD16_CH3__
+#endif  /* __MSP430_47x3__ */
+
+#if defined(__MSP430_47166__) || defined(__MSP430_47176__) || defined(__MSP430_47186__) || defined(__MSP430_47196__)
+#define __MSP430_HAS_SD16_CH3__
+#define __MSP430_HAS_SD16_CH4__
+#define __MSP430_HAS_SD16_CH5__
+#endif
+#if defined(__MSP430_47167__) || defined(__MSP430_47177__) || defined(__MSP430_47187__) || defined(__MSP430_47197__)
+#define __MSP430_HAS_SD16_CH3__
+#define __MSP430_HAS_SD16_CH4__
+#define __MSP430_HAS_SD16_CH5__
+#define __MSP430_HAS_SD16_CH6__
+#endif
+
+#if defined(__MSP430_4784__) || defined(__MSP430_4794__) \
+    || defined(__MSP430_4783__) || defined(__MSP430_4793__)
+#define __MSP430_SD16IV_BASE__    0x110
+#define __MSP430_SD16MEM_BASE__   0x112
+#elif defined(__MSP430_47166__) || defined(__MSP430_47176__) || defined(__MSP430_47186__) || defined(__MSP430_47196__) \
+    || defined(__MSP430_47167__) || defined(__MSP430_47177__) || defined(__MSP430_47187__) || defined(__MSP430_47197__)
+#define __MSP430_SD16IV_BASE__    0x1AE
+#define __MSP430_SD16MEM_BASE__   0x110
 #endif
 
+
+
+
 #define __msp430_have_lcd_16_20
 #define LCD_BASE 0x90
 
@@ -64,6 +89,7 @@
 #include <msp430/usci.h>
 #include <msp430/gpio.h>
 #include <msp430/mpy32.h>
+#include <msp430/sd16.h>
 
 #include <msp430/common.h>
 

Index: msp430xE42x.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc/include/msp430xE42x.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -w -d -r1.5 -r1.6
--- msp430xE42x.h	9 Oct 2008 15:00:14 -0000	1.5
+++ msp430xE42x.h	11 Jan 2009 23:11:48 -0000	1.6
@@ -27,6 +27,8 @@
 #define __MSP430_HAS_MPY__
 #define __MSP430_HAS_SD16_CH1__
 #define __MSP430_HAS_SD16_CH2__
+#define __MSP430_SD16IV_BASE__    0x110
+#define __MSP430_SD16MEM_BASE__   0x112
 
 #if defined(__MSP430_E423__) || defined(__MSP430_E425__) || defined(__MSP430_E427__)
 #define __MSP430_HAS_ESP430E__  // for backward compability

Index: msp430xG42x0.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc/include/msp430xG42x0.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -d -r1.2 -r1.3
--- msp430xG42x0.h	9 Oct 2008 15:00:14 -0000	1.2
+++ msp430xG42x0.h	11 Jan 2009 23:11:48 -0000	1.3
@@ -26,6 +26,8 @@
 #define __MSP430_HAS_FLASH__
 #define __MSP430_HAS_SD16_A__
 #define __MSP430_HAS_SD16_BUF__
+#define __MSP430_SD16IV_BASE__    0x110
+#define __MSP430_SD16MEM_BASE__   0x112
 #define __MSP430_HAS_DAC12_1__
 #define __MSP430_HAS_OA_2__
 


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB