[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Interrupt vector defenition with avr-libc
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] Interrupt vector defenition with avr-libc |
Date: |
Thu, 2 Jan 2003 14:49:31 +0100 (MET) |
Jeff Rose <address@hidden> wrote:
> Does anyone know how the SIGNAL macro works in avr-libc? It
> looks like the #define just outputs __vector_# where number is the
> number for the vector.
Yep.
> When I disassemble my final elf file the vector table is still
> empty, (All entries point to __bad_interrupt) and the label before
> my signal handler is __vector_11.
The most likely reason is that you misnamed your signal handler. The
SIGNAL() and INTERRUPT() macros cannot detect whether their arguments
are valid names or not.
(This should probably be added to the FAQ, shouldn't it?)
--
J"org Wunsch Unix support engineer
address@hidden http://www.interface-systems.de/~j/
avr-gcc-list at http://avr1.org
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [avr-gcc-list] Interrupt vector defenition with avr-libc,
Joerg Wunsch <=