Tip |
---|
We thank Chris Snyder for his contribution on setting up this environment. |
...
gcc is the ubiquitous open-source C compiler. mspgcc is its extension to support the TI MSP430 micro-controller.
Table of Contents | ||
---|---|---|
|
Build Environments
The mspgcc toolchain supports both the SCons/command line environment and Eclipse.
- Command line – See the sections below on mspgcc versions and installation.
- Eclipse – See these separate pages:
- With mspdebug (preferred)
- With mspgdb_proxy
Versions
We use the following versions in the OpenWSN team:
...
- 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 |
...