Hi Grant,

For the Nth time, I'm once again stuck because mspgcc and/or
binutils doesn't know about the device type I'm using (this
time it happens to be the MSP430F2330).

The MSP430F2274 has almost the same peripheral set (the same
for the ones I'm using).  The memory map isn't quite the same,
so I had to modify a linker script.  But, it's working (so far).

Is there some way to de-couple the cpu type from the toolchain
a little?  Maybe by provide a "generic" CPU type and a linker
script and msp430xXXXX.h template file?

I did a patch for this quite some time ago (2007-01-27), asking for comment and quite some water has gone under the bridge for work on the compiler since then.

Its quite possiable to use the MSP-A and MSP-B (and now MSP-C for the X) CPU definitions. This makes the compiler devoiced from the CPU type number and then binutils to select a 'generic' linker script and then just change your linker script for the application. Sould I re-work the patches and put them in now?

I know... quit whining and do it...

A few hints above, whining might prompt someone to do something about it :-)

Regards,


--
Peter Jansen
STS
Antarctic Division
203 Channel Highway
Kingston
TAS  7050
AUSTRALIA
Phone +61 3 6232 3533

___________________________________________________________________________

   Australian Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If you are not 
the
intended recipient, you are notified that use or dissemination of this 
communication is
strictly prohibited by Commonwealth law. If you have received this transmission 
in error,
please notify the sender immediately by e-mail or by telephoning +61 3 6232 
3209 and
DELETE the message.
       Visit our web site at http://www.antarctica.gov.au/
___________________________________________________________________________

Reply via email to