Hi, So currently I can have Zigbee and Deluge both working separately. However i tried to add Deluge compoent to my Zigbee application then the errors poped up. Is there a way that I can get a makefile to compile two separate folders but the program will work as one application. I am nto very familiar with how to use makefiels. Can someone help me out please? Thanks in advance.
Regards, Bai On Wed, Aug 19, 2009 at 2:20 PM, Razvan Musaloiu-E. <[email protected]>wrote: > Hi! > > On Wed, 19 Aug 2009, BAI LI wrote: > > Hi, >> >> I am testing the zigbee files under tinyos 2.x directory and tried to get >> deluge working as well. I got the following errors after I added >> "components >> DelugeC;" in AssociationExample.nc and "BOOTLOADER=tosboot" in Makefile. I >> have also copied volumes-stm25p.xml in the AssociationExample folder. >> Could >> anyone tell me what is wrong with the files please (Line 64, 65 and 68)? >> > > I'm not sure in what state is this AssociationExample. On the latest CVS > the compilation fails with the error: > > AssociationExampleM.nc:7:24: error: printfUART.h: No such file or > directory > > Thanks. >> >> e...@wsn /opt/tinyos-2.x/tos/lib/net/zigbee/apps/AssociationExample >> $ make telosb >> mkdir -p build/telosb >> tos-storage-stm25p /opt/tinyos-2.x/tos/platforms/telosb >> <volumes-stm25p.xml >> >>> build/telosb/StorageVolumes.h || rm -f build/telosb/StorageVolumes.h >>> >> compiling AssociationExample to a telosb binary >> ncc -o build/telosb/main.exe -Os -O >> -I/opt/tinyos-2.x/tos/lib/net/zigbee/ieee80 2154/includes >> -I/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/mac >> -I/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/phy >> -I/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/timerasync >> -I/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/interfaces >> -I/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/interfaces/mac >> -I/opt/tinyos-2.x/tos/lib/net/zigbee/ieee802154/interfaces/phy >> -I/opt/tinyos-2.x/tos/lib/net/zigbee/cc2420 -mdisable-hwmul -Wall -Wshadow >> -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= >> -DDEFINED_TOS_AM_GROUP=0x22 -Ibuild/telosb >> -DIDENT_APPNAME=\"AssociationExam\" -DIDENT_USERNAME=\"EIT\" >> -DIDENT_HOSTNAME=\"wsn\" -DIDENT_USERHASH=0xa200ffadL >> -DIDENT_TIMESTAMP=0x4a8b6ac2L -DIDENT_UIDHASH=0x00f400b1L -DDELUGE >> -I/opt/tinyos-2.x/tos/lib/net -I/opt/tinyos-2.x/tos/lib/net/drip >> -I/opt/tinyos-2.x/tos/lib/net/Deluge >> -I/opt/tinyos-2.x/tos/lib/net/Deluge/FlashVolumeManager >> -I/opt/tinyos-2.x/to! >> > s/lib/net/Deluge/BlockStorageManager > -I/opt/tinyos-2.x/tos/lib/net/Deluge/extra > -I/opt/tinyos-2.x/tos/lib/net/Deluge/extra/msp430 > -I/opt/tinyos-2.x/tos/lib/net/Deluge/extra/telos > -I/opt/tinyos-2.x/tos/lib/net/Deluge/extra/telosb > -Wl,--section-start=.text=0x4a00,--defsym=_reset_vector__=0x4000 > -DCC2420_DEF_RFPOWER=1 AssociationExample.nc -lm > >> In component `CC2420CsmaC': >> /opt/tinyos-2.x/tos/chips/cc2420/csma/CC2420CsmaC.nc:64: no match >> /opt/tinyos-2.x/tos/chips/cc2420/csma/CC2420CsmaC.nc:65: no match >> /opt/tinyos-2.x/tos/chips/cc2420/csma/CC2420CsmaC.nc:68: no match >> > > The relevant lines from CC2420CsmaC.nc are: > > 64 CsmaP.CC2420Transmit -> CC2420TransmitC; > 65 CsmaP.SubBackoff -> CC2420TransmitC; > > From what I see the zigbee is overwriting the CC2420TransmitC.nc and > CC2420TransmitP.nc with new versions in tos/lib/net/zigbee/cc2420. The new > CC2420TransmitC seems to provides a Sendframe interface instead of Send > interface. I don't much about these code so I don't know why there is this > mismatch. The guys working in the zigbee stack might be able to provide more > help: > > http://www.hurray.isep.ipp.pt/activities/ZigBee_WG/ > > All the best! > Razvan ME > > /opt/tinyos-2.x/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: #warning >> "*** LOW POWER COMMUNICATIONS DISABLED ***" >> /opt/tinyos-2.x/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:66:2: warning: >> #warning Accessing TimerA for ADC12 >> make: *** [exe0] Error 1 >> >> Regards, >> Bai >> >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
