Hello all,
I am trying to simulate micaz in TOSSIM using TinyOS 1.1.15. I think
that this version supports that since I have read in
C:\tinyos\cygwin\opt\tinyos-1.x\beta\TOSSIM-CC2420 a README text file
that I should write the command make pc sim,micaz to work with that.
However, I obtain an error telling me that multiple targets are
specified. So, is possible to simulate micaz in TOSSIM without TinyOS
2.0.?? How??
This is the part of the README.txt that I mentioned
TOSSIM CC2420 Radio Simulation Project
Introduction:
- This directory contains components that engage a prototype emulator of
the CC2420 transciever hardware.
Usage notes:
- To use this instead of the standard AVR radio simulation, simply
compile your application with:
make pc sim,<platform>
where <platform> is either telos or micaz.
This is the error when I write make pc sim,micaz
$ make pc,sim micaz
/opt/tinyos-1.x/tools/make/pc/pc.rules:37: warning: overriding commands
for targ
et `exe'
/opt/tinyos-1.x/tools/make/avr/avr.rules:79: warning: ignoring old
commands for
target `exe'
/opt/tinyos-1.x/tools/make/pc/pc.rules:40: warning: overriding commands
for targ
et `exe0'
/opt/tinyos-1.x/tools/make/avr/avr.rules:82: warning: ignoring old
commands for
target `exe0'
/opt/tinyos-1.x/tools/make/pc/pc.rules:45: warning: overriding commands
for targ
et `builddir'
/opt/tinyos-1.x/tools/make/avr/avr.rules:87: warning: ignoring old
commands for
target `builddir'
mkdir -p build/pc
compiling to a pc binary
ncc -o build/pc/main.exe -g -O0 -tosdir=../../tos/ -I.
-I../tos/interfaces -I../
tos -I../tos/system -I../tos/lib/aodv -DINTERVAL=500
-finline-limit=100000 -Wal
l -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=micaz
-fnesc-cfile=build/m
icaz/app.c -board=micasb -pthread -fnesc-nido-tosnodes=1000
-fnesc-simulate -Wal
l -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=pc
-fnesc-cfile=build/pc/a
pp.c -board=micasb -DTOSH_DATA_LENGTH=112 -DCC2420_DEF_RFPOWER=1
-DCC2420_DEF_CH
ANNEL=26 -I%T/lib/Deluge -DIDENT_USER_ID=\"rdepaz\"
-DIDENT_HOSTNAME=\"ee-b294-1
98087\" -DIDENT_USER_HASH=0x0f3b0044L -DIDENT_UNIX_TIME=0x4730440bL
-DIDENT_UID_
HASH=0x8157eeeeL -I/opt/tinyos-1.x/tos/lib/CC2420Radio .nc -lm
multiple targets specified
make: *** [exe0] Error 2
Thanks in advance,
Rodolfo.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help