Skip to content

Conversation

@brianignacio5
Copy link
Collaborator

Description

This pull request significantly expands and updates the list of default supported boards for OpenOCD in the defaultBoards array. It introduces support for newer ESP32 chip variants, adds more board configurations for existing chips, and improves the descriptions and config file references for better clarity and maintainability.

Board support expansion:

  • Added support for new ESP32 chip variants: ESP32-C5, ESP32-C6 (including LP core), ESP32-C61, ESP32-H4, and ESP32-P4, each with multiple debugging interface options (builtin USB-JTAG, ESP-PROG, ESP-PROG-2).
  • Added new board entries for existing chips such as ESP32-WROVER-KIT (1.8V and 3.3V), ESP32-ETHERNET-KIT, ESP32-S2-KALUGA-1, and ESP32-SOLO-1, increasing the range of supported hardware.

Configuration and description improvements:

  • Updated and standardized the description fields for all boards to clearly indicate the chip variant and debugging method.
  • Changed configFiles references to use specific board or interface configuration files, improving accuracy and maintainability.

Refactoring and cleanup:

  • Removed outdated board entries

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Steps to test this pull request

Check on OpenOCD CI tests for OpenOCD Board tests and Check default boards.

You can also temporary delete (or rename) $OPENOCD_SCRIPTS/esp-config.json and run the ESP-IDF: Select OpenOCD Board Configuration which should return the defaults boards since esp-config.json is not found.

How has this been tested?

Manual testing as described above.

Test Configuration:

  • ESP-IDF Version: 5.5.1
  • OS (Windows,Linux and macOS): macOS

Checklist

  • PR Self Reviewed
  • Applied Code formatting
  • Added Documentation
  • Added Unit Test
  • Verified on all platforms - Windows,Linux and macOS

@github-actions
Copy link

Download the artifacts for this pull request:
You can test these changes by installing this VSIX by click menu View -> Command Palette..., type Install from VSIX and then select downloaded esp-idf-extension.vsix file to install the extension.

@brianignacio5 brianignacio5 added this to the v1.11.0 milestone Oct 22, 2025
Copy link
Collaborator

@Fabricio-ESP Fabricio-ESP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fallback working as expected.

Copy link
Collaborator

@radurentea radurentea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@brianignacio5 brianignacio5 merged commit c44d174 into master Oct 30, 2025
6 checks passed
@brianignacio5 brianignacio5 deleted the bugfix/openocd-default-boards branch October 30, 2025 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants