avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Tiny 2313 SIGNAL problem


From: Parthasaradhi Nayani
Subject: Re: [avr-gcc-list] Tiny 2313 SIGNAL problem
Date: Wed, 23 Mar 2005 09:03:00 -0800 (PST)

--- Andy Warner <address@hidden> wrote:
> 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.

Hello Andy,
Yes, I included avr/io.h and expected things to roll
out smoothly. After loosing two nights sleep over
trying to figure out why interrupts are not being
recognised, I learnt that there is another header
which has the correct definitions. I started this
thread as I felt there will many others out there
trying to use 2313 interrupts. So io.h is to be
"corrected". Cheers.

Nayani




                
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]