here is the second patch resolving the problem: $ diff msp430-libc.orig/include/msp430/dma.h msp430-libc/include/msp430/dma.h 56,57c56 < #define DMA0SAL 0x01D2 /* DMA channel 0 source address */ < sfrw(DMA0SAL, DMA0SAL_); ---
sfrw(DMA0SAL, DMA0SA_);
60,61c59 < #define DMA0DAL_ 0x01D6 /* DMA channel 0 destination address */ < sfrw(DMA0DAL, DMA0DAL_); ---
sfrw(DMA0DAL, DMA0DA_);
69,70c67 < #define DMA1SAL_ 0x01DE /* DMA channel 1 source address */ < sfrw(DMA1SAL, DMA1SAL_); ---
sfrw(DMA1SAL, DMA1SA_);
73,74c70 < #define DMA1DAL 0x01E2 /* DMA channel 1 destination address */ < sfrw(DMA1DAL, DMA1DAL_); ---
sfrw(DMA1DAL, DMA1DA_);
82,83c78 < #define DMA2SAL_ 0x01EA /* DMA channel 2 source address */ < sfrw(DMA2SAL, DMA2SAL_); ---
sfrw(DMA2SAL, DMA2SA_);
86,87c81 < #define DMA2DAL 0x01EE /* DMA channel 2 destination address */ < sfrw(DMA2DAL, DMA2DAL_); ---
sfrw(DMA2DAL, DMA2DA_);
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
