- Navigate to
com.espressif.idf.target
plugin - Click on
com.espressif.idf.target.target
file - Click on
Set as Active Target Platform
and wait for a couple of mins to download and configure your environment with the idf required plugins
- Install
Java SE
(Java 17 and above) from https://www.oracle.com/technetwork/java/javase/downloads/index.html - Install
Eclipse for RCP and RAP Developers
package (Eclipse 2023-03 and above) from https://www.eclipse.org/downloads/packages/ - Install
Eclipse CDT
plugins in the eclipse https://download.eclipse.org/tools/cdt/releases/latest/ (Choose compatible CDT version based on the Eclipse Release) - Install
Eclipse C/C++ OpenOCD Debugging
package from https://download.eclipse.org/embed-cdt/updates/v6/ - Install
m2eclipse
plugins in the eclipse using update site https://download.eclipse.org/technology/m2e/releases/latest/ - Install
cmakeed
plugins in the eclipse https://raw.githubusercontent.com/15knots/cmakeed/master/cmakeed-update/ to get the CMake editor features - Install latest
Eclipse SWTChart
using the update site https://projects.eclipse.org/projects/science.swtchart/downloads - Import the plugins, features, and test plugins into your workspace.
File > Import > Maven > Existing Maven Projects
. Select the directory this repo was cloned into. - Eclipse might prompt a wizard to install
Maven Plugin Connectors
to resolve the idf-eclipse-plugins maven errors, make sure you install all of them. - Install
SWTBot
using the update site https://download.eclipse.org/technology/swtbot/releases/latest/ - Install latest
nebula
plugins using the update site http://download.eclipse.org/nebula/releases/latest
- An API baseline has not been set for the current workspace.
Fix: Window -> Preferences -> Plug-in Development -> API Baselines -> Missing API Baseline -> Change to "Warning"
- The type org.slf4j.Logger cannot be resolved. It is indirectly referenced from required type org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot
Fix: in "Project Explorer" -> com.espressif.idf.tests -> com.espressif.idf.ui.test -> META-INF -> doubleclick MANIFEST.MF -> Dependencies -> Add... -> Type "slf4j.api" -> Add&Save.
- After importing project Eclipse might prompt a wizard to install
Maven Plugin Connectors
to resolve the idf-eclipse-plugins maven errors, make sure you install all of them. But, depending on the version(Eclipse / Extentions), an error may occur:
Fix: check the error and delete one of the extention (usually Tycho) - Help -> Install New Software -> Already Installed -> select "Tycho" -> Uninstall.
- Run as -> SWTBot Test -> may lead to error:
Fix: Uninstall SWTBot -> Install latest snapshot(04.04.2023): http://download.eclipse.org/technology/swtbot/snapshots
- Clone repo
git clone https://github.com/espressif/idf-eclipse-plugin.git
- Ensure you’ve installed Maven locally https://www.vogella.com/tutorials/ApacheMaven/article.html#maven_installation
- Make changes locally on a specific local branch
- Test with Maven Tycho using
$ mvn clean verify -Djarsigner.skip=true
- Submit a Pull Request(PR)
- It is also recommended that you add or update a Functional Test if you are adding or updating a functionality in plugin. More details about adding SWTBot Funtional test can be found in the README.md in test folder in the repo.