On 29/05/18 23:55, DJ Delorie wrote:
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 :-)

Thanks, installed on trunk.

Reply via email to