Eclipse IDE for ColdFire with CodeSourcery

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Eclipse IDE for ColdFire with CodeSourcery

2,660 Views
krishnan
Contributor I
Inputs from a Member of the Freescale Community.

Briefly though:
1) I wrote my own linker script and CRunTime (crt0.s) file, but not from
scratch: I used stuff from the source code of newlib (which you should be
able to google for, and download yourself). I suspect that if you're using
the CodeSourcery IDE (and you payed money for it), they should have set up
these files already.

2) Eclipse can generate makefiles itself ("managed make"), but you need to
tell it which compiler to use. Also, Eclipse version 3.2 didn't understand
that .S files are assembly files that need to be preprocessed, so I needed
to add a custom rule for each .S file in my project. Version 3.3 might be
better. Once you have those things set up, you can save the project as a
template, and then add or remove as many C source files as you want without
having to worry about makefiles ever again.

I never got to the stage where I could use a graphical GDB debugger. I was
using the text based one, but it was quite easy to use.

I am currently in the middle of a busy university term, so I might not reply
properly until December 1st. When I get time, I will clean up and publish as
much information as I can on the internet (I already have a document
half-written which should help). I will also test it under linux, with
eclipse-3.3, and hopefully give hints on how to get it working on windows.

Hope that is helpful. Please ask questions on the forums and send me links
if you want more information from me. Thanks.

David.
Labels (1)
0 Kudos
1 Reply

328 Views
krishnan
Contributor I
Hi

Well, I havent bought the tool from CodeSourcery. I'm only using their free to download m68k-elf Package along with yagarto-ide ( built in with Eclipse & CDT plugins , a much lighter version of the conventional Eclipse-Zylin CDT combo ).

Ok, from your post i figure out that i need to go in for Eclipse-3.3. Im Currently using 3.2. Even your half-prepared document might be good enough to help me get started. As such, ive made no progress and am still languishing with setting up my OpenSource tools, leave alone think of attempting any sample programs.

Kindly revert back if you think your Half-prepared document might be gud enough to help newbies get started.

regards

Krish.
0 Kudos