Grant Edwards schrieb:
That's what I think we need: A way to tell the compiler to
generate code for a "generic" MSP430,
available for f1xx and f2xx devices, see below
> and a linker-script template or two.
we probably have too many linker scipts so someone new does not know
which of the four per cpu type is the one to begin with ;-)
i used modified *.x files successfully. e.g. the code to be run in RAM
in from the MSP430mspgcc library is used with a custom linker script.
I couldn't find the mmcu switch value for generic parts...
-mmcu1 and mcu2 one is with the other without HW multiplier (NOT F1xx
F2xx!!)
of course there needs to be an additional type for MSP430X arch
you need then to use the #include like <msp430x12x.h> instead of <io.h>
chris