Package: avr-libc Version: 1.2.3-3 The include file for the ATtiny2313, /usr/avr/include/avr/iotn2313.h, defines the macros SIG_INT0 and SIG_INT1 for the external interrupt vectors. However, all other devices use SIG_INTERRUPT0 and SIG_INTERRUPT1. As a result, an interrupt handler written for another AVR device will silently fail when assembled for the ATtiny2313: the macro SIG_INTERRUPT0 is not defined, and will be treated as a normal label, and so the interrupt vector location will not be filled in.
I suggest adding the following lines to iotn2313.h: #define SIG_INTERRUPT0 _VECTOR(1) /* External Interrupt Request 0 */ #define SIG_INTERRUPT1 _VECTOR(2) /* External Interrupt Request 1 */ The existing SIG_INT0 and SIG_INT1 macros should probably be kept for backward compatibility. -- Dick Streefland //// De Bilt [EMAIL PROTECTED] (@ @) The Netherlands ------------------------------oOO--(_)--OOo------------------ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]