I want to say thank you for all your hard work and hard time.
Let me start by explaining what i am trying to do with my arduino project. I have basically created an arduino aquarium monitor/controller for my fish tank. Basically I started my projected by dividing it up into about 15 mini projects. So i took care of each individual project and eventually combine them all into one. To do this have the main program void setup (){setupprogram1(); setupprogram2(); }..... I quickly realized the arduino ide was just really hard to work with on my larger project so i used notepad++ and then copied the program to arduino ide for compiling and uploading. I tried before to create a file for each project in arduino and get it to compile them but i got missing invalid function errors.
Now after doing some research i find out that eclipse is much better and more capable of doing exactly what i would like. I previous to finding this amazing plugin i tried to follow some tutorials, but they didn't go well. My problem is i am still trying to find out how to create a multifile program and i just can't seem to find what i am looking for by searching. This usually means i am searching for the wrong thing lol.
superman (is it really you 8) )
Thanks for the compliments
creating new files is easy in eclipse.
First thing is to decide is what type of file you want? Do you want a class a .cpp a .c a .h ....
Right click your project and select new->class(or header file; or source file; or source folder or just file)
Best regards
Jantje
Jantje:
creating new files is easy in eclipse.
First thing is to decide is what type of file you want? Do you want a class a .cpp a .c a .h ....
Right click your project and select new->class(or header file; or source file; or source folder or just file)
Talk about fast reply
I guess the problem is i don't understand the files (I need to do more research)
Jantje:
creating new files is easy in eclipse.
First thing is to decide is what type of file you want? Do you want a class a .cpp a .c a .h ....
Right click your project and select new->class(or header file; or source file; or source folder or just file)
Talk about fast reply
I guess the problem is i don't understand the files (I need to do more research)
Set the the indexer to "include Arduino.h"
Add Arduino with its full path to the "files to index up-front"
In my version "Eclipse IDE for C/C++ Developers Version: Juno Service Release 1 Build id: 20120920-0800" I don't have the option to index files up front
rbid:
Have problems in setting the plugin with the new Arduino IDE 1.5.1r2,
After installing the plugin, when I configure the Arduino IDE Path, the tool does not accept it.
Also, I'm planning to use Eclipse with the Arduino Due which is an ARM and not an AVR processor...
Any hint?
Yes
1.5.X rZ are beta versions that do not support all boards. It is majorly different in setup and has not yet stabilized.
So in other words I don't support it.
When the stable version comes out I'll look on how to support it.
Best regards
Jantje
rbid:
Have problems in setting the plugin with the new Arduino IDE 1.5.1r2,
After installing the plugin, when I configure the Arduino IDE Path, the tool does not accept it.
Also, I'm planning to use Eclipse with the Arduino Due which is an ARM and not an AVR processor...
Any hint?
Yes
1.5.X rZ are beta versions that do not support all boards. It is majorly different in setup and has not yet stabilized.
So in other words I don't support it.
When the stable version comes out I'll look on how to support it.
Best regards
Jantje
I will see if I can work on it, hope I'm not getting in over my head.. I guess it can be done
Tailor the compiler and linker
Use the Arduino framework to get the same Arduino IDE look (hide all the stuff the user does not need to deal with)
Ricky
I don't really understand what you are talking about.
The main difference between Arduino IDE 1.X and 1.5.X is that the hard coded stuff in 1.X is brought to the boards.txt and the programmers.txt and the platform.txt.
I have already done some work on this but the Arduino core team does not share their plans and they tend to do things different from how I do things. For instance I had decided to add platform folders under hardware (like teensy does) which contains board.txt files and Arduino core team decided to have hardware/[make]/[technology]/[configuration files].
[make]=Arduino
[Technology]= avr or sam
[configuration files] = boards.txt or programmers.txt or platform.txt.
As a result I need to change my board.txt reading code. I just hate that.
The core team noted that the whole setup may change. To avoid the frustration of doing more things twice I decided to wait untill an official release is released to see how the core team decided to do it.
I'm sure it can be done. I think it should even be easier now as the commands are more disclosed and the framework to do it is in-place.
rbid:
Tailor the compiler and linker
No need to do this. The only thing that needs to be done is decide on the compiler and linker and provide them the good options.
rbid:
Use the Arduino framework to get the same Arduino IDE look (hide all the stuff the user does not need to deal with)
If you are willing to work on a arduino IDE perspective; I'm wiling to have it as part of the IDE.
Note that the Arduino "precompiler" is needed for this to work 100%.
rbid:
Tailor the programmer and serial console.
I really don't know what you are referring to here.
Jantje:
Ricky
I don't really understand what you are talking about.
The main difference between Arduino IDE 1.X and 1.5.X is that the hard coded stuff in 1.X is brought to the boards.txt and the programmers.txt and the platform.txt.
I have already done some work on this but the Arduino core team does not share their plans and they tend to do things different from how I do things. For instance I had decided to add platform folders under hardware (like teensy does) which contains board.txt files and Arduino core team decided to have hardware/[make]/[technology]/[configuration files].
[make]=Arduino
[Technology]= avr or sam
[configuration files] = boards.txt or programmers.txt or platform.txt.
As a result I need to change my board.txt reading code. I just hate that.
The core team noted that the whole setup may change. To avoid the frustration of doing more things twice I decided to wait untill an official release is released to see how the core team decided to do it.
Above you explained exactly what I wanted to understand... therefore indirectly you have understand me
Hey, thanks for this plugin. I was able to get it up and working, uploading a sketch, fairly easily. Had a little problem getting the serial monitor to work. I'm using Ubuntu 12.04 and Eclipse Indigo and had the issue with not having the right port. A quick edit of eclipse.ini solved it.
Now if only I was skilled enough to really use it. Oh well, can't learn it by avoiding it.
I thought I would pop along to say hi and again a huge thanks for your fantastic plugin to allow us to program our Arduino's using Eclipse.
I couldn't imagine having to use the Arduino IDE again, scary.
I have version 1.2.5.5 of your plugin running on OSX, but a question,
I am still using Arduino 1.0.1, can I move to 1.0.2 or preferably 1.0.3?
Paul
Thanks for the nice words.
I havn't done any real testing with 1.0.2 and 1.0.3 but I have done quick testing and havn't seen any problems.
So it should be ok.
Best regards
Jantje
Thank you for all the hard work on this plugin! I was able to get up and compiling in about 15 min thanks this plugin.
I have been having one issue however. The only way I can upload to my Arduino Micro, is to do the following:
Goto Window> Preferences >Arduino>Arduino and check Disable RXTX
Unplug the Arduino Micro and plug it back in
Press the AVR upload button. <--Must be done within a few seconds of plugging the Arduino back in.
If I do not do the above, all that happens is I get a message box showing eclipse is running AVRDude. I can not cancel and there are no messages in the console view, it just hangs there indefinitely.