Cygwin
Install Cygwin
http://cygwin.com/install.html
Install following inside cygwin
avr-binutils-2.15
avr-gcc-3.4.6-1.cygwin.i386.rpm
avr-insight-6.3-1.cygwin.i386.rpm
avr-libc-1.4.6-1.cygwin.i386.rpm
avrdude-5.4-1.cygwin.i386.rpm
graphviz-1.10.exe
make-3.80tinyos-1.cygwin.i386.rpm
nesc-1.2.8b-1.cygwin.i386.rpm
tinyos-tools-1.2.4-2.cygwin.i386.rpm
get latest tinyos
cvs -z3 -d:pserver:anonymous@tinyos.cvs.sourceforge.net:/cvsroot/tinyos co -P tinyos-2.x
force install/ upgarde
rpm -Uvh --ignoreos --force name_of_the_package.rpm
Add the following environment variables to ~/.bashrc:
export TOSROOT=/opt/tinyos-2.x
export TOSDIR=$TOSROOT/tos
export CLASSPATH=$TOSROOT/support/sdk/java/tinyos.jar:.
export MAKERULES=$TOSROOT/support/make/Makerules
export PATH=/opt/msp430/bin:$PATH #for telosb mote
Try the Blink code
$cd /opt/tinyos-2.x/apps/Blink
$make iris install.0 mib520,COM3