You can only do all that in a shell script. Have it take in the application path as an argument, go there, compile the app for tossim, and execute python or compile c for the simulation.
David On Thu, Mar 6, 2008 at 12:37 PM, Lisa DiPippo <[EMAIL PROTECTED]> wrote: > > > > > I used TinyOS a few years ago and using it with TOSSIM was very simple. All > I had to do was type: > > > > make pc > > > > and then run the executable file that was created in the build directory. > > > > I am starting with TinyOS again (using it in a class I am teaching) and it > seems that this option to run a simulation no longer exists. I understand > that I have to use: > > > > make micaz sim > > > > Which creates object code that can be accessed using a python script. > > > > Here is my question: Is there one general script that will work to run a > simulation if given the number of nodes and a few other simple parameters? > I know that python is not difficult to use, but my students are just > learning to program in TinyOS and I want to make the rest of the environment > as simple as possible. I have looked at the TOSSIM tutorial (Lesson 11), > and that was somewhat helpful. But I was hoping there was a script that I > could start with that would run, say, the Blink application, and then make > minor modifications to, or better, pass parameters to it to run other > applications. > > > > Any ideas? > > > > Thanks!! > > > > Lisa > > > _______________________________________________ > 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
