Vikram,
Please see another recent post regarding this issue.
http://www.mail-archive.com/tinyos-help@millennium.berkeley.edu/msg30507.html
Thanks,
-Paul
Vikram vik76 wrote:
Hello,
I couldn't understand and believe this.
I was doing "make micaz sim" which gave all sorts of errors that I
mentioned in the first mail of this chain.
Just by chance, now I compiled using "make micaz", I got no errors.
Can anyone explain this to me please?
Thanks and Regards
Vikram
On Sat, Nov 28, 2009 at 3:35 PM, Razvan Musaloiu-E.
<razv...@cs.jhu.edu <mailto:razv...@cs.jhu.edu>> wrote:
Hi!
On Sat, 28 Nov 2009, Vikram vik76 wrote:
Hello everybody,
I want to use the CC2420Config interface for setting the
channel using
command void setChannel( uint8_t channel ); I also call the
sync() and have
implemented syncDone().
In my module I included the code
uses interface CC2420Config;
For wiring I use this code
components CC2420ControlC;
App.CC2420Config -> CC2420ControlC;
In makefile I included
PFLAGS += -I$(TOSDIR)/chips/cc2420
-I$(TOSDIR)/chips/cc2420/control
-I$(TOSDIR)/chips/cc2420/interfaces
What platform are you using? If you use one that is using the
cc2420 the above includes should already be added by the .platform
config file.
--
Razvan ME
After doing the above I get the following errors for CC2420.h
tinyos-2x/tos/chips/cc2420/CC2420.h:120: syntax error before
`nx_bool'
tinyos-2x/tos/chips/cc2420/CC2420.h:120: warning: no semicolon
at end of struct or union
tinyos-2x/tos/chips/cc2420/CC2420.h:121: syntax error before `ack'
tinyos-2x/tos/chips/cc2420/CC2420.h:122: syntax error before
`timesync'
tinyos-2x/tos/chips/cc2420/CC2420.h:132: syntax error before `}'
tinyos-2x/tos/chips/cc2420/CC2420.h:132: warning: type
defaults to `int' in declaration of `cc2420_metadata_t'
tinyos-2x/tos/chips/cc2420/CC2420.h:132: warning: data
definition has notype or storage class
Also the following errors
/tinyos-2x/tos/chips/cc2420/control/CC2420ControlC.nc:62:
component AlarmMultiplexC not found
tinyos-2x/tos/chips/cc2420/control/CC2420ControlC.nc:73:
component CC2420SpiC not found
Also several other errors which I am not listing.
I wonder whether I have missed some important step.
Please help.
------------------------------------------------------------------------
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help