-
Notifications
You must be signed in to change notification settings - Fork 336
Release/v2.0 #1704
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
Merged
+5,148
−11,413
Merged
Release/v2.0 #1704
Changes from 17 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
fc61a18
Pre-release of v2.0.0 (#1627)
brianignacio5 940bae2
fix eim call (#1699)
brianignacio5 ffbcc88
fix eraseFlash task issues
brianignacio5 1c28d75
fix yarn compile
brianignacio5 73bdd9e
test using 5.4.2
brianignacio5 231f617
test use espressif install-esp-idf-action in ci
brianignacio5 0ca8df9
rm use of export sh in ci
brianignacio5 6954616
Update eim call after download
brianignacio5 d9ca38c
try to use eim from PATH if available
brianignacio5 1407262
fix lint issues
brianignacio5 6f4ae2a
fix size cmd
brianignacio5 7834a5b
fix workspace erase flash task
brianignacio5 d29d636
desc order idf setups add changelog release notes
brianignacio5 ed8bffa
update release notes
brianignacio5 43cf2c5
fix reference to old settings in hint viewer langTool and serial func…
brianignacio5 86ea7a3
fix docs
brianignacio5 db96272
fix openocd paths for devkits
brianignacio5 5844968
update docs and screenshots add wsl eim run install new project load …
brianignacio5 63b48d6
rm ref to old examples cmd for new project wizard
brianignacio5 d6b1c03
changes in walkthrough and docs
brianignacio5 0202eba
fix docs zh cn
brianignacio5 ebc8990
fix doc
brianignacio5 00a12d9
fix zh doc
brianignacio5 fc14824
update wsl download run eim
brianignacio5 633292e
fix terminal focus eim
brianignacio5 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| #files | ||
| idf_versions.txt | ||
| *.log | ||
| .vscodeignore | ||
| .style.yapf | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -39,31 +39,19 @@ Make sure to review our [Espressif documentation](https://docs.espressif.com/pro | |
| <img src="./media/readme/commandsList.png" alt="Commands list"> | ||
| </p> | ||
|
|
||
| 6. From the command list, select **Configure ESP-IDF Extension** or press <kbd>F1</kbd> and type `Configure ESP-IDF Extension`. After, choose the **ESP-IDF: Configure ESP-IDF Extension** option. | ||
| 6. From the command list, select **ESP-IDF: Open ESP-IDF Install Manager** or press <kbd>F1</kbd> and type `Open ESP-IDF Install Manager`. After, choose the **ESP-IDF: ESP-IDF: Open ESP-IDF Install Manager** option. | ||
| > **NOTE:** For versions of ESP-IDF < 5.0, spaces are not supported inside configured paths. | ||
|
|
||
| <p> | ||
| <img src="./media/readme/setup.png" alt="Select ESP-IDF" width="950"> | ||
| </p> | ||
|
|
||
| 7. Choose **Express** and select the download server: | ||
| 7. Alternatively, you can download the ESP-IDF Install Manager from the following link [ESP-IDF Install Manager](https://dl.espressif.com/dl/eim/index.html) among the following options:: | ||
|
|
||
| - Espressif: Faster speed in China using Espressif download servers links. | ||
| - Github: Using github releases links. | ||
|
|
||
| 8. Pick an ESP-IDF version to download or the `Find ESP-IDF in your system` option to search for existing ESP-IDF directory. | ||
|
|
||
| 9. Choose the location for ESP-IDF Tools (also known as `IDF_TOOLS_PATH`) which is `$HOME\.espressif` on MacOS/Linux and `%USERPROFILE%\.espressif` on Windows by default. | ||
|
|
||
| 10. If your operating system is MacOS/Linux, choose the system Python executable to create ESP-IDF virtual environment inside ESP-IDF Tools and install ESP-IDF Python package there. | ||
|
|
||
| > **NOTE:** Windows users don't need to select a Python executable since it is going to be installed by this setup. | ||
| 8. Use the ESP-IDF Install Manager to install the ESP-IDF and tools. If necessary, here is the [ESP-IDF Install Manager Documentation](https://docs.espressif.com/projects/idf-im-ui/en/latest/general_info.html). | ||
|
||
|
|
||
| 11. Make sure that `IDF_TOOLS_PATH` doesn't have any spaces to avoid any build issues. Also make sure that `IDF_TOOLS_PATH` is not the same directory as `IDF_PATH`. | ||
| 9. In Visual Studio Code, navigate to `View` > `Command Palette` and type `select current esp-idf version` and select **ESP-IDF: Select Current ESP-IDF Version** from the list. The list of available ESP-IDF setups will be shown, select which one you want to use for the current ESP-IDF project. The selected setup will save a **idf.currentSetup** with selected ESP-IDF path and the extension will configure environment variables for the current project saved as workspace folder state. You can review the setup by running the **ESP-IDF: Doctor Command** by navigate to `View` > `Command Palette` and type `doctor command` and select **ESP-IDF: ESP-IDF: Doctor Command** from the list. | ||
|
|
||
| 12. You will see a page showing the setup progress status, including ESP-IDF download progress, ESP-IDF Tools download and install progress as well as the creation of a Python virtual environment. | ||
|
|
||
| 13. If everything is installed correctly, you will see a message that all settings have been configured. You can start using the extension. | ||
| 10. If everything is installed correctly, you will see a message that all settings have been configured. You can start using the extension. | ||
|
|
||
| Check the [Troubleshooting](#Troubleshooting) section if you have any issues. | ||
|
|
||
|
|
@@ -323,7 +311,7 @@ Press <kbd>F1</kbd> or click menu `View` -> `Command Palette...` to show Visual | |
| <tr> | ||
| <td rowspan=2 align="center">Additional frameworks</td> | ||
| <td>Install ESP-ADF</td> | ||
| <td>Clone ESP-ADF inside the selected directory and set <strong>idf.espAdfPath</strong> (<strong>idf.espAdfPathWin</strong> in Windows) configuration setting.</td> | ||
| <td>Clone ESP-ADF inside the selected directory and set ADF_PATH in <strong>idf.customExtraVars</strong> configuration setting.</td> | ||
| <td></td> | ||
| <td></td> | ||
| </tr> | ||
|
|
@@ -504,12 +492,6 @@ Press <kbd>F1</kbd> or click menu `View` -> `Command Palette...` to show Visual | |
| <td></td> | ||
| <td></td> | ||
| </tr> | ||
| <tr> | ||
| <td>Clear Saved ESP-IDF Setups</td> | ||
| <td>Clear existing ESP-IDF setups saved by the extension.</td> | ||
| <td></td> | ||
| <td></td> | ||
| </tr> | ||
| </tbody> | ||
| </table> | ||
|
|
||
|
|
@@ -580,7 +562,7 @@ This extension uses the ``idf.saveScope`` configuration setting (which can only | |
|
|
||
| 7. In some cases, the default shell (Powershell, zsh, sh, .etc) configured in VS Code could affect the behavior of the extension. Make sure that MSYS/MinGW is not set in the environment and the variables don't conflict with terminal behavior. The `ESP-IDF: Doctor Command` shows which shell is detected by the extension when running tasks like building, flashing and monitoring. More information in [here](https://code.visualstudio.com/docs/terminal/profiles). | ||
|
|
||
| If there is any Python package error, please try to reinstall the required Python packages with the **ESP-IDF: Install ESP-IDF Python Packages** command or running the setup again with the **ESP-IDF: Configure ESP-IDF Extension** command. | ||
| If there is any Python package error, please try to reinstall the required Python packages with the [ESP-IDF Installation Manager](https://docs.espressif.com/projects/idf-im-ui/en/latest/general_info.html). | ||
|
|
||
| > **NOTE:** When downloading ESP-IDF using git cloning in Windows, if you receive errors like "unable to create symlink", enabling `Developer Mode` while cloning ESP-IDF could help resolve the issue. | ||
|
|
||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Installation Manager" here as well.