|
Hy Sumit,
are you sure that you really compiled your
edited component?
If you are using Boomerang try using make tmote fileset
to generate a textfile "fileset.txt" in Surge/build/tmote that lists
the used components and headers including the location of each
source file, e.g. MultiHopRouter.nc.
Then you can see if your new file/componet was used
or not.
Another way, if you don't use Boomerang, could
be to compare
your source code with the generated app.c
file in Surge/build/tmote.
E.g. your new variables without declaration should
show up here.
Regards,
OLE
----- Original Message -----
Sent: Thursday, September 14, 2006 9:05
AM
Subject: [Tinyos-help] Strange Compling
Behavior of TinyOS. HELP.
I am trying to compile the application (Surge) which uses
MultiHopRouter.nc component for its routing algorithm. This component's module
file is MultiHopRouteM.nc. In this component when I made changes according to
my need in MultiHopRouteM.nc, but changes were not reflected on my motes when
I ran the application on test bed. As a result I got suspecious and
delebrately made some compile time errors in the file. Despite of the fact I
made erroneous changes and irrespective of type of errors I introduced (like
using new variables without declaration etc), the application got compiled.
Even though I changed the name of MultiHopRouteM.nc file to
MultiHopRouterM.nc it still compiled without detecting errors.
Then finally I changed the name of component in all files to
MultiHopRouterM.nc from MultiHopRouteM.nc, thinking that it might be
refereing component with same name from other directory, it still compiled
with errors in file. I got this thing compiled in different platforms
too.
Its funny and strange. Can anyone throw some light on it?
I
am confused what to do to make changes effective in my application. This file
is located in :../tinyos-1.x/tos/lib/Route/
directory. One more thing I would like to tell that I am trying to
compile it with nucleus specification. Is it happening because of
that?
Please help.
Regards, Sumit
_______________________________________________ Tinyos-help mailing
list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
|