Abdellazizhammami / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

issue in wiring.c for attiny13 in the arduino core. #765

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
In using arduino as an ISP to program ATtiny13, I came across this issue in 
wiring.c where an incorrect macro is being used for the TIMER overflow.

#if defined(__AVR_ATtiny24__) || defined(__AVR_ATtiny44__) || 
defined(__AVR_ATtiny84__)
SIGNAL(TIM0_OVF_vect)
#else
SIGNAL(TIMER0_OVF_vect)
#endif

Checking iotn13.h, the timer overflow macro is TIM0_OVF_vect for 
__AVR_ATtiny13__ as well!

I am using Arduino 1.0 on a MAC OSX (The same is true even on glnx86).

Original issue reported on code.google.com by thechime...@gmail.com on 30 Dec 2011 at 6:41