Hello, I have the above installed, but it won't compile under gcc for option -mtune=cortex-m3, nor on -march or -mcpu .
Is codesourcery arm-none-eabi specifically for the cortex-m3, or a more generic compiler ?
If generic, I need command line options, or *.c file directives to notify the compiler...
I'm quite used to assembler on various 8 bit products, and to VB and more recently python, but I'm a complete newbie to arm, and seriously considering C this time, although I see it as rather bloated compered to assembler...
The info I've searched out on the net does not seem to address this issue well for the newcomer, and I've experienced extreme frustration with ride7, under W2K, which I don't like running anyway. Ride7's commandline will flash program for me.. but I need to compile !
I've checked out a lot of Linux free IDEs, and Geany is looking most promising at the moment, as it is easily configurable to change compile command line options, and it's small, fast to load, manages projects, and has code folding to hide currently irrelevent code while larger scopes are checked out.
Geany configures under Build/Set Includes and Arguements, i.e.
arm-none-eabi-gcc "%f",
or
arm-none-eabi-gcc "%f"
for assembly, but as above, I can't find how to specify the cortex-m3.
Any help much appreciated.. this has been driving me nuts, since the arrival of my stm32circle around 3 weeks ago !
Graham.