[Tinyos-devel] ZigBee implementation patch for MicaZ
Ricardo Severino
rars at isep.ipp.pt
Mon Jul 14 08:23:01 PDT 2008
Hi Stefano,
The error you get in the Test_APL application is related to the
declaration of the USER button. You see, only TelosB supports that
button (MICAz does not). If you disable that component it should compile
without any error.
kismet-sl at urpi:/opt/tinyos-2.x/tos/lib/net/zigbee/apps/Test_APL$ make micaz
mkdir -p build/micaz
compiling Test_APL to a micaz binary
ncc -o build/micaz/main.exe -Os
-I/opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/includes
-I/opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/macTDBS
-I/opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/phy
-I/opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/timerasyncTDBS
-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
-I/opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/interfaces/nwk
-I/opt/tinyos-2.x//tos/lib/net/zigbee/ieee802154/nwk -Wall -Wshadow
-Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb
-DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000
-DIDENT_APPNAME=\"Test_APL\" -DIDENT_USERNAME=\"kismet-sl\"
-DIDENT_HOSTNAME=\"urpi\" -DIDENT_USERHASH=0xb2d1ef9dL
-DIDENT_TIMESTAMP=0x487ab169L -DIDENT_UIDHASH=0x4226c061L
-fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())'
-fnesc-dump='referenced(interfacedefs, components)'
-fnesc-dumpfile=build/micaz/wiring-check.xml Test_APL.nc -lm
Test_APL.nc:17:24: error: UserButton.h: No such file or directory
<commandline>: failed to preprocess Test_APL.nc
make: *** [exe0] Error 1
Regarding the error in the AssociationExample application, I believe it
is related to the TOS version you are using. I am currently updating the
TOS tree with the latest release to check that. I believe some of the
CC2420 files changed in the meanwhile, and most probably I will have to
update the release with the new patch.
Cheers,
Ricardo
Regarding the error in
Stefano "Kismet" Lenzi wrote:
> 2008/7/10 Ricardo Severino <rars at isep.ipp.pt>:
>
>> Hi,
>>
>> Could you please send me the error you get during compilation? I am not
>> getting any error...
>>
>
> At the end I have of this e-mail you can find the error message in the
> Test_APL.txt file, the other file AssosactionExample.txt shows the
> error that I have fixed with my patch
>
>
>> Just to make sure, you tested with Test_APL application, right?
>>
>
> I first tried with other application in the apps folder but I have
> just reverted my changes and tried with Test_APL. I have noticed that
> with the Test_APL I get a different error for the micaz platform
>
>
>> Ricardo
>>
>
> Ciao,
> Stefano "Kismet" Lenzi
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rars.vcf
Type: text/x-vcard
Size: 161 bytes
Desc: not available
Url : https://www.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20080714/0cd76a0e/attachment.vcf
More information about the Tinyos-devel
mailing list