You can always install tinyos-1.x along with tinyos 2.1.1. Since you have
Tinyos 2 already installed, all you need to do is to:
1) Checkout TinyOS-1.x from the repository (As I mentioned in an earlier
thread, there is an access issue as of today):
http://sourceforge.net/scm/?type=cvs&group_id=28656
2) Install the Java COMM Library. Unzip the downloaded archive and then move
the needed files to their appropriate locations under current JDK version
http://www.oracle.com/technetwork/java/index-jsp-141752.html
export TOSROOT=/opt/tinyos-1.x
export TOSDIR=/opt/tinyos-1.x/tos
export MAKERULES=/opt/tinyos-1.x/tools/make/Makerules
3) change environment variables to point to tinyos1.x (you could do this in
.bashrc):
export TOSROOT=/opt/tinyos-1.x
export TOSDIR=/opt/tinyos-1.x/tos
export MAKERULES=/opt/tinyos-1.x/tools/make/Makerules
4) Set permissions:
sudo chmod -R 775 /opt/tinyos-1.x
5) Start a NEW Terminal. Compile JAVA code and SAVE the resulted shared library
under your JRE
cd /opt/tinyos-1.x/tools/java
make clean
make
sudo cp /opt/tinyos-1.x/tools/java/jni/libgetenv.so $JDKROOT/jre/bin
6) Check installation (tos-check-env, Blink and Listen).
Hope this helps,
- GA
________________________________
From: jyoti suman <[email protected]>
To: [email protected]
Sent: Tuesday, July 19, 2011 11:49 PM
Subject: [Tinyos-help] tinyos 1.1 problem
I read tinyos 2.1.1 is not backward compatible.I have installed tinyos
2.1.1 successsfully in ubuntu 10.10.But i dont find any proper
documentation for installing tinyos 1.x in ubuntu 10.10.As i want to
run some code in tinyos 1.x plzzzzzzzzzzzzzzz help me ASAP.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help