CVS: examples/tasker config.h,1.1,1.2 main.c,1.3,1.4
Chris Liechti <[email protected]>
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mspgcc/examples/tasker In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23588/examples/tasker Modified Files: config.h main.c Log Message: update to new headerfiles Index: config.h =================================================================== RCS file: /cvsroot/mspgcc/examples/tasker/config.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -d -r1.1 -r1.2 --- config.h 17 Sep 2002 20:06:09 -0000 1.1 +++ config.h 18 Aug 2005 20:37:21 -0000 1.2 @@ -47,7 +47,7 @@ // (not used) #endif -#ifdef __msp430_have_port1 +#ifdef __MSP430_HAS_PORT1__ // Port 1 Bits // (not used) @@ -60,7 +60,7 @@ // (not used) #endif -#ifdef __msp430_have_port2 +#ifdef __MSP430_HAS_PORT2__ // Port 2 Bits // (not used) @@ -73,7 +73,7 @@ // (not used) #endif -#ifdef __msp430_have_port3 +#ifdef __MSP430_HAS_PORT3__ // Port 3 Bits #define HOST_TX_BIT BV(4) // SCI0 TX output #define HOST_RX_BIT BV(5) // SCI0 RX input @@ -88,7 +88,7 @@ // (not used) #endif -#ifdef __msp430_have_port4 +#ifdef __MSP430_HAS_PORT4__ // Port 4 Bits // (not used) @@ -101,7 +101,7 @@ // (not used) #endif -#ifdef __msp430_have_port5 +#ifdef __MSP430_HAS_PORT5__ // Port 5 Bits // (not used) @@ -114,7 +114,7 @@ // (not used) #endif -#ifdef __msp430_have_port6 +#ifdef __MSP430_HAS_PORT6__ // Port 6 Bits // (not used) Index: main.c =================================================================== RCS file: /cvsroot/mspgcc/examples/tasker/main.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -w -d -r1.3 -r1.4 --- main.c 28 Nov 2003 15:11:48 -0000 1.3 +++ main.c 18 Aug 2005 20:37:21 -0000 1.4 @@ -49,42 +49,42 @@ P0DIR = P0DIR_INIT; #endif -#ifdef __msp430_have_port1 +#ifdef __MSP430_HAS_PORT1__ // setup port 1 from values in config.h P1SEL = P1SEL_INIT; P1OUT = P1OUT_INIT; P1DIR = P1DIR_INIT; #endif -#ifdef __msp430_have_port2 +#ifdef __MSP430_HAS_PORT2__ // setup port 2 from values in config.h P2SEL = P2SEL_INIT; P2OUT = P2OUT_INIT; P2DIR = P2DIR_INIT; #endif -#ifdef __msp430_have_port3 +#ifdef __MSP430_HAS_PORT3__ // setup port 3 from values in config.h P3SEL = P3SEL_INIT; P3OUT = P3OUT_INIT; P3DIR = P3DIR_INIT; #endif -#ifdef __msp430_have_port4 +#ifdef __MSP430_HAS_PORT4__ // setup port 4 from values in config.h P4SEL = P4SEL_INIT; P4OUT = P4OUT_INIT; P4DIR = P4DIR_INIT; #endif -#ifdef __msp430_have_port5 +#ifdef __MSP430_HAS_PORT5__ // setup port 5 from values in config.h P5SEL = P5SEL_INIT; P5OUT = P5OUT_INIT; P5DIR = P5DIR_INIT; #endif -#ifdef __msp430_have_port6 +#ifdef __MSP430_HAS_PORT6__ // setup port 6 from values in config.h P6SEL = P6SEL_INIT; P6OUT = P6OUT_INIT; ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf