[avr-gcc-list] Interrupts - the hard way

2013-04-04 Thread Diego Izidoro
Hi, Is there any document, reference (beyond the datasheet) in which i can learn about how the compiler creates/generates code for interrupts and how could i create within my c/c++ program create an interrupt without the help of the compiler? Thank you very much! Diego izidoro __

Re: [avr-gcc-list] Interrupts - the hard way

2013-04-04 Thread Senthil Kumar Selvaraj
On Wed, Apr 03, 2013 at 11:07:11PM -0300, Diego Izidoro wrote: > Hi, > > Is there any document, reference (beyond the datasheet) in which i can > learn about how the compiler creates/generates code for interrupts and how > could i create within my c/c++ program create an interrupt without the help

Re: [avr-gcc-list] Interrupts - the hard way

2013-04-04 Thread Diego Izidoro
Compiling with "-nodefaultlibs" should do the trick to remove the interrupt code generation, that's the easy part. What i want is to manually build the interrupt vector and implement the ISRs (complete with context saving and context restoring operations). It's kind of a challenge, where the compil