Re: [fpc-pascal] fpc & arm-embedded interrupts

2012-05-10 Thread Jeppe Græsdal Johansen
The easiest way to do interrupt processing in Cortex-M3 processors(which I assume you are using), is to create an interrupt vector table in SRAM and then change the NVIC to use that. That way you can point to the interrupt handlers at runtime. It's true that the normal way of doing it is with

[fpc-pascal] fpc & arm-embedded interrupts

2012-05-10 Thread Koenraad Lelong
Hi, I'm working on an embedded-arm application. I do want to use interrupts but I don't find how to easily setup the interrupt-handlers. In the startup code in C, I see default handlers defined with the keyword WEAK. Looking around, I found that this means that if one defines a function with t