On May 19, 2010, at 7:09 AM, sofia aparicio wrote:
> Hello,
>
> I would like to know if there were changes with timers in the new version of
> TinyOS-2.x
> I have a program where I used timer 1 and it is working perfectly with an old
> TinyOS-2.x but
> I get the following error in a new version of TinyOS-2.x
>
> I got the following error:
>
> /opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128Timer1P.nc:195: previous
> declara
> tion of `__vector_12'
>
> /opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128Timer1P.nc:207: previous
> declara
> tion of `__vector_11'
>
Yes. Interrupts that TinyOS 1.x did not define are now defined in TinyOS 2.x.
Rather than define these interrupt handlers in your code you should wire to the
TinyOS events.
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help