CVS: msp430-libc4/include iomacros.h, 1.3, 1.4 signal.h, 1.2, 1.3
"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
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv7041/msp430-libc4/include
Modified Files:
iomacros.h signal.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: iomacros.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc4/include/iomacros.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- iomacros.h 22 Mar 2006 19:53:18 -0000 1.3
+++ iomacros.h 9 Oct 2008 15:00:14 -0000 1.4
@@ -29,7 +29,7 @@
#ifndef _IOMACROS_H_
#define _IOMACROS_H_
-#ifndef _GNU_ASSEMBLER_
+#ifndef __ASSEMBLER__
#include <sys/inttypes.h>
@@ -138,13 +138,13 @@
#define MARK_VOLATILE __asm__ __volatile__("; volatile")
-#endif /* not _GNU_ASSEMBLER_ */
+#endif /* not __ASSEMBLER__ */
/*
* Defines for assembler.
* hope there is a better way to do this.
*/
-#ifdef _GNU_ASSEMBLER_
+#ifdef __ASSEMBLER__
#define sfrb(x,x_) x=x_
#define sfrw(x,x_) x=x_
Index: signal.h
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc4/include/signal.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -d -r1.2 -r1.3
--- signal.h 29 Aug 2005 18:32:24 -0000 1.2
+++ signal.h 9 Oct 2008 15:00:14 -0000 1.3
@@ -32,7 +32,7 @@
#include <iomacros.h>
-#ifndef _GNU_ASSEMBLER_
+#ifndef __ASSEMBLER__
#define Interrupt(x) void __attribute__((interrupt (x)))
#define INTERRUPT(x) void __attribute__((interrupt (x)))
@@ -71,7 +71,7 @@
#define UNEXPECTED() interrupt (NOVECTOR) _unexpected_(void)
-#else /*_GNU_ASSEMBLER_ / assember definitions*/
+#else /*__ASSEMBLER__ / assember definitions*/
#define RESET_VECTOR 30
@@ -99,7 +99,7 @@
#define vector_28 vector_fffc
#define vector_30 vector_fffe
-#endif /*_GNU_ASSEMBLER_*/
+#endif /*__ASSEMBLER__*/
#endif
-------------------------------------------------------------------------
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=/