[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Tiny 2313 SIGNAL problem
From: |
Andy Warner |
Subject: |
Re: [avr-gcc-list] Tiny 2313 SIGNAL problem |
Date: |
Wed, 23 Mar 2005 10:56:06 -0600 |
User-agent: |
Mutt/1.2.5i |
Parthasaradhi Nayani wrote:
> [...]
> Unfortunately that was what I did (used the header
> file). If you notice there is another 2313 header file
> corrected by Peddock. The script in io.h is including
> the older 2313 header file and this is where the
> problem lies. There will be many people trying to use
> 2313 and it is best to correct the io.h file ASAP.
Which header file are you using, and how are you
including it ?
The recommended way is to include <avr/io.h>
and let the preprocessor locate the correct
header file based on the -mmcu= directive on the
toolchain comamnd lines.
Directly including <io2313.h> or <avr/io2313.h>
is choosing the AT90S2313 header file manually
The AT90S2313 is different, older chip.
--
address@hidden
Andy Warner Voice: (612) 801-8549 Fax: (208) 575-5634