the patch: $ diff -r msp430-libc.orig/include/iomacros.h msp430-libc/include/iomacros.h 315a316,319
#if defined(__MSP430X__) #define sfra(x,x_) x=x_ #endif
partially solves the problem, but not completely: msp430-gcc -x assembler-with-cpp -mmcu=msp430xG4616 -I./../include -I. -Wa,-gst abs -D_GNU_ASSEMBLER_ -c gcrt0.S -o crt430xG4616.o ../include/msp430/dma.h: Assembler messages: ../include/msp430/dma.h:57: Error: junk at end of line, first unrecognized chara cter is `0' ../include/msp430/dma.h:74: Error: junk at end of line, first unrecognized chara cter is `0' ../include/msp430/dma.h:87: Error: junk at end of line, first unrecognized chara cter is `0' make: *** [crt430xG4616.o] Error 1 2007/7/11, Кобрин Олег <[email protected]>:
msp430-gcc -x assembler-with-cpp -mmcu=msp430xG4616 -I./../include -I. -Wa,-gst abs -D_GNU_ASSEMBLER_ -c gcrt0.S -o crt430xG4616.o ../include/msp430/dma.h: Assembler messages: ../include/msp430/dma.h:55: Error: unknown opcode `sfra(dma0sa,' ../include/msp430/dma.h:57: Error: junk at end of line, first unrecognized chara cter is `0' ../include/msp430/dma.h:59: Error: unknown opcode `sfra(dma0da,' ../include/msp430/dma.h:68: Error: unknown opcode `sfra(dma1sa,' ../include/msp430/dma.h:74: Error: junk at end of line, first unrecognized chara cter is `0' ../include/msp430/dma.h:81: Error: unknown opcode `sfra(dma2sa,' ../include/msp430/dma.h:85: Error: unknown opcode `sfra(dma2da,' ../include/msp430/dma.h:87: Error: junk at end of line, first unrecognized chara cter is `0' make: *** [crt430xG4616.o] Error 1 2007/7/11, Steve Underwood < [email protected]>: > > ?????? ???? wrote: > > > > it's complaining for sfra() opcode. what should I do? > sfra() is only defined is __MSP430X__ is defined. currently sfra() is > only used if __MSP430_HAS_DMAX_3__ is defined, and that should only > happen for the MSP430FG461x, for which __MSP430X__ should also be > defined. > > Where exactly does this fail? > > Steve > > > > ------------------------------------------------------------------------- > 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/ > _______________________________________________ > Mspgcc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mspgcc-users > > -- _____________ Oleg V. Kobrin
-- _____________ Oleg V. Kobrin
