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

Unable to support multiple ESP-IDF versions simultaneously on v1.9.0 extension (VSC-1546) #1378

Open
1 task done
go2net opened this issue Dec 21, 2024 · 2 comments · May be fixed by #1384
Open
1 task done

Unable to support multiple ESP-IDF versions simultaneously on v1.9.0 extension (VSC-1546) #1378

go2net opened this issue Dec 21, 2024 · 2 comments · May be fixed by #1384
Assignees
Labels
bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue) Issue Template Ignored Author hasn't follow the issue template

Comments

@go2net
Copy link

go2net commented Dec 21, 2024

OS

Windows

Operating System version

Windows11

Visual Studio Code version

1.96.2

ESP-IDF version

4.4.6 and 5.3.1

Python version

3.13.1

Doctor command output

This issue is solely an extension-related problem and is not hardware-related.

Extension

No response

Description

Until a week ago, everything was working perfectly. I could use both ESP-IDF v5.3.2 and v4.4.6 for different projects and switch seamlessly between versions. However, now when I try to switch versions, only the last configured version is recognized using the 'Configure ESP-IDF Extension' option. Despite trying various approaches—placing different versions in separate locations, installing the older version first or the newer version first, reinstalling VS Code, and even reinstalling Windows—the issue persists. The extension always defaults to the most recently configured version.

When I downgraded to espressif.esp-idf-extension version 1.8.1, everything returned to normal, confirming that this issue is related to the extension.

Debug Message

No log, this issue is easy to reproduce

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.
@go2net go2net 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 Dec 21, 2024
@github-actions github-actions bot changed the title Unable to support multiple ESP-IDF versions simultaneously on v1.9.0 extension Unable to support multiple ESP-IDF versions simultaneously on v1.9.0 extension (VSC-1546) Dec 21, 2024
@brianignacio5 brianignacio5 added the Issue Template Ignored Author hasn't follow the issue template label Dec 23, 2024
@brianignacio5
Copy link
Collaborator

brianignacio5 commented Dec 23, 2024

This issue is solely an extension-related problem and is not hardware-related.

The ESP-IDF: Doctor commandoutput provides extension related configuration and is necessary to understand your environment setup, errors logged by the extension and better understand the issue you are facing.

when I try to switch versions, only the last configured version is recognized using the 'Configure ESP-IDF Extension' option.

What do you mean ? In Show Existing setups ? Are you sure the setup are valid? Maybe there is a setting value that is failing the validation ? The doctor command and the extension log could help us identify what is the error that is happening in your setup.

@brianignacio5 brianignacio5 linked a pull request Dec 25, 2024 that will close this issue
5 tasks
@brianignacio5
Copy link
Collaborator

brianignacio5 commented Dec 25, 2024

I think I found the issue and propose a bug fix in #1384

Could you please try this vsix installer to see if it fixes the issue ?

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 self-assigned this Dec 25, 2024
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) Issue Template Ignored Author hasn't follow the issue template
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants