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

fix workspace for jtag pre post tasks #1156

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

brianignacio5
Copy link
Collaborator

Description

Please include a summary of the change and which issue is fixed.

Fixes #1146

Type of change

Please delete options that are not relevant.

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

Steps to test this pull request

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

This can be reproduced with the following settings.json entries in an example esp-idf project.

"idf.flashType": "JTAG",
"idf.preFlashTask": " echo workspaceFolder = ${workspaceFolder}"

Then click on the "ESP-IDF: Flash Device" button.

  • Expected behaviour: Workspace folder doesn't contain build path.

  • Expected output:

How has this been tested?

Manual testing using steps above.

Test Configuration:

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

Copy link

github-actions bot commented Mar 7, 2024

Download the artifacts for this pull request:

@brianignacio5 brianignacio5 added this to the v1.7.1 milestone Mar 14, 2024
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!

@AndriiFilippov
Copy link
Collaborator

@brianignacio5 hi !

Tested under:

OS - Windows 10
ESP-IDF: v5.1.2

Before fix:
image

After:
image

LGTM 👍

@brianignacio5 brianignacio5 merged commit d3f99db into master Mar 21, 2024
6 checks passed
@brianignacio5 brianignacio5 deleted the bugfix/jtag-custom-task-workspace branch March 21, 2024 06:49
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.

${workspaceFolder} appends "build" when idf.flashType is JTAG (VSC-1306)
3 participants