Upload
currofa
View
213
Download
0
Embed Size (px)
DESCRIPTION
Programming Tinyos
Citation preview
[Tinyos-help] Errors while using CC2420Config interfaceVikram vik76 vik76 at sify.comSat Nov 28 22:34:37 PST 2009
Previous message: [Tinyos-help] Errors while using CC2420Config interfaceNext message: [Tinyos-help] Errors while using CC2420Config interfaceMessages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
I couldn't understand and believe this.I was doing "make micaz sim" which gave all sorts o f errors that I mentionedin 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. < razvanm at cs.jhu.edu >wrote:
> Hi!>>> On Sat, 28 Nov 2009, Vikram vik76 wrote:>> Hello everybody,>>>> I want to use the CC2420Config interface for setti ng the channel using>> command void setChannel( uint8_t channel ); I als o 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)/chi ps/cc2420/control>> -I$(TOSDIR)/chips/cc2420/interfaces>>>>> What platform are you using? If you use one that i s using the cc2420 the> above includes should already be added by the .pla tform config file.>> --> Razvan ME>>>> After doing the above I get the following errors f or CC2420.h>> tinyos-2x/tos/chips/cc2420/CC2420.h:120: syntax er ror 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 er ror before `ack'>> tinyos-2x/tos/chips/cc2420/CC2420.h:122: syntax er ror before `timesync'>> tinyos-2x/tos/chips/cc2420/CC2420.h:132: syntax er ror 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] Errors while using CC2420Config interface http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2009-Novem...
1 de 2 30/05/2015 9:31
>>>>-------------- next part --------------An HTML attachment was scrubbed...URL: https://www.millennium.berkeley.edu/pipermail/tinyo s-help/attachments/20091129/a2429361/attachment.htm
Previous message: [Tinyos-help] Errors while using CC2420Config interfaceNext message: [Tinyos-help] Errors while using CC2420Config interfaceMessages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Tinyos-help mailing list
[Tinyos-help] Errors while using CC2420Config interface http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2009-Novem...
2 de 2 30/05/2015 9:31