Page 1 of 1

Auto Detect Arm Tool Chain?

Posted: Tue Sep 16, 2014 3:52 am
by Gibbon1
Any thoughts on trying to auto-detect an arm tool chain?

Someone else asked about auto-detecting AVR tool chains

Re: Auto Detect Arm Tool Chain?

Posted: Tue Sep 16, 2014 8:17 am
by eranif
I think there was a pull request that I have applied that does that. Any quick link for the avr toolchain so I could test that?

Re: Auto Detect Arm Tool Chain?

Posted: Wed Sep 17, 2014 2:57 am
by Gibbon1
With the AVR stuff it seems like the answer is 'it's complicated'

It used to be simple, there was the WinAVR project. You just downloaded the tools and away you go. Still works I'm using it. But doesn't support the latest uP

http://sourceforge.net/projects/winavr/files/

A bunch of people are using Arduino + AVR which I think is an Eclipse based IDE+ AVR and ARM tool chains. I know not so much.

http://arduino.cc/en/Main/Software#toc1

ATMEL has a tool chain that they include with AVRStudio 6.0 or some such and you can get the tool chain separately from them

http://www.atmel.com/tools/atmelavrtool ... ndows.aspx

I'm using the ARM gcc compiler from ARM LTD (but my version is about a year old 4.7 vs 4.8)

https://launchpad.net/gcc-arm-embedded

Re: Auto Detect Arm Tool Chain?

Posted: Wed Sep 17, 2014 9:56 am
by eranif
I just tested this, (using the SF installer 'WinAVR') with latest git master:

Settings->Build Settings->Compilers->Add an existing compiler, select the WinAVR folder and voila!
See attached:
avr-found-success.png
new-compiler-avr.png
NOTE:
The new cross compiler locator was implemented by gsmcmullin
In this commit:
https://github.com/eranif/codelite/comm ... 52cb7a1371

Eran

Re: Auto Detect Arm Tool Chain?

Posted: Fri Sep 19, 2014 11:08 am
by Gibbon1
Pretty good, I like it! I will check it out in the future.