[Tinyos Core WG] Re: Printf

Kevin Klues klueska at gmail.com
Tue Oct 24 14:05:44 PDT 2006


I can move the include into the makefile, I just had it in the
.platform file since that is where most of the other directories under
lib had been included.  Where does it make the most sense though?  If
you only plan on using it at the application level, then it makes
sense in the makefile, if you plan on using it to debug lower level
components, however, it is convenient to have it in the .platform file
so that you don't have to remember to include it in every application
that you are trying to compile.

I noticed that the lib/net folder has to be included in the makefile
for the application as well if you plan on doing routing.  Is this so
that a different routing scheme can be chosen at compile time rather
than hardwiring a default one for use?  I think this may be confusing
for someone who doesn't care about which routing scheme is used, just
that it works.  It may make sense to include this folder as well in
the .platform file or mabye a .defaults file for the platform that
sets up the default locations of particular services.  Other
interchangable directories could be for peforming different mac
protocols, etc. I'm not suggesting to do this necessarily before the
release but it may be something worth thinking about.

Kevin

On 10/24/06, Philip Levis <pal at cs.stanford.edu> wrote:
> On Oct 24, 2006, at 1:39 PM, Kevin Klues wrote:
>
> > You will also have to add the appropriate
> >
> > %T/lib/printf
> >
> > line to your .platform file.  Currently it is only checked in for
> > telosb
>
> Should this be added to all .platforms as an inherent part of TinyOS?
> Or is it an application-level thing?
>
> Phil
>


-- 
~Kevin


More information about the Tinyos-2.0wg mailing list