[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] iousbxx6_7.h ? interrupt vectors misnumbered?
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] iousbxx6_7.h ? interrupt vectors misnumbered? |
Date: |
Mon, 30 Oct 2006 00:01:36 +0100 |
User-agent: |
Mutt/1.5.11 |
As Julian Bleecker wrote:
> I am attempting to port some krufty IAR code to GCC for the
> AT90USB1287.
Pester Atmel about it. They've got GCC code as well.
> Looking further, I think the vectors in iousbxx6_7.h are all off by
> one, ...
The avr-libc and the Atmel numbering are in general off by one. We
start numbering with 0 for the reset vector (though there's no
interrupt vector name for that), while the Atmel datasheet numbers
reset to be 1. Just don't worry about it.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)