mspgcc: A port of the GNU tools to the Texas Instruments MSP430 microcontrollers | ||
---|---|---|
<<< Previous | Next >>> |
Binary installers are provided at the mspgcc web-site for some platforms. For others you can build the tools yourself. The source code for everything except msp430-gdbproxy is available for download. Even the majority of the code for msp430-gdbproxy can be downloaded from the mspgcc web-site, where it may be of value to other projects. The only source code which is not available is the library which interfaces to the JTAG port of an MSP430, via the FET tool. This is TI's proprietary code. They have made it available for use in mspgcc, provided the source code is not released.
To build mspgcc from source code you will need the standard GNU source code, and the MSP430 specific source code.
You will need the standard versions of the GNU tools packages, as follows:
The source code for binutils may be obtained from the official binutils web-site. Versions of binutils beginning with 2.14 contain support for the MSP430. This can be found at "ftp://sources.redhat.com/pub/binutils/releases/binutils-2.14.tar.bz2" (about 10.5MB).
Only the core package for GCC is required to build the C compiler. This can be found as the file "/releases/gcc-3.2.3/gcc-core-3.2.3.tar.bz2" (about 10MB) at any of the GNU mirror sites.
The source code for GDB may be obtained from the official GDB web-site. The source code for GDB 5.1.1 may be found at "ftp://sources.redhat.com/pub/gdb/old-releases/gdb-5.1.1.tar.bz2" (about 10.5MB).
The source code for Insight (GDB + a GUI) may be obtained from the official GDB web-site. The source code for Insight 5.1.1 may be found at "ftp://sources.redhat.com/pub/gdb/old-releases/insight-5.1.1.tar.bz2" (about 15.5MB).
At present, the best way to obtain the MSP430 specific source code is directly from the CVS repository at the mspgcc project web-site, as follows:
export CVSROOT=:pserver:anonymous@cvs.sourceforge.net:/cvsroot/mspgcc export CVS_RSH=ssh cvs login |
cvs checkout gcc cvs checkout gdb cvs checkout msp430-libc cvs checkout jtag cvs checkout packaging |
If you are using Linux or BSD Unix you probably have all the tools you need already installed on you machine. You just need the basic GNU toolchain - GNU make, GCC, binutils, and basic utilities like tar and bzip2.
If you are using Windows you will need to install cygwin on your machine. Just go to the Cygwin site, and follow the installation instructions (it is really quite simple). Make sure you have at least the following packages installed:
GNU make
GCC (host installation)
binutils (host installation)
bzip2 and tar
<<< Previous | Home | Next >>> |
Additional tools | The build procedure |