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

2013-12-11 Thread Koenraad Lelong
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 refe

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

2013-12-11 Thread Jeppe Græsdal Johansen
Den 11-12-2013 19:20, Koenraad Lelong skrev: Hi, I made some time to tinker with my arm-embedded fpc-compiler. Since I had a problem in the past with routines optimized away I checked for this. And indeed there is a problem : my interrupt-routines are gone. How do I tell the compiler to leave

[fpc-pascal] arm-embedded and interrupts

2013-12-11 Thread Koenraad Lelong
Hi, I made some time to tinker with my arm-embedded fpc-compiler. Since I had a problem in the past with routines optimized away I checked for this. And indeed there is a problem : my interrupt-routines are gone. How do I tell the compiler to leave those routines in the binary ? I tried -O-, -