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

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

Re: [avr-gcc-list] USART - Interrupt - problem (SOLVED)


From: Theodore A. Roth
Subject: Re: [avr-gcc-list] USART - Interrupt - problem (SOLVED)
Date: Sun, 23 May 2004 09:19:38 -0700 (PDT)

On Sun, 23 May 2004, Onno van Eijk wrote:

> On Sat, 2004-05-22 at 23:26, Theodore A. Roth wrote:
>
> > > #include <avr/io.h>
> > > #include <avr/signal.h>
> > > #include <avr/interrupt.h>
> > >
> > > SIGNAL(SIG_USART_RECV)
> >
> > The mega32 header defines this:
> >
> >   #define SIG_UART_RECV           _VECTOR(13)
> >
> > Fix that and you should get things working.
> >
> Thanks you are right, this solved the problem. I did wonder which signal
> to choose. When the compilere did no protest, I assumed I had the right
> one. Now I understand where to find them, so in the future I can make
> sure, I have the right one.

Currently, gcc can not catch misspelled signal names. There's been some
work to try to remedy this, but it's being worked out.

  http://savannah.nongnu.org/bugs/?func=detailitem&item_id=8643

---
Ted Roth
PGP Key ID: 0x18F846E9
Jabber ID: address@hidden


reply via email to

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