1 / 9

Introduce of TinyOS

Introduce of TinyOS. Install. http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html Suggestion: Manual installation on your host OS with RPMs. Install. Step 1: Installing JAVA 1.5 JDK Step 2: Installing Cygwin. Install. Step 3: Installing native compilers Atmel AVR Tools (OK)

mcintirej
Télécharger la présentation

Introduce of TinyOS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduce of TinyOS

  2. Install • http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html • Suggestion: Manual installation on your host OS with RPMs

  3. Install • Step 1: Installing JAVA 1.5 JDK • Step 2: Installing Cygwin

  4. Install • Step 3: Installing native compilers • Atmel AVR Tools (OK) • ***TI MSP430 Tools • If the dependence error occurs, you can install it after toolchain. • Step 4: Installing TinyOS toolchain • Recommended Windows/Cygwin

  5. Install • Step 5: Installing the TinyOS 2.x source tree • Installing tinyos-2.x • Configuring your environment • Modifying /etc/profile • Add following: • export CLASSPATH='cygpath -w $TOSROOT/support/sdk/java/tinyos.jar‘ • export CLASSPATH="$CLASSPATH;.“ • export TOSROOT="/opt/tinyos-2.x“ • export TOSDIR="$TOSROOT/tos“ • export MAKERULES="$TOSROOT/support/make/Makerules“ • export PATH="/opt/msp430/bin:$PATH"

  6. Install • Step 6: Installing Graphviz

  7. Checking • $tos-check-env • To check everything that the TinyOS environment needs. • $printenv MAKERULES • To check environment variables.

  8. Making and Installing Programs on a Sensor • $motelist • To show all devices being plugged in. • $make telosb install bsl [local address], [CommPort - 1] • $make telosb docs • To generate the documents of the program, in \opt\tinyos-2.x\doc\nesdoc\telosb.

  9. Links • Tutorials • http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/index.html • Programming Manual • http://www.tinyos.net/tinyos-2.x/doc/pdf/tinyos-programming.pdf

More Related