mspgcc extends the GNU toolchain to support the TI MSP430 microcontroller.
...
- install gcc-multilib library as you will need some extras from gcc: apt-get install gcc-multilib
- download the sources of the libmsp430.so library. I've put together the lib sources, a patch to correct errors on the library (only for 64bit version) and the firmware files for the FET. [download]
- unzip it and apply the patch to the folder.
- Then you will need to install libboost-*. Boost is a set of extension libraries for cpp and it is used by the libmsp430 library sources. download latest version (I used 1.5.2). Unzip it and execute:
Code Block |
---|
./boostrap.sh --prefix=[dir] ./b2 link=static cxxflags=-fPIC -d+2 -a |
...