Hello,
I've been in the processing of converting the cricket platform file to
behave more like the mica2 to add mesh support. When I go to compile, I get
the following output:
mkdir -p build/cricket
compiling XMeshCountToLeds to a cricket binary, using binary components
ncc -o build/cricket/main.exe -Os -finline-limit=100000
-I%T/platform/cricket -I%T/lib/Queue -I%T/sensorboards/micasb
-I%T/lib/Broadcast -I%T/lib/XLib -DFREQ_433_MHZ -DROUTE_PROTOCOL=0x90
-I%T/radio/cc1000hp -I%T/lib/XMeshBin -DMULTIHOPROUTER=XMeshBinaryRouter
-Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7D -Wnesc-all -target=cricket
-fnesc-cfile=build/cricket/app.c -board=micasb -DTOSH_DATA_LENGTH=49
-DIDENT_PROGRAM_NAME="XMeshCountToLeds"
-DIDENT_PROGRAM_NAME_BYTES="88,77,101,115,104,67,111,117,110,116,84,111,76,101,100,115,0"
-DIDENT_USER_ID="Administrator"
-DIDENT_USER_ID_BYTES="65,100,109,105,110,105,115,116,114,97,116,111,114,0"
-DIDENT_HOSTNAME="b768812" -DIDENT_HOSTNAME_BYTES="98,55,54,56,56,49,50,0"
-DIDENT_USER_HASH=0x602654d3L -DIDENT_UNIX_TIME=0x46ae2b5cL
-DCC1K_DEFAULT_FREQ=RADIO_433BAND_CHANNEL_100 -DRADIO_XMIT_POWER=0xFF
XMeshCountToLeds.nc -L/opt/MoteWorks/tos/lib/XMeshBin
/opt/MoteWorks/tos/lib/XMeshBin/XMesh_mica2.O -lm
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccL8aTbc.o(.text+0x20e0): In
function `main':
: undefined reference to `TOSH_sleep'
make: *** [exe0] Error 1
Now, I know it has to do with the cricket being considered as a mica2 at
some point, and that function not being defined for mica2, but I'm not sure
where I need to make the change so that it can find that function.
Thanks,
Chris
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help