TinyOS

Overview
This page describes how to set up your Gentoo Linux Box for using TinyOS. The document describes setting up an environment for using Telos motes - additions to this document for other mote platforms are welcome.

This document is a work in progress at the moment.

TinyOS installation
This section of the document goes parallel with the official TinyOS 2 installation guide, following it's steps one by one.

Step 1: Install Java 1.5 SDK
No manual actions required here. Either sun-jdk or ibm-jdk-bin will be installed as a dependency of the tinyos-package.

Note 1: IBM's JDK is only needed, if the javacomm USE-flag is enabled.

Note 2: I recommend installing Java 1.6 instead of 1.5. (May require some keywording/unmasking)

Step 2: Install Cygwin
This step is not needed on Linux.

Step 3: Install native compilers
Grab the TinyOS 2 portage overlay created by Aurélien Francillon, as root:

Also make sure to add the portage overlay directory to /etc/make.conf:

To install the toolchains, use the crossdev script.

For installing an AVR-toolchain, you should do

At the time of writing, these versions worked for me:

To install msp430 toolchain try