ThexXTURBOXx / clion-embedded-esp32

OpenOCD + ESP32 support for CLion
https://plugins.jetbrains.com/plugin/18760-openocd--esp32-support-for-embedded-development
Other
14 stars 5 forks source link

Add flashing of bootloader and partition table #3

Closed smartel99 closed 2 years ago

smartel99 commented 2 years ago

Add ability to select program command, bootloader file/offset and partition table file/offset.

The ability to flash the bootloader and partition table binary files is required when working with the ESP-IDF framework.

Furthermore, openocd v0.11.0 (build 20220706) doesn't seem to support the command program_esp32 that is used by this plugin, so I've added the ability to select whether program or program_esp32 should be used.

Sorry for the messy code, this is my first time working with Java

ThexXTURBOXx commented 2 years ago

Thank you very much for the PR! I will take a closer at it on Monday when I am home again :)

ThexXTURBOXx commented 2 years ago

I have published a new version 0.2.0 with your changes included! Thank you very much again! :)

Edit: It might take a bit until JetBrains has approved it

smartel99 commented 2 years ago

You're welcome! Still having issues with getting GDB to play nice with it, trying to figure out why so I can open an issue on it