EmbDev.net

Forum: ARM programming with GCC/GNU tools Eclipse + ARM-gcc toolchain


Author: Michael Rodrigues (michael_rodrigues)
Posted on:

Rate this post
0 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.

Author: Martin Thomas (mthomas) (Moderator)
Posted on:

Rate this post
0 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.

Author: Useless !!!! (useless)
Posted on:

Rate this post
0 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.

Author: Ziga Lausegger (Company: PeF Ljubljana, TSC Kranj) (zigalausegger)
Posted on:

Rate this post
0 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.

Author: Oliver (Guest)
Posted on:

Rate this post
0 useful
not useful
Eclipse, the gnuarm plugin, and codesourcery all run under Linux. Just 
install, and be happy ;)

Oliver

Author: Ziga Lausegger (Company: PeF Ljubljana, TSC Kranj) (zigalausegger)
Posted on:
Attached files:

Rate this post
0 useful
not useful
I did folow a tutorial here:
" http://mbed.org/cookbook/Using-mbed-with-gcc-and-eclipse ".
I ended up getting an error and a warning. Take a look at the picture to 
see my warning/error.

Author: Martin Thomas (mthomas) (Moderator)
Posted on:

Rate this post
0 useful
not useful
Double check if the PATH has been extended according to "Edit PATH and 
add..." in the mentioned tutorial

Author: Ziga Lausegger (Company: PeF Ljubljana, TSC Kranj) (zigalausegger)
Posted on:
Attached files:

Rate this post
0 useful
not useful
Martin Thomas wrote:
> Double check if the PATH has been extended according to "Edit PATH and
> add..." in the mentioned tutorial

Here it is... this is how i did it...

Author: Ziga Lausegger (Company: PeF Ljubljana, TSC Kranj) (zigalausegger)
Posted on:

Rate this post
0 useful
not useful
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?

Author: Ziga Lausegger (Company: PeF Ljubljana, TSC Kranj) (zigalausegger)
Posted on:

Rate this post
0 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"

Author: camilo chaves (Company: Student) (bikebogota)
Posted on:

Rate this post
0 useful
not useful
Hi,

I think it is ok to don't see yagarto toolchain in Eclipse, I mean, you 
can use it but you won't see it there. In fact, as the tutorial says, 
you have to select Neew Project->MakeFile Project [Other Tool chain].

Author: Oliver (Guest)
Posted on:

Rate this post
0 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

Author: ziga lausegger (Guest)
Posted on:

Rate this post
0 useful
not useful
>For some unknown reason Eclipse recognizes only files
>with .S (capital S) as assembler source files.

Wow, this is really nice info. Thank you.

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.