[Tinyos-2-commits] CVS: tinyos-2.x/tools/tinyos/ncc nesdoc.in, 1.2,
1.3
David Gay
idgay at users.sourceforge.net
Fri Jun 1 16:07:22 PDT 2007
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/doc/html/tutorial lesson1.html,
1.5, 1.6
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/tools/tinyos/ncc/nesdoc-py
archive.py, 1.2, 1.3 components.py, 1.2, 1.3 genhtml.py, 1.2,
1.3 graph.py, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/tinyos/tinyos-2.x/tools/tinyos/ncc
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv26597
Modified Files:
nesdoc.in
Log Message:
add -app option to nesdoc to generate app-level graphs
Index: nesdoc.in
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tools/tinyos/ncc/nesdoc.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** nesdoc.in 12 Jul 2006 17:00:55 -0000 1.2
--- nesdoc.in 1 Jun 2007 23:07:20 -0000 1.3
***************
*** 94,97 ****
--- 94,101 ----
$strip = 1;
}
+ elsif (/^-app$/) {
+ $app = 1;
+ $strip = 1;
+ }
}
push @ncc_args, $_ if !$strip;
***************
*** 121,124 ****
--- 125,129 ----
unshift @ncc_args, "-fsyntax-only";
+ unshift @ncc_args, "-fnesc-dump=wiring" if $app;
unshift @ncc_args, "-fnesc-dump=interfacedefs";
unshift @ncc_args, "-fnesc-dump=components(wiring)";
***************
*** 145,148 ****
--- 150,154 ----
push @archive_args, "--topdir=$toscontainer";
push @archive_args, "--preserve" if $preserve;
+ push @archive_args, "--app" if $app;
push @archive_args, "$docdir";
unshift @archive_args, "$libprogs/nesdoc/archive.py";
***************
*** 173,176 ****
--- 179,186 ----
nesdoc -o <documentation directory> -html
Generate nesdoc html pages from archived nesdoc information.
+
+ nesdoc -o <documentation directory> -app <ncc options and nesC file>
+ Compile specified nesC application and generate a wiring graph
+ for the whole program in the current directory.
EOM
)
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/doc/html/tutorial lesson1.html,
1.5, 1.6
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/tools/tinyos/ncc/nesdoc-py
archive.py, 1.2, 1.3 components.py, 1.2, 1.3 genhtml.py, 1.2,
1.3 graph.py, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-2-commits
mailing list