Eclipse + ARM-gcc toolchain

OP #1174625
Rate this post
useful
not useful
HI,

I got the eclipse platform ver 3.4.1 from the yagarto website. This was
a zipped file, so i unzipped it into D:\Data\eclipse\. before this i
downloaded the yagarto toolchain and installed the same (defualt
location, program files, C:).

Now my problem is, when i start eclipse, start a new project and try to
select a toolchain in the toolchain editor, i can only see a no
toolchain setting over there. How do i configure it to the yagarto
toolchain.
Moderator #1174626
Rate this post
useful
not useful
Michael Rodrigues wrote:
> HI,
>
> I got the eclipse platform ver 3.4.1 from the yagarto website. This was
> a zipped file, so i unzipped it into D:\Data\eclipse\. before this i
> downloaded the yagarto toolchain and installed the same (defualt
> location, program files, C:).
>
> Now my problem is, when i start eclipse, start a new project and try to
> select a toolchain in the toolchain editor, i can only see a no
> toolchain setting over there. How do i configure it to the yagarto
> toolchain.

AKAIK there is no out-of-the-box support in Eclipse for a
Cross-Toolchain as in Yagarto. At least I have not found it in the
current Eclipse (Ganymede). Did you read Jim Lynch's Tutorial available
i.e. from atmel.com? Use a makefile-project and set the compiler for the
parser to arm-elf-gcc and configure the search-pathes for include-files.
There is at least one 3rd party Eclipse-plugin for arm-*-gcc (see
sf.net) but I don't know much about it. For debugging configure a
debug-setup using the GDB hardware-debugging plugin (from the "official"
Eclipse repository) or the 3rd party plugin from Zylin plugin that comes
with Yagarto.
#1174627
Rate this post
useful
not useful
Martin Thomas wrote:
> Michael Rodrigues wrote:
>> HI,
>>
>> I got the eclipse platform ver 3.4.1 from the yagarto website. This was
>> a zipped file, so i unzipped it into D:\Data\eclipse\. before this i
>> downloaded the yagarto toolchain and installed the same (defualt
>> location, program files, C:).
>>
>> Now my problem is, when i start eclipse, start a new project and try to
>> select a toolchain in the toolchain editor, i can only see a no
>> toolchain setting over there. How do i configure it to the yagarto
>> toolchain.

If you are using Windows, setting up an ARM toolchain is simple.Since
you have already downloaded Eclipse and installed Yagarto, just use the
GNUARM Eclipse plugin found at
http://sourceforge.net/projects/gnuarmeclipse/. It has out of the box
support for Yagarto. Just download the '.jar' file into the Eclipse
plugin folder.
(Company: PeF Ljubljana, TSC Kranj) #2109730
Rate this post
useful
not useful
> If you are using Windows, setting up an ARM toolchain is simple.Since
> you have already downloaded Eclipse and installed Yagarto, just use the
> GNUARM Eclipse plugin found at
> http://sourceforge.net/projects/gnuarmeclipse/. It has out of the box
> support for Yagarto. Just download the '.jar' file into the Eclipse
> plugin folder.

What if i use Linux Ubuntu??? Is there any way to do it? I only want to 
use codesourcery toolchain in eclipse.
(Company: PeF Ljubljana, TSC Kranj) #2110773
Rate this post
useful
not useful
Ziga Lausegger wrote:
> I tried to install it allover again and at step 3 where i am supposed to
> add ARM GCC plugin .zip file i cannot click "Finish" button ... Why is
> that? Any other way?

I managed to install it allover again and i dont get warnings about : 
"cannot find arm-none-eabi-gcc". Instead when compiling i get 2 other 
errors saying "cant find startup.o" and "make: *** [test_balau.elf] 
Error 1"
Guest #2141237
Rate this post
useful
not useful
camilo chaves wrote:
>I think it is ok to don't see yagarto toolchain in Eclipse,

No. If the gnu-arm-plugin for Eclipse is installed properly, you will 
see arm-toolchain projects, and you can select the yagarto-toolchain.

Ziga Lausegger wrote:
>Instead when compiling i get 2 other
>errors saying "cant find startup.o"

Well, the linker might want to tell you, that something called startup.o 
is missing. If you have a "startup.s" in your source file folder, rename 
is to "startup.S". For some unknown reason Eclipse recognizes only files 
with .S (capital S) as assembler source files.

Oliver

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now