IDE with Eclipse with Jantje's plugin

Development environment specific, Arduino, Eclipse, VS2013,Em::Blocks etc
Posts: 736
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany

Re: IDE with Eclipse with Jantje's plugin

Postby stevestrong » Sat Oct 08, 2016 4:06 pm

Just for your info, I wrote a Wiki page regarding how to use Arduino with Eclipse: ... th_Eclipse

Any comment/suggestion is welcome.

User avatar
Rick Kimball
Posts: 728
Joined: Tue Apr 28, 2015 1:26 am
Location: Eastern NC, US

Re: IDE with Eclipse with Jantje's plugin

Postby Rick Kimball » Sat Oct 08, 2016 4:32 pm

One gcc parameter I found useful when using *.ino files, is the -include flag

$ arm-none-eabi-g++ ... all regular args, then ... -include "Arduino.h"

This flag allows you to use .ino files without modification. I'm not sure how that would interact with the Arduino plugin as I haven't tried it.

From ... or-Options
-include file
Process file as if #include "file" appeared as the first line of the primary source file. However, the first directory searched for file is the preprocessor's working directory instead of the directory containing the main source file. If not found there, it is searched for in the remainder of the #include "..." search chain as normal.
If multiple -include options are given, the files are included in the order they appear on the command line.


Return to “IDE's”

Who is online

Users browsing this forum: No registered users and 1 guest