Chat freely about anything...

User avatar
By davydnorris
#79810 I use Eclipse and love it - I use it for both my native C/C++ coding and also for my Arduino work.

Eclipse supports Arduino development easily - you use the built in board and library manager to download the compiler toolchain and libraries, and you copy and paste your existing sketch into an Eclipse project as a file with the .cpp extension.

I've converted all my Arduino work over into Eclipse now.
User avatar
By rudy
#79821
davydnorris wrote:Eclipse supports Arduino development easily - you use the built in board and library manager to download the compiler toolchain and libraries, and you copy and paste your existing sketch into an Eclipse project as a file with the .cpp extension.

I would like to try this. Do you know of any current online instructions that I can follow?
User avatar
By McChubby007
#79822
rudy wrote:
davydnorris wrote:Eclipse supports Arduino development easily - you use the built in board and library manager to download the compiler toolchain and libraries, and you copy and paste your existing sketch into an Eclipse project as a file with the .cpp extension.

I would like to try this. Do you know of any current online instructions that I can follow?

I'm unclear if Davy uses the sloeber plugin for Eclipse, but if you use that it installs and configures Eclipse CDT, and all the relevant menu items are then present. Sloeber plugin can either be installed onto an existing Eclipse CDT, or you can download the sloeber Eclipse all-in-one. Creating a new 'Arduino' project from Eclipse creates all the necessary Eclipse settings for the project.

See http://eclipse.baeyens.it/index.shtml

I've used this for over 2 years now. It would be a nightmare to manually configure Eclipse so this is perfect. I prototype a lot of embedded code to run on the PC for testing, so this allows me to use one tool and the same code for all targets (subject to some stubs/emulation etc).

Eclipse is a personal favourite of mine as I've been using it for over 15 years, but it does have its detractors. If using platformIO (which is, to me, the next generation of cross-embedded/framework tool) it probably makes more sense to use VsCode, as PlatformIO is designed to work with it. Sorry if you already know all this !

PlatformIO : https://platformio.org/platformio-ide