Navigation |
Compiling Applications3. Compiling applicationsTinyOS users will find the environment familiar, the platform is programmed like any other TinyOS platform and compiled using the new platform names. For example to compile an application
Or for Sensinode Nano
3.1 Using InlineThe inline tool distributed along with this tool is documented in the README.inline file and here. The tool is executed as a pre compiler step between NescC and the 8051 compiler, to run it simple add the target inline to the commandline.
The inlining algorithm is tuned using a few command line arguments (run utah-inliner.pl and cilly.exe for full list). In particular the flag --auto honors the inline annotations from NescC while --smart uses a heuristics to decide when to inline. The arguments are passed to the inliner using the environment variable INLINE_FLAGS the default flags are as follows:
3.2 Extra targetsThe 8051 platforms define a few additional targets in addition to inline that can be added tot he command line. For example to cleanup any additional files created by Keil run the "clean" extra target:
For further information run
|