Hi,
First, for mig don't specify tmote but msp430 instead. Second, why do you specify MoMoControllerC.nc for? The header file and the name of your message struct is enough. So it should be this: $ mig java -target=msp430 -java-classname=classout PWMMsg.h your_struct_name -o classout.java So check your PWMMsg.h header file for your_struct_name and substitute it in the above line. Success Chougna _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of julien falco Sent: vrijdag 8 juni 2007 14:35 To: [email protected] Subject: [Tinyos-help] mig with tmote I am trying to use mig to generate a java class for my message with a tmote. I tried with this code: [EMAIL PROTECTED] /opt/moteiv/apps/test_silvia/MobileMote/MoMoController $ mig java -target=tmote -java-classname=classout MoMoControllerC.nc PWMMsg.h -o classout.java and here is what i get: Unknown target tmote Known targets for TinyOS directory /opt/tinyos-1.x/tos and the specified include directories are: atmega8 mica mica128 mica2 mica2dot micaz msp430 pc rene2 telos telosb failed to parse message file MoMoControllerC.nc is mig not possible with tmote?? if i try telosb, i get a lot of errors... thanks for your help!
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
