Go Down

Topic: Windows/Linux/Mac Eclipse plugin to compile and upload arduino sketches (Read 113 times) previous topic - next topic

MonkeyKnight

I just did an uninstall of Eclipse and deleted all my workbenches, and reinstalled on my Mac Mini. Life is good! Now I just have to do it to my Mac Book Pro's.

This is just killer! Perfect. After a bit, I think that I am going to look into porting over to the IDE version 1.0 though. It is kind of a downer that I have to use an old version of the Arduino IDE, but I tell ya what - It's still flippin' awesome!

Many thanks to you! May your code always compile the first time.

Thanks,
Nicholas
Frying boards one at a time. Sizzling components by the scores.

turdusmerula

I'm testing your plugin un my linux (ubuntu 11) with an arduino Nano.
I'm having some linking problems with the arduino_atmega328p autogenerated project:
  'init' was not declared in this scope   main.cxx   /arduino_atmega328p/arduino   line 3   C/C++ Problem
  'loop' was not declared in this scope   main.cxx   /arduino_atmega328p/arduino   line 8   C/C++ Problem
  'setup' was not declared in this scope   main.cxx   /arduino_atmega328p/arduino   line 5   C/C++ Problem
  Symbol 'DDRB' could not be resolved   pins_arduino.c   /arduino_atmega328p/arduino   line 361   Semantic Error
  Symbol 'DDRC' could not be resolved   pins_arduino.c   /arduino_atmega328p/arduino   line 362   Semantic Error
  Symbol 'DDRD' could not be resolved   pins_arduino.c   /arduino_atmega328p/arduino   line 363   Semantic Error
  ...

Am I missing something?

Jantje

Nicholas
Are you saying the plugin work fine on OSX with Arduino IDE 0023? That would be great.

turdusmerula
The init, loop and setup sound unknown to me.
Does you code compile? if so please read the section "Eclipse tells me there are bugs in my code but it compiles ok." in the faq at http://www.baeyens.it/eclipse/Arduino%20eclipse%20plugin%20FAQ.htm
How do you get to main.cxx? I have main.cpp?

About the errors in pins_arduino.h see "There are errors and warnings in the Arduino library." in the same FAQ

Note that in 1.0 these errors have been fixed  :D

Keep me posted
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

MonkeyKnight

I am not positive which version it is. I didn't take a look. I will next time I boot it up though.

Thanks again!
Frying boards one at a time. Sizzling components by the scores.

turdusmerula

#24
Dec 04, 2011, 04:37 pm Last Edit: Dec 04, 2011, 09:45 pm by turdusmerula Reason: 1
Okay solved my problems. I just have to tell eclipse to exclude the main.cxx file from build and it works !

On ubuntu we have the 0022 installed and your plugins works, really great job thanks a lot  :)

One remaining question, where can I find on eclipse the output logs emitted by the Serial.print() command? thought I'd find it in the Console window but I failed.

Go Up