TinyOS Windows Setup

Assumption: you have cygwin installed Step 1) Download, Install WinAVR-20030312-as-patch.zip WinAVR-20030312-bin-install.exe gcc 3.3.1 Step 2) In your .bashrc Have your TOSDIR and TOSROOT set, I have export TOSDIR=/home/terence/projects/tinyos-1.x/tos export TOSROOT=/home/terence/projects/tinyos-1.x Have your javapath set, I have export CLASSPATH="$CLASSPATH;`$TOSDIR/../tools/java/javapath`" Step 3) Set up Java Comm Download Java Comm Put javax.comm.properties to jre/lib Put comm.jar to jre/lib Put win32com.dll to jre/bin Step 4) Windows Environment WINDOW CLASSPATH c:\cygwin\usr\share\postgresql\java\pg73jdbc1.jar;C:\System\j2sdk1.4.0_01\jre\lib\comm.jar;.; WINDOWS PATH C:\System\j2sdk1.4.0_01\bin; C:\System\WinAVR\bin; C:\System\Emacs\bin; C:\WINNT\system32; C:\WINNT; Step 5) Matlab ClassPath ## ## FILE: classpath.txt ## ## Entries: ## o path_to_jarfile ## o [alpha,glnx86,sol2,unix,win32,mac]=path_to_jarfile ## o $matlabroot/path_to_jarfile ## o $jre_home/path_to_jarfile ## C:\cygwin\home\terence\projects\tinyos-1.x\tools\java c:\cygwin\usr\share\postgresql\java\postgresql.jar c:\system\j2sdk1.4.0_01\jre\lib\comm.jar c:\cygwin\home\terence\projects\broken\experimental\terence\tools\rsc\logger .

TinyOS Linux Setup

Download these exact package as of 20 Dec, 2003 avr-libc-1.0.1.tar.gz binutils-2.14.tar.gz gcc-3.3.2.tar.gz gcc ./configure --target=avr --prefix=/home/ttong/software/usr/local/avr --program-prefix=avr- make make install binutils ./configure --target=avr --prefix=/home/ttong/software/usr/local/avr --disable-nls --enable-languages=c --program-prefix=avr- make make install avr-libc ./doconf --prefix=/home/ttong/software/usr/local/avr ./domake

Written by Terence Tong
Statistics:
Go back to Home