Leo McManus wrote:
I am trying to do a link with crt430x149.0, but it always tries to link to
crt430x110.o. I renamed/moved the crt430x110.o file, now it stops the link with
an error complaining it cannot find the file.
I must be missing something, any ideas?
Also when I build libc, what is the difference with the msp1 and msp2
directories which hold the libc libm and libfp libraries.
Thanks
Leo
You aren't specifying the -mmcu= parameter on the gcc command line, are
you? You should use -mmcu=msp43x149, if you are programming for a 149.
Scan the documentation for other useful MSP430 specific information.
Using the -mmcu= parameter force the tools to:
- generate the right code . Currently this means is select whether a
hardware multiply operations are used.
- selects right linker control file for the particular MCU's memory map.
- selects the right crt430xXXX.o file for the MCU.
The default behaviour is to use the very simplest MCU in the whole
range, and that is the MSP430x110.
The msp1 library does not use the hardware multiplier. The msp2 library
does.
Regards,
Steve