Rather than hijack a thread I'll start my own. How does everyone lean out an ISR? I too have been appalled at the preamble/postamble code GCC puts into the ISR.
I always put ISR variables in global space to avoid stack issues, but the heap access registers still need push/popped. I tried using register variables to avoid heap access and found that there is no way to know if a library call is using that register - The compiler does NOT guarantee exclusive access. Can you actually get away with a "NAKID" attribute on the ISR? How have others dealt with ISR bloat reduction? Many thanks, DLC -- Dennis Clark TTT Enterprises _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list