Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] GCC compiler generates wrong code for interrupt handler routines

2006-01-31 by 42Bastian Schick

c.barbaro <c.barbaro@...> schrieb am Tue, 31 Jan 2006 10:47:41 
-0000:

> Anyone experienced similar problems and has a solution?

I'd suggest to write the ISR wrapper in assembler and call from
there your ISR.
This allows you also to write the ISR in thumb mode.
This is also more compatible if you ever have to switch to another 
compiler and/or use an RTOS :-)

-- 
42Bastian Schick

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.