I have completed a set of instructions for getting the Gnu Arm, Cygwin, Eclipse, CDT tools installed. I did this partly because Jim Lynch’s tutorial while very good was a little out of date. The web sites have changed since he did the tutorial.
This explanation will be greatly appreciated by the more experienced users who really don’t need the hand-holding and voluminous detail that I put into my tutorials. You did a great job boiling it all down to the bare essentials.
I tried the instructions on my existing Eclipse install, deleting all the CDT stuff from features and plugins directories. Then extracting the two zip files to the Eclipse directory. When I ran Eclipse I got java.lang.NullPointerException at org.eclipse.cdt.ui.PreferenceConstants.getPreferenceStore(PreferenceConstants.java:382)
I then did a fresh install of eclipse, extracted the two zips to the eclipse directory and got the same exception when I run Eclipse.
I have eclipse 3.1.2 and the latest zylin embedded CDT.
I’m not sure what my problem was. I started over and followed your tutorial (Jeff) and it seems to work. I did not compile a project yet, will do that tomorrow.
I revised the install instructions on my site accordingly. I also added the steps for the OCDRemote JTAG Wiggler debugging stuff.
There are some differneces in the instalation if you want to use the latest set of the tools. You have to read the release notes very carefully to get this done. Hopefully the step by step instructions will make it easy for others.
I could not get any newlib stuff to link with the make file from Jim’s tutorial. I had to link using $(CC) and not $(LD). I do not know why at this stage but I thought I would pass this on.
A lot of code is available for other compilers but they use different header files for the LPC chips which makes for lots of rework. I decided to rework the header files rather than the code, so my header file can do more than the standard Gnuarm ones.
I have found that it is not usually necessary to write a new makefile, processor header or linker scripts for each project. You can pretty much use the same ones for all projects.
It would be good in future to provide users with the above files is a state suitable for a real world project and this in my opinion would be the biggest improvement we could make to the “Eclipse/ WinARM” tool chain.
However, the purpose of my tutorial was to show how to set up a software development system only. As such, I elected to eliminate interrupts and keep the sample project as simple as possible.
Obviously, I need to build on this and make a tutorial that goes into interrupt handling.
C’mon Ford, sometimes it helps to suck the other end …
In my real world projects it’s always been a huge effort to get a useable and consistent tool chain working so I can concentrate on my paid part of the job, which often involve’s