nesC (pronounced "NES-see") is an extension to the C programming language designed to embody the structuring concepts and execution model of TinyOS. TinyOS is an event-driven operating system designed for sensor network nodes that have very limited resources (e.g., 8K bytes of program memory, 512 bytes of RAM).
To build nesC from source requires the following packages:
- automake
- autoconf (2.64 or 2.69 or later. 2.67 and 2.68 are known not to work.)
- emacs (not version 24.3)
- gperf
- bison
- flex
./Bootstrap
./configure
make
make install
Please reference man nescc
.
If a filename is provided with the option -get-calls=<filename>
, the callgraph and variables of modules are dumped as a Json file.