> -----Original Message----- > From: > [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > org] On Behalf Of Jörg Diederich > Sent: Wednesday, August 15, 2007 1:36 AM > To: [email protected] > Cc: [EMAIL PROTECTED] > 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 _______________________________________________ AVR-libc-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-libc-dev
