<p>You may not to install additional packages for particular toolchains or flashing tools. For the MSB-A2 check the requirements in the <ahref="https://github.com/RIOT-OS/boards/wiki/For-MSB-A2"title="MSB-A2 Toolchain Installation"target="_blank">Github Wiki</a>.</p>
<h2id="getcode">Get the source code</h2>
<p>You can obtain RIOT either by cloning the git repositories or download the latest tarballs.</p>
<p>In order to obtain RIOT from the official <ahref="https://github.com/RIOT-OS/"title="RIOT at GitHub"target="_blank">GitHub</a> repositories, please perform the following commands:</p>
<p>The recommended toolchain for RIOT on ARM is an older version (2008q3) of CodeBench (formerly CodeSourcery) from <ahref="http://www.mentor.com/"title="Company Web Page">Mentor Graphics</a>. It can be obtained <aclass="download"href="http://www.codesourcery.com/sgpp/lite/arm/portal/release642"title="CodeSourcery 2008q3">here</a>.</p>
<h4>Linux</h4>
<p>Direct links for Linux are </p>
<pclass="download"><ahref="http://www.codesourcery.com/sgpp/lite/arm/portal/package3688/public/arm-none-eabi/arm-2008q3-66-arm-none-eabi.bin"title="Installer for Linux version">http://www.codesourcery.com/.../arm-2008q3-66-arm-none-eabi.bin</a> (with installer)</p>
<p> or</p>
<pclass="download"><ahref="http://www.codesourcery.com/sgpp/lite/arm/portal/package3686/public/arm-none-eabi/arm-2008q3-66-arm-none-eabi-i686-pc-linux-gnu.tar.bz2"title="Binary archive for Linux">http://www.codesourcery.com/.../arm-2008q3-66-arm-none-eabi-i686-pc-linux-gnu.tar.bz2</a>.</p>
<p><em>Please note</em> that you will have to add the directory with executables (<tt>arm-none-eabi-gcc</tt>, <tt>arm-none-eabi-as</tt> etc.) to your <ahref="http://en.wikipedia.org/wiki/PATH_(variable)"title="Wikipedia article about the PATH variable"target="_blank">PATH variable</a> in both cases.
On a typical shell like bash or zsh this can be done using export, e.g.</p>
<pre>
export PATH=${PATH}:/path/to/arm-none-eabi-gcc
</pre>
<h4>Windows</h4>
<p>The direct link for the Windows version is</p>
<pclass="download"><ahref="http://www.codesourcery.com/sgpp/lite/arm/portal/package3689/public/arm-none-eabi/arm-2008q3-66-arm-none-eabi.exe"title="Installer for Windows version">http://www.codesourcery.com/.../arm-2008q3-66-arm-none-eabi.exe</a>.</p>
<h4>Mac OS X</h4>
<p>There is a tutorial to install the CodeSourcery toolchain on Mac OS X: <ahref="https://gist.github.com/errordeveloper/1854389"title="CodeSourcery ARM (2008q3) bare-metal toolchain on OS X">https://gist.github.com/errordeveloper/1854389</a>.</p>
<h4>Build the toolchain from sources</h4>
<p>There is also the possibility to build the toolchain from the sources, allowing for newer versions of GCC, binutils, and Newlib. A script to build a toolchain for the MSB-A2 is available in the RIOT git repository at <br>
<p>Download and install <aclass="download"href="http://sourceforge.net/projects/mspgcc/"title="MSPGCC"target="_blank">GCC toolchain for MSP430</a> according to the information provided on the website.</p>
<p>In order to build RIOT for the native port, you just need the <aclass="download"href="http://gcc.gnu.org/"title="GCC, the GNU Compiler Collection"target="_blank">GNU
<p>Download and install <aclass="download"href="http://mspdebug.sourceforge.net/download.html"title="Debugging and programming tool for MSP430 MCUs"target="_blank">MSPDebug</a> according to the information provided on the website. You can also use MSPDebug for debugging.</p>
<h3>For redbee-econotag</h3>
<p>Folow the instructions for <ahref="http://mc1322x.devl.org/libmc1322x.html"title="LIBMC1322X"target="_blank">Getting Started with MC1322x</a>.