EmbDev.net

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


von Michael R. (michael_rodrigues)


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.

von Martin T. (mthomas) (Moderator)


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.

von Useless !. (useless)


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.

von Ziga L. (Company: PeF Ljubljana, TSC Kranj) (zigalausegger)


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.

von Oliver (Guest)


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

Oliver

von Ziga L. (Company: PeF Ljubljana, TSC Kranj) (zigalausegger)


Attached files:

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

von Martin T. (mthomas) (Moderator)


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

von Ziga L. (Company: PeF Ljubljana, TSC Kranj) (zigalausegger)


Attached files:

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

von Ziga L. (Company: PeF Ljubljana, TSC Kranj) (zigalausegger)


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

von Ziga L. (Company: PeF Ljubljana, TSC Kranj) (zigalausegger)


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"

von camilo c. (Company: Student) (bikebogota)


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

von Oliver (Guest)


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

von ziga lausegger (Guest)


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

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.