90 likes | 118 Views
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)
E N D
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) • ***TI MSP430 Tools • If the dependence error occurs, you can install it after toolchain. • Step 4: Installing TinyOS toolchain • Recommended Windows/Cygwin
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"
Install • Step 6: Installing Graphviz
Checking • $tos-check-env • To check everything that the TinyOS environment needs. • $printenv MAKERULES • To check environment variables.
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.
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