Hi David,
I believe you first change environment variables to point to the
checked-out CVS tree, for example
TOSROOT=$HOME/local/src/tinyos-2.x
TOSDIR=$TOSROOT/tos
MAKERULES=$TOSROOT/support/make/Makerules
CLASSPATH=$TOSROOT/support/sdk/java/tinyos.jar:.
PYTHONPATH=$TOSROOT/support/sdk/python:$HOME/local/lib/tinyos:
$PYTHONPATH
PATH=$TOSROOT/support/sdk/c:$PATH
And then, re-install TinyOS 2, for example
~/local/src$ cd tinyos-2.x/tools
~/local/src/tinyos-2.x/tools$ ./Bootstrap
~/local/src/tinyos-2.x/tools$ ./configure --prefix=$HOME/local
~/local/src/tinyos-2.x/tools$ make all (a bunch of ENTERs will
be required)
~/local/src/tinyos-2.x/tools$ make install (some more ENTERs
will be required)
Thank you
Mike
On Dec 20, 2007, at 6:01 AM, David wrote:
do any "make install". After you update the CVS tree you should be
able to
go the following:
- go to apps/tests/deluge/Blink, compile the application and
install it on
a mote. At this point the mote should start blinking the red light
- go to apps/tests/deluge/GoldenImage, compile it and inject it as
image 0. If you make the gesture the more should reprogram itself
with
the GoldenImage which should stop the blinking.
I thinks this will have problems on my setup.
For one thing, MAKERULES points to
/opt/tinyos-2.x/support/make/Makerules, which is under the older
(installed from debs) source code tree.
Also, all the libs etc (including Deluge) under /opt/tinyos-2.x are
the older versions. Won't the building the Blink application use the
older Deluge libraries? (ie, not the ones you updated in CVS).
Should I move the ubuntu-installed version of /opt/tinyos-2.x out of
the way and then move my CVS checkout there instead?
Or will pointing MAKERULES to my CVS checkout instead of the
debian-installed version also work?
It may be useful to clarify this (How to update your system from CVS
after you have installed from debs/rpms) in your docs. I don't see any
information for this on these pages:
http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html
http://www.tinyos.net/scoop/story/2007/8/15/234856/990
Thanks for your assistance.
David.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help