[Tinyos-help] Building Lib on top of TinyOS
Greg Hackmann
gwh2 at cse.wustl.edu
Wed Apr 1 11:43:39 PDT 2009
On 4/1/09 1:25 PM, Tobias Baumgartner wrote:
> Can I either make sure that nesc does not create the "static" keywords
> or is there another approach of "using" a TinyOS from the outside?
>
>
> Best,
> Tobias
nesC has a "@C" attribute (see Section 9.1 of the TinyOS Programming
Guide) which you can use to make a nesC function callable from C code.
You'll also want to use the "@spontaneous" attribute to make sure that
nesC doesn't prune the function as dead code.
Greg Hackmann
More information about the Tinyos-help
mailing list