Home · Support · Download · Hardware Designs · Projects · Pubs

TinyOS FAQ
Join/Search Mailing Lists
Documentation

TinyOS Site

WWW

 I want to search the TinyOS Mail Archives

There are several coponents to tinyos-1.0:

cygwin
avrgcc
graphviz
jdk1.3.1_01
javacomm
tinyos-1.0
nesc

You will find instructions for each package below to create a vanilla TinyOS 1.0 Windows installation.

cygwin
Cygwin is a UNIX environment for Windows. Download this ZIP archive that contains a full release. Run the Setup program in your top-level directory. Here are the installation setup choices we recommend:

  • Install from a local folder.
  • Specify the location of the files for the install (the default should work, unless you moved Setup).
  • Configure: install for "all" and file type UNIX, with c:\cygwin as the final loccation.
  • Packages: Accept the defaults. This should install all the files and leave you with a cygwin icon on the desktop. For the remainder of these instructions, we'll assume you installed cygwin into c:\cygwin\.

avrgcc
 is gcc for the avr architecture. The core avrgcc is produced by avrfreaks. We use a slightly customized version of 3.1.1. (it has a bugfix in it that is included in 3.2). Download the avrgcc tgz file here and place in your top directory. Untar into c: using ‘tar zxvf avrgcc.tgz’ using your cygwin shell. To complete the installation, add c:\avrgcc\bin to your PATH environment variable.

graphviz
Graphviz is open-source graph drawing software from AT&T Labs. You can download an install package from their web site here. Install. Insure that c:\graphviz\Graphviz\bin is in your path.

jdk1.3.1_01
Retrieve the 1.3.1 jdk from sun at You can retrieve the JDK from http://java.sun.com/j2se/1.3/. Install according to Sun’s directions. Be sure that your path includes the 1.3.1 JDK bin directory: c:\jdk1.3.1_01\bin. It should precede any other JDK version’s bin directory.

javacomm
Download javacomm.tgz into c: and untar using ‘tar zxvf javacomm.tgz’. You should end up with a c:\javacomm directory. You will then need to copy some files from javacomm over to your jdk directory. If you installed both into c:, you can use this bat file.If your files are in different directories, modify the directory paths in javacomm-copies.bat accordingly or make the copies manually. Lastly, modify your CLASSPATH environment variable to include c:\jdk1.3.1_01\lib\comm.jar .

tinyos
Download the tinyos 1.0 release tarball from SourceForge. Alternatively, you can download the latest source from CVS if you prefer. Download to c: and untar into c: with ‘tar zxvf tos-1.0.0-nest-release.tgz’using your cygwin shell.

Install uisp, which allows tinyos to manipulate your PCs ports, by following the instructions on the TinyOS FAQ here.

Add these two values to the respective environment variables:

  • CLASSPATH tinyos-1.x\tools\java
  • PATH tinyos-1.x\tools

nesc
nesC is a compiler for a C-based language designed to support the TinyOS project. You can download the snapshot that was used for 1.0 here. Download to c: and untar into c:\tinyos-1.x (so that the resulting dir is c:\tinyos-1.x\nesc) using ‘gunzip nesc-1.0-pre8.tar.gz; tar xvf nesc-1.0-pre8.tar’.  Compile and install nesc like so:

  • cd c:/tinyos-1.x/nesc
  • ./configure
  • make install

Home | Download | Support | Publications | Hardware Designs | Related Work | Internal

This project is part of Berkeley WEBS: Wireless Embedded Systems