Hi,
I am a new user of TinyOS.
I just installed TinyOS 2.0.2 with Atmel AVR Tools and with nesc-1.2.8
compiler. I'm trying to compile the 'Blink' demo-application that is
located in "/tinyos-2.x/apps/Blink/" by typing:
"ncc -o main.exe -target=mica2 BlinkAppC.nc".
I get the following error message:
"as: unrecognized option `-mmcu=atmega128'"
Can anyone help me with that? What am I doing wrong?

Here is the code of BlinkAppC.nc:
configuration BlinkAppC
{
}
implementation
{
  components MainC, BlinkC, LedsC;
  components new TimerMilliC() as Timer0;
  components new TimerMilliC() as Timer1;
  components new TimerMilliC() as Timer2;


  BlinkC -> MainC.Boot;

  BlinkC.Timer0 -> Timer0;
  BlinkC.Timer1 -> Timer1;
  BlinkC.Timer2 -> Timer2;
  BlinkC.Leds -> LedsC;
}


Thanks,
Uri Avraham
Model Driven Engineering Technologies
IBM Haifa Research Lab
Phone: 972-52-5563829
Lotus Notes: Uri Avraham/Haifa/[EMAIL PROTECTED]
Email:[EMAIL PROTECTED]

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to