[Tinyos-devel] Include paths

Sean Walton swalton at cs.utah.edu
Fri Sep 15 05:49:50 PDT 2006


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


More information about the Tinyos-devel mailing list