Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Re: gcc problem

2005-07-19 by 42Bastian Schick

Dave <dgsomerton@...> schrieb am Tue, 19 Jul 2005 04:09:18 
-0000:

> --- In lpc2000@yahoogroups.com, "Michal Krestan" <krestan@h...> 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.

Please show us an example and cross verify it with gcc 3.4.x

-- 
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.