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

Set the "openOcdLaunchArgs" setting before "openOcdConfigs" in the openocd startup line (VSC-1629) #1481

Closed
1 task done
ketfor opened this issue Mar 20, 2025 · 2 comments · Fixed by #1482
Closed
1 task done
Assignees
Labels
bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)

Comments

@ketfor
Copy link

ketfor commented Mar 20, 2025

OS

MacOS

Operating System version

10

Visual Studio Code version

No response

ESP-IDF version

4

Python version

3.8

Doctor command output

.

Extension

No response

Description

In the openocd startup line, the "openOcdLaunchArgs" setting comes after "openOcdConfigs", which causes the board to be initialized first, and then the arguments are applied. This leads to ignoring some of the arguments needed for initialization, for example -c set ESP_SEMIHOST_BASEDIR should be set before -f board/*

Debug Message

.

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@ketfor ketfor added the bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue) label Mar 20, 2025
@github-actions github-actions bot changed the title Set the "openOcdLaunchArgs" setting before "openOcdConfigs" in the openocd startup line Set the "openOcdLaunchArgs" setting before "openOcdConfigs" in the openocd startup line (VSC-1629) Mar 20, 2025
@brianignacio5 brianignacio5 self-assigned this Mar 24, 2025
@brianignacio5
Copy link
Collaborator

There is a fix in $1482 Please take a look by:

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

Thanks for using our extension! 🚀

Your feedback matters! Could you take a moment to rate it on the marketplace? A positive rating helps other developers discover our tools and motivates us to keep improving.

⭐ Rate ESP-IDF Extension: https://marketplace.visualstudio.com/items?itemName=espressif.esp-idf-extension&ssr=false#review-details

Your support means a lot to our development team!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants