Paolo Zebelloni wrote:

I made a full download/rebuild of mspgcc, then I rebuild my current FG4619 project with new compiler: I've found that vectors start from 0xffc0 (right), but end at 0xffdf. Nothing is written from 0xffe0 to 0xffff.
This is wrong.
I think that __MSP430X__ (used in signal.h) has to be defined somewhere, but it's not clear to me where.
Does somebody have the same troubles?
Thanks.
If you build GCC-3.2.3 with the latest patches, __MSP430X__ will be defined when you specify -mmcu=msp430x4619 on the command line.I've tried building and running code on an MSP430F4618 and an MSP430F4619 with the latest code in CVS, and things seem to run OK.The relevant bit is in msp430.h, which should contain:

msp430.h:%{mmcu=msp430xG4616:%(cpp_msp2) -D__MSP430_G4616__ -D__MSP430X__ -DMSP430_HAS_HWMUL} \ msp430.h:%{mmcu=msp430xG4617:%(cpp_msp2) -D__MSP430_G4617__ -D__MSP430X__ -DMSP430_HAS_HWMUL} \ msp430.h:%{mmcu=msp430xG4618:%(cpp_msp2) -D__MSP430_G4618__ -D__MSP430X__ -DMSP430_HAS_HWMUL} \ msp430.h:%{mmcu=msp430xG4619:%(cpp_msp2) -D__MSP430_G4619__ -D__MSP430X__ -DMSP430_HAS_HWMUL} \


Regards,
Steve

Reply via email to