Hello,
Since a couple of weeks I've been trying things out in Eclipse to get it to work for the Arduino. Tried very much, but found out the V3 from baeyens.it (Thanks Jantje!) works like a charm! I've only got two simple questions.
Since a year or so I'm programming a quadcopter with the Arduino, and I decided to scale up my project, and stop using the normal Arduino IDE. I wanted code analysis and easier access to the source code of Arduino. I found the Eclipse IDE and everything is working, except that I couldn't import old sketches. For my drone I've made a lot of testsketches, and I wanted to import all these sketches to my workspace in Eclipse, each sketch another project. Is there a way to automate this? With this many sketches it's a lot of work to add a project, copy the source code and link to my personal libraries.
This brings me to my second question. I've got about 7 personal libraries I use for the Arduino, is there a way to put all these libraries in one project? This is possible by making a C++ library project, but Eclipse then doesn't recognize the Arduino variables because it thinks it's regular C++. If this is possible, how can I link my sketches to these libraries?
Thanks,
Sander
Ik zal het ook even in het Nederlands overtypen:
Hallo,
Sinds een paar weken heb ik geprobeerd Eclipse werkend te krijgen met de Arduino. Ik kwam erachter dat de V3 van baeyens.it (Dankjewel Jantje!) de beste oplossing is. Toch heb ik hier twee vragen over.
Sinds ongeveer een jaar ben ik mijn quadcopter aan het programmeren met de Arduino, en ik besloot van de Arduino IDE over te stappen naar een andere IDE: Eclipse. Nu heb ik in dit jaar erg veel sketches gemaakt om vanalles van de quadcopter te testen, en ik zou deze sketches graag importeren in Eclipse, elke sketch een ander project. Nu is het handmatig toevoegen van zoveel sketches erg veel werk, is er een manier om deze automatisch toe te voegen?
Dit brengt me naar mijn tweede probleem: Al deze sketches gebruiken een stuk of 7 persoonlijke libraries. Ik wil deze libraries ook binnen Eclipse kunnen aanpassen, en het leek me handig om al deze libraries in één project te houden, zodat ik de sketches en libraries niet door de war haal. Verder moet ik dan al deze sketches linken aan dit project, zodat ze de libraries ook echt in dit project gaan zoeken, hoe doe ik dit? Ik heb al geprobeerd om deze libraries in een gewone C++ library project te stoppen, maar dit werkt natuurlijk niet omdat zo'n project de Arduino variabelen en functies niet kent.
Alvast bedankt!
Sander