Hi,
I can't compile TestTimerSync with cc2420x stack and LPL enabled. I'm
using the latest svn source. Could someone please confirm the issue?
Below is the compilation output. The makefile is modified with CFLAGS
+= -DLOW_POWER_LISTENING. I've check LowPowerListeningLayerP.nc:92,
but I can't see the problem. Either it's somewhere else or my env
setup is causing the trouble.
ubuntu@ubuntu-VirtualBox:/opt/tinyos-main/apps/tests/TestTimerSync$
make telosb cc2420x
mkdir -p build/telosb
compiling TestTimerSyncAppC to a telosb binary
ncc -o build/telosb/main.exe -Os -O
-I/opt/tinyos-main/tos/platforms/telosa/chips/cc2420x/tmicro
-I/opt/tinyos-main/tos/platforms/telosa/chips/cc2420x/tmicro/am
-I/opt/tinyos-main/tos/platforms/telosa/chips/cc2420x
-I/opt/tinyos-main/tos/chips/cc2420x
-I/opt/tinyos-main/tos/lib/rfxlink/layers
-I/opt/tinyos-main/tos/lib/rfxlink/util -mdisable-hwmul
-fnesc-separator=__ -Wall -Wshadow -Wnesc-all -target=telosb
-fnesc-cfile=build/telosb/app.c -board= -DDEFINED_TOS_AM_GROUP=0x22
-DLOW_POWER_LISTENING -DIDENT_APPNAME=\"TestTimerSyncAp\"
-DIDENT_USERNAME=\"ubuntu\" -DIDENT_HOSTNAME=\"ubuntu-VirtualB\"
-DIDENT_USERHASH=0x9a1c8f22L -DIDENT_TIMESTAMP=0x4dfb7eceL
-DIDENT_UIDHASH=0x340cc967L TestTimerSyncAppC.nc -lm
/opt/tinyos-main/tos/chips/cc2420x/CC2420XRadioC.nc:190:3: warning:
#warning "*** USING LOW POWER LISTENING LAYER"
In file included from
/opt/tinyos-main/tos/lib/rfxlink/layers/LowPowerListeningLayerC.nc:60,
from /opt/tinyos-main/tos/chips/cc2420x/CC2420XRadioC.nc:191,
from
/opt/tinyos-main/tos/chips/cc2420x/CC2420XActiveMessageC.nc:75,
from
/opt/tinyos-main/tos/platforms/telosa/chips/cc2420x/tmicro/am/ActiveMessageC.nc:55,
from TestTimerSyncAppC.nc:63:
In component `LowPowerListeningLayerP':
/opt/tinyos-main/tos/lib/rfxlink/layers/LowPowerListeningLayerP.nc:92:
syntax error before `0x08'
make: *** [exe0] Error 1
Regards,
Wojtek
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help