[Tinyos-help] Blip on Iris mote?

TheMrOrange themrorange at gmail.com
Fri Apr 23 05:11:12 PDT 2010


Hi,
I've got the same problem compiling IPBaseStation on iris. One problem  
more, everybody know that motelist is not working with IRIS so I use  
dmesg to understand which ttyUSBx is used by iris device and I usually  
see 2 ttyUSBx used by one single IRIS. It looks strange to me, isn't  
it?.
btw, I can compile and use UDPEcho in a network whit a telosb as edge- 
router.
this is the error that I get compiling IPBaseStation on IRIS (let me  
know if is the same or if you work it out):
root at cvis:/opt/tinyos-2.1.1/apps/IPBaseStation# make iris install  
mib520,/dev/ttyUSB0
mkdir -p build/iris
     compiling BaseStationC to a iris binary
ncc -o build/iris/main.exe  -Os -fnesc-separator=__ -Wall -Wshadow - 
Wnesc-all -target=iris -fnesc-cfile=build/iris/app.c -board=micasb - 
DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000 - 
DNO_IP_MALLOC  -DIEEE154FRAMES_ENABLED -DIDENT_APPNAME=\"BaseStationC 
\" -DIDENT_USERNAME=\"root\" -DIDENT_HOSTNAME=\"cvis\" - 
DIDENT_USERHASH=0x97cdc96bL -DIDENT_TIMESTAMP=0x4bd07f6fL - 
DIDENT_UIDHASH=0xc195f916L -fnesc-dump=wiring -fnesc-dump='interfaces(! 
abstract())' -fnesc-dump='referenced(interfacedefs, components)' - 
fnesc-dumpfile=build/iris/wiring-check.xml BaseStationC.nc -lm
BaseStationP.nc:68:20: error: CC2420.h: No such file or directory
BaseStationP.nc:72:21: error: devconf.h: No such file or directory
BaseStationP.nc:73:24: error: lib6lowpan.h: No such file or directory
In file included from BaseStationC.nc:100:
In component `BaseStationP':
BaseStationP.nc:91: interface IPAddress not found
In file included from BaseStationC.nc:100:
BaseStationP.nc:98: interface CC2420Config not found
In file included from BaseStationC.nc:100:
BaseStationP.nc:113: `BLIP_L2_RETRIES' undeclared here (not in a  
function)
BaseStationP.nc:114: `BLIP_L2_DELAY' undeclared here (not in a function)
BaseStationP.nc:123: syntax error before `*'
BaseStationP.nc: In function `configureReply.runTask':
BaseStationP.nc:154: `reply' undeclared (first use in this function)
BaseStationP.nc:154: (Each undeclared identifier is reported only once
BaseStationP.nc:154: for each function it appears in.)
BaseStationP.nc:154: interface has no command or event named  
`getShortAddr'
BaseStationP.nc: In function `Boot.booted':
BaseStationP.nc:192: `reply' undeclared (first use in this function)
BaseStationP.nc:192: `config_reply_t' undeclared (first use in this  
function)
BaseStationP.nc:192: syntax error before `)'
BaseStationP.nc: In function `SerialControl.startDone':
BaseStationP.nc:211: `reply' undeclared (first use in this function)
BaseStationP.nc:211: `CONFIG_ERROR_BOOTED' undeclared (first use in  
this function)
BaseStationP.nc: In function `ConfigureReceive.receive':
BaseStationP.nc:398: `config_cmd_t' undeclared (first use in this  
function)
BaseStationP.nc:398: `cmd' undeclared (first use in this function)
BaseStationP.nc:399: syntax error before `error'
BaseStationP.nc:407: syntax error before `)'
BaseStationP.nc:410: `CONFIG_ECHO' undeclared (first use in this  
function)
BaseStationP.nc:410: case label does not reduce to an integer constant
BaseStationP.nc:412: `CONFIG_SET_PARM' undeclared (first use in this  
function)
BaseStationP.nc:412: case label does not reduce to an integer constant
BaseStationP.nc:413: interface has no command or event named  
`setChannel'
BaseStationP.nc:415: interface has no command or event named  
`setShortAddr'
BaseStationP.nc:416: interface has no command or event named `sync'
BaseStationP.nc:420: `CONFIG_REBOOT' undeclared (first use in this  
function)
BaseStationP.nc:420: case label does not reduce to an integer constant
BaseStationP.nc:423: `CONFIG_KEEPALIVE' undeclared (first use in this  
function)
BaseStationP.nc:423: case label does not reduce to an integer constant
BaseStationP.nc:427: `reply' undeclared (first use in this function)
BaseStationP.nc:427: `error' undeclared (first use in this function)
BaseStationP.nc: At top level:
BaseStationP.nc:434: `syncDone' is not in interface `CC2420Config'
BaseStationP.nc: In function `ConfigureTimer.fired':
BaseStationP.nc:444: `config_reply_t' undeclared (first use in this  
function)
In file included from /opt/tinyos-2.1.1/tos/lib/serial/ 
Serial802_15_4C.nc:43,
                  from BaseStationC.nc:102:
In component `SerialPacketInfo802_15_4P':
/opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc: In  
function `Info.offset':
/opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:38:  
`cc2420_header_t' undeclared (first use in this function)
/opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc: In  
function `Info.dataLinkLength':
/opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:41:  
`cc2420_header_t' undeclared (first use in this function)
/opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:41:  
`cc2420_footer_t' undeclared (first use in this function)
/opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc: In  
function `Info.upperLength':
/opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:44:  
`cc2420_header_t' undeclared (first use in this function)
/opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:44:  
`cc2420_footer_t' undeclared (first use in this function)
Reset.h:56:2: error: #error "Reset.h not defined/supported for your  
platform, aborting..."
In component `BaseStationC':
BaseStationC.nc: At top level:
BaseStationC.nc:126: component SerialDevConfC not found
BaseStationC.nc:133: component IPAddressC not found
BaseStationC.nc:136: component CC2420ControlC not found
BaseStationC.nc:127: no match
BaseStationC.nc:128: no match
BaseStationC.nc:134: no match
BaseStationC.nc:137: no match
make: *** [exe0] Error 1

> Hi,
>
> Anyone is using Blip on Iris mote?
>
> I downloaded the tinyos-2.x but couldn't compile IPBasestation for  
> Iris
> target. The tutorial says Iris is one of the supported platforms. I  
> wonder
> if I did something incorrectly.
>
> -- 
> Regards,
>
> - David


More information about the Tinyos-help mailing list