Hello all : I see on http://www.cs.berkeley.edu/~jwhui/research/deluge/faq.html that mica2 is supported by deluge in tinyos1.x . now i am using tinyos2.x cvs, when i use '"make mica2" in the directory of D:\cygwin\opt\tinyos-2.x\tos\lib\TOSBoot , there are some errors as follows:
mkdir -p build/mica2 compiling TOSBoot to a mica2 binary ncc -o build/mica2/main.exe -Os -DNESC_BUILD_BINARY -Wall -Wshadow -Wnesc-all -target=mica2 -fnesc-cfile=build/mica2/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 -finline-limit=100000 -DIDENT_APPNAME=\"TOSBoot\" -DIDENT_USERNAME=\"zhangjiwen\" -DIDENT_HOSTNAME=\"zjw\" -DIDENT_USERHASH=0x0eac215cL -DIDENT_TIMESTAMP=0x4807508cL -DIDENT_UIDHASH=0x2b5d32beL -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, components)' -fnesc-dumpfile=build/mica2/wiring-check.xml TOSBoot.nc -lm TOSBoot.nc:31: C file Deluge not found TOSBoot.nc:32: C file DelugePageTransfer not found TOSBoot.h:31:30: TOSBoot_platform.h: No such file or directory TOSBoot.nc:33: failed to preprocess TOSBoot.h TOSBootM.nc:155:4: #error "Target platform is not currently supported by Deluge T2" In component `TOSBoot': TOSBoot.nc:40: failed to preprocess TOSBootM.nc TOSBoot.nc:41: component ExecC not found TOSBoot.nc:42: component ExtFlashC not found TOSBoot.nc:43: component HardwareC not found TOSBoot.nc:44: component InternalFlashC not found In file included from /opt/tinyos-2.x/tos/system/LedsC.nc:38, from TOSBoot.nc:45: In component `LedsP': /opt/tinyos-2.x/tos/system/LedsP.nc:63: `led0On' is not in interface `Leds' /opt/tinyos-2.x/tos/system/LedsP.nc:68: `led0Off' is not in interface `Leds' /opt/tinyos-2.x/tos/system/LedsP.nc:73: `led0Toggle' is not in interface `Leds' /opt/tinyos-2.x/tos/system/LedsP.nc:78: `led1On' is not in interface `Leds' /opt/tinyos-2.x/tos/system/LedsP.nc:83: `led1Off' is not in interface `Leds' /opt/tinyos-2.x/tos/system/LedsP.nc:88: `led1Toggle' is not in interface `Leds' /opt/tinyos-2.x/tos/system/LedsP.nc:93: `led2On' is not in interface `Leds' /opt/tinyos-2.x/tos/system/LedsP.nc:98: `led2Off' is not in interface `Leds' /opt/tinyos-2.x/tos/system/LedsP.nc:103: `led2Toggle' is not in interface `Leds' /opt/tinyos-2.x/tos/system/LedsP.nc:108: `get' is not in interface `Leds' /opt/tinyos-2.x/tos/system/LedsP.nc: In function `Leds.get': /opt/tinyos-2.x/tos/system/LedsP.nc:113: `LEDS_LED0' undeclared (first use in this function) /opt/tinyos-2.x/tos/system/LedsP.nc:113: (Each undeclared identifier is reported only once /opt/tinyos-2.x/tos/system/LedsP.nc:113: for each function it appears in.) /opt/tinyos-2.x/tos/system/LedsP.nc:116: `LEDS_LED1' undeclared (first use in this function) /opt/tinyos-2.x/tos/system/LedsP.nc:119: `LEDS_LED2' undeclared (first use in this function) /opt/tinyos-2.x/tos/system/LedsP.nc: At top level: /opt/tinyos-2.x/tos/system/LedsP.nc:125: `Leds.set': async mismatch with declaration Leds.nc:32: previous declaration of `Leds.set' /opt/tinyos-2.x/tos/system/LedsP.nc: In function `Leds.set': /opt/tinyos-2.x/tos/system/LedsP.nc:127: `LEDS_LED0' undeclared (first use in this function) /opt/tinyos-2.x/tos/system/LedsP.nc:128: interface has no command or event named `led0On' /opt/tinyos-2.x/tos/system/LedsP.nc:131: interface has no command or event named `led0Off' /opt/tinyos-2.x/tos/system/LedsP.nc:133: `LEDS_LED1' undeclared (first use in this function) /opt/tinyos-2.x/tos/system/LedsP.nc:134: interface has no command or event named `led1On' /opt/tinyos-2.x/tos/system/LedsP.nc:137: interface has no command or event named `led1Off' /opt/tinyos-2.x/tos/system/LedsP.nc:139: `LEDS_LED2' undeclared (first use in this function) /opt/tinyos-2.x/tos/system/LedsP.nc:140: interface has no command or event named `led2On' /opt/tinyos-2.x/tos/system/LedsP.nc:143: interface has no command or event named `led2Off' /opt/tinyos-2.x/tos/system/LedsP.nc: At top level: /opt/tinyos-2.x/tos/system/LedsP.nc:44: `Leds.glow' not implemented /opt/tinyos-2.x/tos/system/LedsP.nc:44: `Leds.flash' not implemented In component `TOSBoot': TOSBoot.nc:46: component PluginC not found TOSBoot.nc:47: component ProgFlashM not found TOSBoot.nc:48: generic component `VoltageC' requires instantiation arguments TOSBoot.nc:50: cannot find `SubInit' TOSBoot.nc:51: cannot find `StdControl' TOSBoot.nc:52: cannot find `SubControl' TOSBoot.nc:54: cannot find `Exec' TOSBoot.nc:55: cannot find `ExtFlash' TOSBoot.nc:56: cannot find `Hardware' TOSBoot.nc:57: cannot find `IntFlash' TOSBoot.nc:58: cannot find `Leds' TOSBoot.nc:59: cannot find `ProgFlash' TOSBoot.nc:60: cannot find `Voltage' make: *** [exe0] Error 1 i find there is no folder named mica2 under the directory . is mica2 not supported by deluge ? thank you!!
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help