Hi, The IPBaseStation code is CC2420 specific, so it will not run on the iris. It's trivial, though, to change the code to work with the RF230. As far as I can tell, it uses the CC2420Config interface only to change the radio channel.
Janos On Fri, Mar 26, 2010 at 12:24 PM, David Li <[email protected]> wrote: > Hi, > > I got some error while compiling for Iris in tinyos-2.x apps/IPBasestation. > I thought Iris is supported. maybe this is my environment? > > 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=\"wdli\" -DIDENT_HOSTNAME=\"wdli-lenovo\" > -DIDENT_USERHASH=0x3715f01cL -DIDENT_TIMESTAMP=0x4bacebd9L > -DIDENT_UIDHASH=0x025d9cb2L -fnesc-dump=wiring > -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, > components)' -fnesc-dumpfile=build/iris/wiring-check.xml BaseStationC.nc -lm > Unknown target iris > Known targets for TinyOS directory ~/workspace/tinyos-2.x/tos > and the specified include directories are: > none. > make: *** [exe0] Error 2 > > > My env setup: > > TOSROOT="~/workspace/tinyos-2.x" > TOSDIR="$TOSROOT/tos" > CLASSPATH=$CLASSPATH:$TOSROOT/support/sdk/java > MAKERULES="$TOSROOT/support/make/Makerules" > CLASSPATH=$TOSROOT/support/sdk/java/tinyos.jar:. > > - David > > > On Fri, Mar 26, 2010 at 2:22 AM, Giuseppe Cardone > <[email protected]> wrote: >> >> Hi, >> >> if you have already installed nesc and the crosscompilers you don't >> need to reinstall them. You can follow the wiki instructions starting >> from step 3. >> >> Regards >> >> -- >> Giuseppe Cardone >> >> >> >> On Fri, Mar 26, 2010 at 3:48 AM, David Li <[email protected]> wrote: >> > Hi Guiseppe, >> > >> > Thanks for the link. I downloaded the cvs tree for 2.x. I have a >> > question >> > while reading the instructions in >> > >> > http://docs.tinyos.net/index.php/Installing_from_CVS/GIT >> > >> > If I have been using 2.1.0, do I still need to install as in step 1 and >> > 2 on >> > the same machine, ie. install the nesc compiler and install the >> > crosstools? >> > >> > Thanks. >> > >> > David >> > >> > >> > >> > >> > On Thu, Mar 25, 2010 at 8:10 AM, Giuseppe Cardone >> > <[email protected]> wrote: >> >> >> >> Hi, >> >> >> >> I suppose that the packages you installed are slightly out of date. >> >> You have two choices: >> >> >> >> 1) download the CVS tree of blip (refer to >> >> >> >> http://blog.xbow.com/xblog/2009/07/in-a-blip-pervasive-ip-has-arrived.html >> >> ) so you can integrate it into your current TinyOS environment >> >> 2) download the latest CVS tree of TinyOS 2.x, which by default >> >> includes blip (refer to >> >> http://docs.tinyos.net/index.php/Installing_from_CVS/GIT ) >> >> >> >> Hope this helps. >> >> >> >> -- >> >> Giuseppe Cardone >> >> >> >> >> >> >> >> On Thu, Mar 25, 2010 at 2:42 PM, David Li <[email protected]> wrote: >> >> > Hi, >> >> > I am not sure if anyone see my previous questions regarding Blip >> >> > package. I >> >> > am trying again to see if there can be any help. >> >> > Thanks. >> >> > David >> >> > >> >> > On Wed, Mar 24, 2010 at 8:45 AM, David Li <[email protected]> >> >> > wrote: >> >> >> >> >> >> Hi, >> >> >> >> >> >> I am currently using 2.1.0. I installed it on Ubuntu 9.10 by >> >> >> apt-get >> >> >> install. >> >> >> >> >> >> The BLIP tutorial mentioned the IPBasestation in $TOSROOT/apps but I >> >> >> couldn't find it. Can someone let me know where I can download or >> >> >> sync >> >> >> up to >> >> >> this app or maybe the entire Blip package? >> >> >> >> >> >> -- >> >> >> Regards, >> >> >> >> >> >> - David >> >> > >> >> > >> >> > >> >> > -- >> >> > Regards, >> >> > >> >> > - David >> >> > >> >> > _______________________________________________ >> >> > Tinyos-help mailing list >> >> > [email protected] >> >> > >> >> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> >> > >> > >> > >> > >> > -- >> > Regards, >> > >> > - David >> > > > > > -- > Regards, > > - David > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
