Guidance on setting up Eclipse to build.
photomankc
Posts: 943
Ok on my bigger workstations I have to admit I got real cozy with Eclipse doing the dot completion, header/source switching, auto function skeleton, stuff. Is there any guidance on how I can get Eclipse to just be able to build the project? I don't care if I still use SimpleIDE to load the program but getting as far as building with Eclipse would be kind of cool. Right now I do it a bit like Aurduino and edit in Eclipse and build/load with SimpleIDE. Don't really know where to start to get Eclipse configured to use PropGCC to compile and link.
Comments
You can even run it with the loader if the configuration is right.
There are challenges though.
* I have no idea if just copying the .zip folder will work.
* The project must be selected at all times (why does it ever get deselected?).
* Can't pass input on the output window to a program.
* User must manually terminate the program if the terminal is used.
* Ctrl+C in the output window doesn't work.
Netbeans can also be used. Both are equally hard to configure.
Hey!
I'm using Eclipse Juno on OSX, but this should work, you only need to adjust paths...
So, I'm using C/C++ project with MakeFile Project / Empty Project -> "Other Toolchain"
Then, i create Makefile with folowing content (you should adjuct paths...):
(in SRC line you just write filenames in your project...)
And then in Project settings, C/C++ Build -> Enviroment I just insert INCLUDE variable with path to propeller include headers.
Also in Project settings, Run/Debug settings, I add new launch settings with following:
C/C++ Application:
"/opt/Development/parallax/parallax/bin/propeller-load"
and in Arguments:
Code completiton, warnings works, everything. when i build project it builds it, and when i run project it uploads it to propeller...
my 1 cent...