Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VSC-1596] add idf.jtagFlashCommandExtraArgs to modify jtag flash behaviour #1450

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brianignacio5
Copy link
Collaborator

Description

Add idf.jtagFlashCommandExtraArgs configuration setting to allow customization of OpenOCD JTAG flash command.

Please review https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/api-guides/jtag-debugging/index.html#upload-application-for-debugging for possible arguments to use.

Fixes #1437

Type of change

  • New feature (non-breaking change which adds functionality)

Steps to test this pull request

Provide a list of steps to test changes in this PR and required output

  1. Open a ESP-IDF project and set in .vscode/settings.json a new setting idf.jtagFlashCommandExtraArgs; ["verify", "reset"] or using the vscode settings UI.
  2. Execute ESP-IDF: Flash (with JTag). The flashing arguments should be used in the Flash task.
  3. Observe results.
  • Expected behaviour:

JTAG flash arguments can be customized.

  • Expected output:

OpenOCD command will include customize JTAG flash arguments.

How has this been tested?

Test Configuration:

  • ESP-IDF Version: 5.3.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

@brianignacio5 brianignacio5 added this to the v1.10.0 milestone Feb 28, 2025
@brianignacio5 brianignacio5 self-assigned this Feb 28, 2025
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.

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

@Fabricio-ESP Fabricio-ESP changed the title add idf.jtagFlashCommandExtraArgs to modify jtag flash behaviour [VSC-1596] add idf.jtagFlashCommandExtraArgs to modify jtag flash behaviour Mar 6, 2025
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.

使用VScode ESP-IDF插件烧录程序出现问题 (VSC-1596)
2 participants