Just a couple tidbits...

nesc -v   will list all the included files, but won't give you the
dependencies you want. You might be able to do some binary searching
by eliminating source files though.

You can also try grepping clock.h in all the source directories,
or use Eclipse or other IDE search facilities. As far as I know
only tos.h is included automagically, without any reference in
a source file.

But why fight nature? Can't you use the common defs in the TOS header
and just add whatever you need in yours?

MS

Michael Collett wrote:


Hi,

Thanks for the advice on registers. I’m still trying to get Timer3 to work on my MicaZ using TinyOs-1.x though:

1) Can I first check that I have the general shape of the components and interfaces right:

HPLTimer3M.nc (with HPLTimer3.h)

/ *Clock16.nc /

Clock3C.nc (with Clock3.h)

/ *Clock16.nc /

Timer3M.nc (with Timer3.h)

/ *Timer3.nc /

Timer3C.nc

/ *Timer3.nc /

MyApplicationM.nc

(*Interface.)

2) Another problem I’m having is that many of the variables I’m trying to use are already defined in Clock.h etc. I’m trying to fix it so that only my version: Clock3.h is included. Despite having accounted for this in all the files involved in my application, when compiling Clock.h is still taken from platform/mica128. This also occurs with HPLTimer1, despite the fact I’ve not included it in any of my application components.

I could rename all the variables, but I want to make sure that I’m not using the wrong version of the header files somewhere along the line.

Is there a component which uses a timer which I may be overlooking (Something which is always included at compilation)?

Thanks,

Mike

******************************************
Wireless Communications
Enabling Metrology Division
National Physical Laboratory
Hampton road
Teddington
United Kingdom
TW11 0LW
0208 943 6771
www.npl.co.uk
******************************************



-------------------------------------------------------------------
This e-mail and any attachments may contain confidential and/or
privileged material; it is for the intended addressee(s) only.
If you are not a named addressee, you must not use, retain or
disclose such information.

NPL Management Ltd cannot guarantee that the e-mail or any
attachments are free from viruses.

NPL Management Ltd. Registered in England and Wales. No: 2937881
Registered Office: Serco House, 16 Bartley Wood Business Park,
Hook, Hampshire, United Kingdom RG27 9UY
-------------------------------------------------------------------


------------------------------------------------------------------------

_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to