avr-libc-dev
[Top][All Lists]
Advanced

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

RE: [avr-libc-dev] vector section disable, vector redirection


From: Eric Weddington
Subject: RE: [avr-libc-dev] vector section disable, vector redirection
Date: Wed, 15 Aug 2007 11:55:24 -0600


> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of Jörg Diederich
> Sent: Wednesday, August 15, 2007 1:36 AM
> To: address@hidden
> Cc: address@hidden
> Subject: RE: [avr-libc-dev] vector section disable, vector redirection
>
> hello,
>
> > I like the idea of being able to optionally remove the
> vector section. I
> > have had a customer ask about if such a thing could be
> done. Would you be
> > willing to work up patches that implements such an idea? I
> know that you
> > will also have to patch GNU Binutils to change the linker script.
>
> yes, i can do so and propose a patch here. i know, joerg
> wunsch liked to change the way irq's are included too. he
> mentioned this in a german forum some days ago.

Then Joerg Wunsch and I will be eagerly waiting for your proposed
implementation! ;-)

> > But if the ISR does not call a function,
> > then it looks like this vector redirection system would
> still introduce a
> > code overhead, correct? If so, then doing this would be
> unacceptable for
> > smaller devices with minimal code space.
>
> yes, that's correct. as there were all vectors defined by
> default, overhead is introduced for unused vectors.

Code size is usually the primary criteria. I would not recommend using a new
interrupt system at the cost of adding more code size. Though your methods
might be useful for some users who might need such a system.

Eric






reply via email to

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