|
Dear all, The patch sim-cygwin.extra works with RadioCountToLeds Application. But still there are some problems when wiring to CC2420 HAL layer components. I modified the Application to use the interface CC2420Metadata and wired this to CC2420ActiveMessageC. Just adding these code causes compiling error (appended at the end of mail). Including CC2420.h result in similar condition. There is no problem in compling the complete program with 'make micaz' command. And Motes uploaded with this image function properly. Thank you, in advance. The error message: ... warnings on shadowed vars ... In C file: D:/cygwin/opt/tinyos-2.x/tos/chips/cc2420/CC2420.h: At top level: D:/cygwin/opt/tinyos-2.x/tos/chips/cc2420/CC2420.h:58: syntax error before `nx_b ool' D:/cygwin/opt/tinyos-2.x/tos/chips/cc2420/CC2420.h:58: warning: no semicolon at end of struct or union D:/cygwin/opt/tinyos-2.x/tos/chips/cc2420/CC2420.h:59: syntax error before `ack' D:/cygwin/opt/tinyos-2.x/tos/chips/cc2420/CC2420.h:60: `time' redeclared as diff erent kind of symbol /usr/include/time.h:49: previous declaration of `time' D:/cygwin/opt/tinyos-2.x/tos/chips/cc2420/CC2420.h:61: syntax error before `}' D:/cygwin/opt/tinyos-2.x/tos/chips/cc2420/CC2420.h:61: warning: type defaults to `int' in declaration of `cc2420_metadata_t' D:/cygwin/opt/tinyos-2.x/tos/chips/cc2420/CC2420.h:61: warning: data definition has no type or storage class In file included from D:/cygwin/opt/tinyos-2.x/tos/chips/cc2420/CC2420CsmaC.nc:5 7, from D:/cygwin/opt/tinyos-2.x/tos/chips/cc2420/CC2420ActiveMess ageC.nc:59, from RadioCountToLedsAppC.nc:60: In component `CC2420CsmaP': D:/cygwin/opt/tinyos-2.x/tos/chips/cc2420/CC2420CsmaP.nc:79: syntax error before `*' |
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
