This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Does uVision with CodeSourcery compiller support CORTEX M3?

Hi,

I am using STM3210E-EVAL board connected with ULINK2.
Till now, I used uVision with RalView compiller.

I want to try the GNU compiller from CodeSourcery.
I installed the Sourcery G++ Lite Edition from:
www.codesourcery.com/.../arm

I configured uVision according to the application note:
http://www.keil.com/appnotes/docs/apnt_199.asp

I am able to compile the APN199_EXAMPLES.
But, if i am trying to compile the STM3210E-EVAL board source codes from here:
www.st.com/.../um0549.zip
I get the error:
../src/main.c(1): error: target CPU does not support ARM mode

With RalView compiller it works fine.

Does CodeSourcery compiller support CORTEX M3?

Thanks in advance