-
Notifications
You must be signed in to change notification settings - Fork 1
Getting Started
First, you will need the TinyOS build system. If you run Debian (TinyOS Article)
The following works for Ubuntu 9.04 and 9.10:
1. add the following repository to your sources in /etc/apt/sources.list
deb http://tinyos.stanford.edu/tinyos/dists/ubuntu hardy main
2. Update the list
sudo apt-get update
3. Install the tools
sudo apt-get install tinyos-2.1.1
You will also need some extra tools that are not in default Ubuntu 10.04:
sudo apt-get install git-core tcl tk build-essential
Get our code from github by executing
git clone git://github.com/tschmid/tinyos-2.x.git
or
git clone git://github.com/wanja/tinyos-2.x.git
to get Thomas’ or Wanja’s code, respectively. It shouldn’t matter since we regularly pull the changes from each other.
After installing the Compiler Toolchain and the Programmer Toolchain, execute
cd tinyos-2.x
source setup.sh
in the top-level directory of the checkout. Then compile and program Blink by executing
cd apps/Blink
make sam3u_ek install