CVS: msp430-libc/include iomacros.h, 1.30, 1.31 msp430xG461x.h, 1.7, 1.8
Steve Underwood <[email protected]> Sun, 17 Jun 2007 08:43:27 -0700
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mspgcc/msp430-libc/include
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13207/msp430-libc/include
Modified Files:
iomacros.h msp430xG461x.h
Log Message:
Added sfra as a register type for the MSP430X
Fixed Timer B size for FG461x
Started proper DMAX support, though it has not been checked
Index: iomacros.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc/include/iomacros.h,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -w -d -r1.30 -r1.31
--- iomacros.h 15 Nov 2006 14:34:57 -0000 1.30
+++ iomacros.h 17 Jun 2007 15:43:25 -0000 1.31
@@ -194,12 +194,22 @@
#define sfrw_(x,x_) \
extern "C" volatile unsigned int x asm(#x_)
+
+#if defined(__MSP430X__)
+ #define sfra_(x,x_) \
+ extern "C" volatile unsigned long int x asm(#x_)
+#endif
#else //__cplusplus
#define sfrb_(x,x_) \
volatile unsigned char x asm(#x_)
#define sfrw_(x,x_) \
volatile unsigned int x asm(#x_)
+
+#if defined(__MSP430X__)
+ #define sfra_(x,x_) \
+ volatile unsigned long int x asm(#x_)
+#endif
#endif //__cplusplus
#define sfrb(x,x_) sfrb_(x,x_)
Index: msp430xG461x.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc/include/msp430xG461x.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -w -d -r1.7 -r1.8
--- msp430xG461x.h 16 Feb 2007 13:07:23 -0000 1.7
+++ msp430xG461x.h 17 Jun 2007 15:43:25 -0000 1.8
@@ -33,7 +33,7 @@
#define __MSP430_HAS_UART0__
#define __MSP430_HAS_USCI__
#define __MSP430_HAS_TA3__
-#define __MSP430_HAS_TB3__
+#define __MSP430_HAS_TB7__
#define __MSP430_HAS_FLASH__
#define __MSP430_HAS_CA__
#define __MSP430_HAS_SVS__
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/