And is there any simulation tools supporting telosb platform?

Thanks

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Miklos
Maroti
Sent: Wednesday, December 21, 2011 4:48 PM
To: Tao Zheng
Cc: [email protected]
Subject: Re: [Tinyos-help] errors in 'make telosb sim'

tossim works only for the micaz platform.

On Wed, Dec 21, 2011 at 7:46 AM, Tao Zheng <[email protected]> wrote:
> Hey, all
>
>
>
> In apps of Blink, I can compile tossim on platform micaz using 
> commands ‘#make micaz sim’.
>
> But when I change platform in telosb, there are some errors as 
> following,
>
> root@debian:/opt/tinyos-2.1.1/apps/Blink# make telosb sim
>
> mkdir -p simbuild/telosb
>
>   placing object files in simbuild/telosb
>
>   writing XML schema to app.xml
>
>   compiling BlinkAppC to object file sim.o
>
> ncc -c -shared -fPIC -o simbuild/telosb/sim.o -g -O0 -O -tossim
> -fnesc-nido-tosnodes=1000 -fnesc-simulate
> -fnesc-nido-motenumber=sim_node\(\) -fnesc-gcc=gcc -mdisable-hwmul 
> -Wall -Wshadow -Wnesc-all -target=telosb 
> -fnesc-cfile=simbuild/telosb/app.c
> -board= -DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"BlinkAppC\"
> -DIDENT_USERNAME=\"root\" -DIDENT_HOSTNAME=\"debian\"
> -DIDENT_USERHASH=0x0dbc5c03L -DIDENT_TIMESTAMP=0x4ef1806fL 
> -DIDENT_UIDHASH=0x8786a72dL -I/usr/include/python2.6/ 
> -Wno-nesc-data-race BlinkAppC.nc   -fnesc-dump=components 
> -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs 
> -fnesc-dump=interfacedefs -fnesc-dump=tags -fnesc-dumpfile=app.xml
>
> Unknown target telosb
>
> Known targets for TinyOS directory /opt/tinyos-2.1.1/tos
>
> and the specified include directories are:
>
>   micaz telosb mica2dot telosa intelmote2 null epic shimmer2 iris 
> shimmer
> mica2 tinynode eyesIFXv2 eyesIFXv1 mulle
>
> make: *** [sim-exe] Error 2
>
>
>
> I don't know why?
>
>
>
> Any suggestion is accepted and helpful.
>
>
>
> Thanks very much.
>
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-he
> lp


_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to