Ok, after a system update (opensuse 12.3 to opensuse 13.1) I was without my MSP430 compiler and launchpad connection. Also since the last time a new compiler version appeared (from 4.6.3 to 4.8.0) so I thought I could build (install) a new one.
TI also got together with RedHat to build a new opensource msp-gcc compiler. It took them quite some time but we've got them.
For those that like to try linux installers (beware: sometimes things go up in flames and you don't know why.) you can download the installer from here and run it as
If that doesn't work for you... you can always build from source, these instructions (in spanish) appear to unlock the code .
On the other hand I also tried the install from source! After a couple of attempts I manged to do it, here's how:
- download the sources from here and untar it. (in the following commands remove the "" in the comand line;
- create a new directory like "mkdir build";
- "cd build";
- "../sources/tools/configure -target=msp430-elf -prefix=/opt/cross/msp430"
- go and take a looooooooooong coffee (might as well go to work and come back later).
- "sudo make install".
A few caveats I found out the hard way:
- the target must be specified as msp430-elf otherwise gdb won't compile;
- the prefix can be other, it is the directory where all the files will be placed.
I haven't checked actually using the cross compiler for anything but I'll try soon. Also there are some heather files that must be placed in some directory (according to TI) but they don't tell you how and where... I will also have to check that...
Furthermore it appears that mspdebug is not built... also need to check that...
But the compiler runs and gdb also.
Chimney Turbine fix
1 month ago