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

I have ever install IDF with shell in ubuntu, but the vscode extension not identify it (VSC-794) #580

Closed
Yecgaa1 opened this issue Nov 23, 2021 · 3 comments
Labels
bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)

Comments

@Yecgaa1
Copy link

Yecgaa1 commented Nov 23, 2021

image
I have ever set IDF_PATH=$HOME/esp/esp-idf
And I have ever try to set this
image
image
I can build but not flash with this extension. If with shell and export.sh, I can do it
I know the reason is that I dont set the path with export.sh
But how I can solve this problem with this extension automatically

@Yecgaa1 Yecgaa1 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 Nov 23, 2021
@github-actions github-actions bot changed the title I have ever install IDF with shell in ubuntu, but the vscode extension not identify it I have ever install IDF with shell in ubuntu, but the vscode extension not identify it (VSC-794) Nov 23, 2021
@Yecgaa1
Copy link
Author

Yecgaa1 commented Nov 23, 2021

I know this topic so I have set IDF_PATH=$HOME/esp/esp-idf
image

@brianignacio5
Copy link
Collaborator

HI @Yecgaa1 the documentation you cited is the part of the extension setup wizard, where we try to detect an existing setup in $HOME/esp/esp-idf and if found the setup wizard will show the Use existing setup option. The setup wizard appears when you click on menu View -> Command Palette -> search ESP-IDF: Configure ESP-IDF extension.

In the settings documentation we specify that we don't recognize in $HOME in the extension configuration settings. Just replace it with ${env:HOME}/esp/esp-idf.

If you are also manually configuring the extension, please review the Setup documentation for json manual configuration or I'll recommend using the setup wizard for UI configuration by clicking menu View -> Command Palette -> search ESP-IDF: Configure ESP-IDF extension

@Yecgaa1
Copy link
Author

Yecgaa1 commented Nov 26, 2021

Yes,you are right, thanks. And I want to remind others that remember to set the "Python Bin Path" and "Tools Path"

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

No branches or pull requests

2 participants