op 11-12-13 19:36, Jeppe Græsdal Johansen schreef:

What am I doing wrong ?

Thanks for any pointers.

Koenraad Lelong
The Cortex-M RTL units were changed some time ago to favour a more
flexible way of doing interrupt handling for embedded devices, by
implementing assembler support for weak references and scrapping the old
compiler integrated interrupt vector system.

Now to declare an interrupt routine you would do:

procedure SysTick_interrupt; [public, alias: 'SysTick_interrupt'];
begin
end;

You can check the source code of the RTL unit you are using to find the
names of the interrupt handler functions.

Thanks,

That works. I already found the names, but I didn't know how to declare the interrupts, so now I do.
I hope to do some real work in the next few weeks.

Regards,

Koenraad Lelong

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to