Nesc Declarations

From NESTFE Wiki

Jump to: navigation, search

Overview

"Nesc Declarations" are things like enums, types, structs, packet formats, rpc functions, module variables, etc. that the user declares in a nesc application. The "Nesc Declarations" script tries to avoid making the user re-declare these things in the pc-side tools by creating an XML file that contains all the nesc declarations in a nescApp. This file us currently being used with the Pytos Development Environment

Setting Up

In order to create the nescDecls.xml file, the user must invoke the nescDecls.extra file in their make process by either declaring "nescDecls" on the command line when making the application as follows

make telosb nescDecls 

or adding it to the GOALS variable in their makefile

GOALS+=nescDecls

For problems, the Pytos Installation Instructions may contain more details.

Personal tools