On 2/6/06, Martin Gercke <[EMAIL PROTECTED]> wrote: > Hi, > > I read a lot about includes and #include and how it should be dealt with > in Tinyos 2.x > Since I am working with Tinyos 1.x (nesc. 1.1.2) I am interested to know > about the restrictions and the right way to do this.
If you want to use #include, you must use nesC 1.2 (current version is 1.2.4). I suspect I need to a pass on the 1.x stuff to make sure it's happy with the new 2.x toolchain, so you might want to wait a bit if you want to use nesC 1.2. David Gay PS: macros defined in files loaded with includes are available from the *next* .nc file loaded. Not very intuitive, I agree (hence the switch to #include). _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
