- Wed Jan 02, 2019 1:05 pm
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.
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