On Mon, 18 Jul 2005 16:22:11 +0200, Michal Krestan wrote: >I'm using LPC2106 in my application with gcc 4.0.0. I've compiled all >my sources in ARM mode and it works fine, but for IAP routine call I >had to use -mthumb-interwork flag for gcc. After this, my application >will crash in few sec (not on IAP call, but inside IRQ function). The >problem is in IRQ routine. When I'll make call of function inside ISR, >gcc will generate wrong code without returning address. If i'll not >use -mthumb-interwork flag, the code is compiled correctly. >Michal Check the IAP programming examples (LPC-FlashRoutines-18Feb05.zip)in the files section of this mailing list on Yahoo. The routines can be compiled and run in ARM mode. Regards -Bill Knight R O SoftWare & http://www.theARMPatch.com
Message
Re: [lpc2000] gcc problem
2005-07-18 by Bill Knight
Attachments
- No local attachments were found for this message.