After a whole lot of hours spent on trying to sort out how Eclipse and AVR fit together, I finally managed to put together some sort of environment that works for me. I compiled the Arduino Core as well as some of the libraries and put them together in the Eclipse workbench.
I attached a zip file with three Eclipse project directories
AdruinoCores - How to compile the core library, ready to be linked in
ArduinoLibraries - How to compile the libraries ready to be linked in
Template - a Typical project with the Core and some libraries linked in
The project files have all the settings that you need to make the lot work together. You will have to fix the actual paths to suit your environment.
I hope that this will help some other newbies to get started with the Eclipse setup.
Bryan,
No I have not looked at that but it will be my next step. I have an AVRICE so I will be attempting that soon.
I am busy with the AS5 setup. I am not having much luck with include paths at the moment but I am sure there is a very good logical explanation for my troubles. Just have to find it.
It seems that the Avarice program does not want to connect to my avricemkii. If you read the avarice docs it would seem that debugging is rather limited for the Atmega devices. I don't know if it is worth all the effort to try and get it going. I hate it when the instruction says something and you do just that and then the program says can't do that. Makes me mad.
I may be missing something, can someone give me a general step by step approach to these files.
What avr, what avr-plugin, etc you guys are using. Thanks in advance.
which knows how to build regular sketches and libraries. If you're working on a larger project where some folks want to keep using the Arduino IDE, this will let you integrate with most IDEs without breaking compatibility.