Auto Detect Arm Tool Chain?

Discussion about CodeLite development process and patches
Gibbon1
CodeLite Expert
Posts: 167
Joined: Fri Jul 22, 2011 5:32 am
Genuine User: Yes
IDE Question: C++
Contact:

Auto Detect Arm Tool Chain?

Post by Gibbon1 » Tue Sep 16, 2014 3:52 am

Any thoughts on trying to auto-detect an arm tool chain?

Someone else asked about auto-detecting AVR tool chains

User avatar
eranif
CodeLite Plugin
Posts: 6110
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Auto Detect Arm Tool Chain?

Post by eranif » Tue Sep 16, 2014 8:17 am

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?
Make sure you have read the HOW TO POST thread

Gibbon1
CodeLite Expert
Posts: 167
Joined: Fri Jul 22, 2011 5:32 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Auto Detect Arm Tool Chain?

Post by Gibbon1 » Wed Sep 17, 2014 2:57 am

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

User avatar
eranif
CodeLite Plugin
Posts: 6110
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Auto Detect Arm Tool Chain?

Post by eranif » Wed Sep 17, 2014 9:56 am

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
You do not have the required permissions to view the files attached to this post.
Make sure you have read the HOW TO POST thread

Gibbon1
CodeLite Expert
Posts: 167
Joined: Fri Jul 22, 2011 5:32 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Auto Detect Arm Tool Chain?

Post by Gibbon1 » Fri Sep 19, 2014 11:08 am

Pretty good, I like it! I will check it out in the future.

Post Reply