[Tinyos Core WG] [Fwd: Re: marionette]
John Regehr
regehr at cs.utah.edu
Wed Dec 10 09:15:28 PST 2008
See below-- mail from Kamin describing changes to the T2 source tree to
support Marionette.
John
-------- Original Message --------
Subject: Re: marionette
Date: Thu, 22 May 2008 10:21:17 -0400
From: Kamin Whitehouse <whitehouse at cs.virginia.edu>
To: John Regehr <regehr at cs.utah.edu>
References:
<6b52333a0805211049r6b9a5b09xd08956cbe4e63386 at mail.gmail.com>
<48349A8E.50307 at cs.utah.edu>
Yes, it is currently in contrib/marionette. No, i don't have commit
priveledges to T2 core.
The simplest model for integrating marionette would be for all apps to
have a "myapp.py" file in the app directory. For example,
apps/oscilloscope would have a file called oscilloscope.py.
Alternatively, it could be in a "marionette" directory, eg.
oscilloscope/marionette/oscilloscope.py, to go along with the java
convention currently in place. We could leave the java tools in place
for now.
Here are the changes that would need to happen in the source tree:
1. add a support/sdk/python/tinyos/marionette directory with all
marionette libraries
2. add a few files to support/make (rpc.extra, nescDecls.extra, etc.)
3. a new directory with all of the codeGeneration scripts. This should
probably go into tools/tinyos/codeGeneration
4. change default PYTHONPATH wherever it is currently being set (is
there a .tinyosrc file?)
5. add tools for the basic tinyos apps, eg. oscilloscope, sense, tests,
etc.
6. add instructions to the basic "getting started" tutorials
feel free to forward this to tools and/or core for further discussion.
kamin
On Wed, May 21, 2008 at 5:56 PM, John Regehr <regehr at cs.utah.edu
<mailto:regehr at cs.utah.edu>> wrote:
Hi Kamin-
This sounds great. Is it in contrib?
Honestly I'm not sure what is the best venue for discussion.
Perhaps we discuss it internally and the run it past the core WG?
You have commit privileges to the tree?
Let's keep talking but latency on my side is about to increase, I'm
heading out of town for a week as of Thurs AM.
Thanks,
John
Kamin Whitehouse wrote:
Hi John,
I'd like to discuss with the tinyos tools working group the
possibility of integrating the "marionette" tools into the core
tinyos distribution, hopefully allowing python to replace java
as the default TinyOS toolchain for T2. The T1 version was
pretty widely used and the T2 version has already picked up
several users in its first few weeks of life. Overall, I think
it would make TinyOS programming much easier, and we have ideas
for how it would fit into the directory structure, etc.
Is there a best venue for this type of discussion?
Kamin
More information about the Tinyos-2.0wg
mailing list