Ubuntu: What gcc to use when crosscompiling for the STM32 (Cortex-M3)?
- by Johan
Hi
I'm trying to get started with the STM32 (Cortex-M3) and my plan is get this working from Ubuntu (9.04 / AMD64).
To start with I got the Olimex stm32-h103 header board and the Olimex ARM-USB-OCD jtag, and on to of that I will probably use OpenOCD, gcc and Eclipse.
But right now I'm looking into what version of gcc to use and how to setup that to be able to crosscompile the code.
There seem to be some arm projects out there but I don't know what to start with,
can somebody push me in the right direction?
Thanks
Johan
Update:
There seems almost to be what I want from codesourcery,
but they seem to focus on IA32 and not AMD64.
However in the supported devices I find the Cortex-M3
ARM EABI, ARM M-profile Simulator -mcpu=cortex-m3 -mthumb
Update:
There is a possibility to install IA32 on AMD64,
so maybe the marked answer is obsolete already.
Update:
Found this link about crosscompile for the Cortex-M3.
http://www.eluaproject.net/en_tc_cortex.html
http://fanplastic.org/gcc-for-arm-eabi/