The plugin supports two different, almost unrelated features:
- Downloading and debugging binaries onto MCU chips using OpenOCD
You are doing everything at your own risk. Nor me, nor JetBrains, nor anybody else takes any responsibility in case of any direct or indirect damages or losses.
You will need following tools being installed and configured:
- Compatible hardware. This guide was written for, and tested against the ESP-WROOM32 (DevKit C) and FTDI C232HM-DDHSL JTag USB Adaptor
- CLion. This project has been tested against CLion 2018.3.
- ESP32 toolchain installed on your platform as per the getting started guide
In CLion, go to File -> Settings ... -> Plugins -> Browse repositories ... and install the plugin "OpenOCD + ESP32 Support for embedded development".
Detailed guide coming soon!
Basic steps:
- Install the ESP32 toolchain for your platform as well as the latest (git master) ESP-IDF (Required for Cmake scripts). Ensure that all of the paths have been set (IDF_PATH etc.)
- Load an example project (recommended as a base) into Clion. Ensure that the initial Cmake build succeeds. If it fails, there is probably a path issue.
- Configure the path to OpenOCD as below (this is for the Windows version of the ESP toolchain)
- Create a new Run / Debug configuration as below.
- Try running / debugging your project!
Please read CONTRIBUTING.md
If you like the plugin, you may ⭐ the project at github (button at top-right of the page) and at jetbrains plugins repository.