Jozef Lawrynowicz <joze...@mittosystems.com> writes: > If an argument is passed to the interrupt attribute, GCC will create a section > for the interrupt vector when outputting the assembly. This, combined with the > code to ensure the interrupt function doesn't get optimized out, ensures the > symbol for the interrupt function is available when it comes to linking.
> I did also test on hardware that static interrupts works as expected, and they > do. It sounds like things have changed since I first wrote that code, so as long as it works now, I'm OK with it :-)