[fpc-pascal] arm-embedded and interrupts

Koenraad Lelong fpascal1 at de-brouwerij.be
Wed Dec 11 20:10:20 CET 2013

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.


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.


Koenraad Lelong

More information about the fpc-pascal mailing list