Yes tos.h is automagically included and that pulls in all sorts
of other files that you might not expect...adding a "-v" to the
ncc command line will dump a bunch of information about what is
being used, but I'm still not sure about the implicit search order.
I know that micaz begets mica2 begets mica begets avrmote...

MS

Sean Walton wrote:
Can anyone tell me how nesC determines which files to include when compiling a file. It appears that tos.h is included by default; are there other files included by default? I noticed that the paths look something like:
$TOSDIR + /system
$TOSDIR + /platform/ + $PLATFORM
But, this left out a reference to avrhardware.h when compiling with mica2. Is there a table that associates $PLATFORM to $TOSDIR/platform/avrmote?
What is the include path?

Thanks!
-Sean Walton

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to