[Tinyos-commits] CVS: tinyos-1.x/tools/scripts/codeGeneration
generateNescDecls.pl, 1.1, 1.2
Kamin Whitehouse
kaminw at users.sourceforge.net
Thu Jan 12 14:50:47 PST 2006
Update of /cvsroot/tinyos/tinyos-1.x/tools/scripts/codeGeneration
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10273/scripts/codeGeneration
Modified Files:
generateNescDecls.pl
Log Message:
This should help Pytos startup three times faster.
It also allows poking and peeking of global ram symbols, like TOS_AM_GROUP, through the new app.ramSymbols.Globals object.
Most of this patch is from Henri Dubois-ferriere from switzerland
Index: generateNescDecls.pl
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/tools/scripts/codeGeneration/generateNescDecls.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** generateNescDecls.pl 23 Sep 2005 10:16:41 -0000 1.1
--- generateNescDecls.pl 12 Jan 2006 22:50:44 -0000 1.2
***************
*** 172,176 ****
my ($addr,$size,$sym) = ($1,$2,$3);
my $name = $sym;
! if ($name =~ m/\$/ && hex($size) > 0){
my $nameRegexp = $name;
$nameRegexp =~ s/\$/\\\$/;
--- 172,176 ----
my ($addr,$size,$sym) = ($1,$2,$3);
my $name = $sym;
! if (hex($size) > 0){
my $nameRegexp = $name;
$nameRegexp =~ s/\$/\\\$/;
More information about the Tinyos-commits
mailing list