Biicode offers integration with Eclipse for Arduino.
First of all, you need to configure your project for arduino and Eclipse IDE for C/C++:
$ bii arduino:settings
Enter SDK path (/../biicode_env/arduino-1.0.6): [ENTER]
Enter board (/o list supported options): uno
Arduino detected on port COM14
$ bii configure -G "Eclipse CDT4 - Unix Makefiles"
...
A new Eclipse project has been generated for you.
Open eclipse, select "File > Import > General > Existing project into Workspace" and select folder "YOUR_PROJECT_FOLDER"
Depending on your OS and desired compiler you can use different Eclipse generators:
"Eclipse CDT4 - MinGW Makefiles"
Generate with MinGW Makefiles."Eclipse CDT4 - Unix Makefiles"
Generate with Unix Makefiles.Now you are ready to import your project into the Eclipse IDE. It is important that you use a version of Eclipse that contains the C/C++ Toolkit. So we recommend using Eclipse IDE for C/C++ Developers.
If you want to add new files to your block, just right-click on the folder of your block and create a new file.
Note: If you add new dependencies to your project you’ll need to manually invoke bii find
.
You can build your application in Project > Build project if you don’t have automated builds set.
If you are using Mac as developing platform, you will need some aditional setup:
For Arduino IDE installed with biicode:
- MAC:
~/.biicode_env/arduino-1.0.6/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino
- Linux:
~/.biicode_env/arduino-1.0.6/hardware/arduino/cores/arduino
- Windows:
C:\biicode_env\arduino-1.0.6\hardware\arduino\cores\arduino
For manually installed Arduino IDE, just add the equivalent route.
And this is all you need to work as usual with the Eclipse IDE. Any doubts? Do not hesitate to contact us visit our forum and feel free to ask any questions.