[Tinyos-devel] cc2420 radio stack and deputy

David Gay dgay42 at gmail.com
Tue Jun 24 09:58:34 PDT 2008


On Tue, Jun 24, 2008 at 9:17 AM, Vlado Handziski
<handzisk at tkn.tu-berlin.de> wrote:
> I can't explain why we are getting different warnings, but I am still
> getting:
>
> /home/hanjo/tos/tinyos-2.x/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning:
> #warning "*** LOW POWER COMMUNICATIONS DISABLED ***"
> /home/hanjo/tos/tinyos-2.x/tos/chips/cc2420/transmit/CC2420TransmitP.nc: In
> function `CC2420TransmitP$CaptureSFD$captured':
> /home/hanjo/tos/tinyos-2.x/tos/chips/cc2420/transmit/CC2420TransmitP.nc:275:
> warning: passing arg 2 of `CC2420TransmitP$TXFIFO_RAM$write' from
> incompatible pointer type
> /home/hanjo/tos/tinyos-2.x/tos/system/SchedulerBasicP.nc: In function
> `SchedulerBasicP$Scheduler$init':
> /home/hanjo/tos/tinyos-2.x/tos/system/SchedulerBasicP.nc:117: warning:
> passing arg 1 of `memset' discards qualifiers from pointer target type
> /home/hanjo/tos/tinyos-2.x/tos/chips/cc2420/csma/CC2420CsmaP.nc: In function
> `CC2420CsmaP$Send$send':
> /home/hanjo/tos/tinyos-2.x/tos/chips/cc2420/csma/CC2420CsmaP.nc:138:
> warning: assignment from incompatible pointer type
> /home/hanjo/tos/tinyos-2.x/tos/chips/cc2420/csma/CC2420CsmaP.nc:139:
> warning: assignment from incompatible pointer type
> /home/hanjo/tos/tinyos-2.x/tos/lib/timer/TransformCounterC.nc: In function
> `TransformCounterC$0$Counter$get':
> /home/hanjo/tos/tinyos-2.x/tos/lib/timer/TransformCounterC.nc:70: warning:
> `rv' might be used uninitialized in this functio
>

Deputy causes a bunch of warnings - I haven't had time to look into
them (John?). Something we should fix after this release, I suggest.

David


More information about the Tinyos-devel mailing list