[Tinyos-help] Add interfaces to TinyOS 2.x

Steve McKown rsmckown at yahoo.com
Fri Mar 9 07:07:13 PST 2007


Hi Filipe,

On Thursday 08 March 2007 02:49, Filipe Alves wrote:
> does anybody know what is needed to do so ncc, finds interfaces that are
> designed outside of the TinyOS 2.x tree,
> like to be used by new components.

In your Makefile, add a line like:

PFLAGS += -I<somedir>

where <somedir> is a path relative to the current directory when you issue the 
build, or a fully rooted path.  There are other techniques to insert other 
directories into a build, but they are more suitable if you plan to build 
cross-platform or cross-application components.

Cheers,
Steve


More information about the Tinyos-help mailing list