Hi Dean, On Sun, Nov 26, 2006 at 10:13:55AM +1100, Dean Camera wrote: > I've created a new and simple GCC API for the existing interrupt > macro, ISR. The new API allows for more uniform ISRs, with the > SIGNAL, INTERRUPT, NAKED and ALIAS facilities avaliable in a uniform > manner to the programmer. I believe this new set of macros will > allow for easier development, as the programmer will no longer have > to worry about creating their own implementation of the now > depricated INTERRUPT macro, amognst other things.
Nice work. I'm all for it :)
You header file includes many "fixes" similar to what is present in my
own, custom header file(s) - it would be nice if these changes could
be included in avr-libc proper.
I noticed that your ISR() macro is defined as:
#define ISR(vector, ...) \
void vector (void) ISR_BLOCK __VA_ARGS__; \
void vector (void)
Will this allow for the following syntax:
ISR(VectorName, ISR_NOBLOCK)
{
// Code goes here
}
Wouldn't this set both the 'interrupt' and 'signal' attributes at the
same time?
Regards,
Brix
--
Henrik Brix Andersen <[EMAIL PROTECTED]>
pgp4ivjNvhQ1q.pgp
Description: PGP signature
_______________________________________________ AVR-libc-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-libc-dev
