Yahoo Groups archive

Lpc2000

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

Message

gcc problem

2005-07-18 by Michal Krestan

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


[Non-text portions of this message have been removed]

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.