Get Started with ESP-IDF¶
1.Download Visual Studio Code¶
Open the official website link:
Click to download.
Accept the license agreement and go next.
Accept the default location or click 'Browse...' to change the installation location.
Accept the resting default option and click 'Next >'...
Click install and waiting for the installation ...
Click 'Finish' to exit the installation and (by default) launch Visual Studio Code
2. Install the extension¶
Open Visual Studio Code and open Extension Manager
Click on the [Extensions] extension icon.
Select the C/C++ extension plugin and click [Install].
Search for keywords such as espressif, esp-idf, esp32, esp32s2, etc. in the Extensions.
Click [Install] for the esp-idf extension.
Open the command palette.
Click [View].
Select [Command Palette].
Or press the F1 shortcut key to open the command palette and enter in the command palette: ESP-IDF: Select where to save configuration settings.
Wait until the following progress bar is completed.
Then enter "ESP-IDF: Configure ESP-IDF extension" in the command palette, and click to select "ESP-IDF: Configure ESP-IDF extension".
After entering, select [EXPRESS].
Note: Select version v5.1.6.
In the following interface,click [Install] to start the installation.
Then, just wait patiently for the installation to be completed.
When you see this interface, it means the installation has been completed correctly.