Download and install VSCode from the official website:
https://code.visualstudio.com/download
The driver is required for Windows to recognize the ESP32.
- Download the Silicon Labs
CP210x Windows Drivers
:
https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers - Extract the downloaded archive
CP210x_Windows_Drivers.zip
- Install the driver by running
CP210xVCPInstaller_x64.exe
The Visual C++ Redistributable is required for compiling the project.
- Download the latest version of the Visual C++ Redistributable Packages from the Microsoft website:
https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist - Run the downloaded file and follow the instructions to complete the installation.
The Slint extension for VSCode adds support for the Slint design markup language and live previews.
- Open VSCode.
- Open the Extensions view:
- Enter
slint.slint
in the search field. - Install the first result Slint by clicking "Install".
Alternatively, you can install the extension directly from the Visual Studio Marketplace:
Slint
- Open VSCode.
- Open the Extensions view
- Enter
espressif.esp-idf-extension
in the search field. - Install the first result ESP-IDF by clicking "Install".
Alternatively, you can install the extension directly from the Visual Studio Marketplace:
ESP-IDF
After installation, the extension needs to be configured.
-
Open the ESP-IDF Explorer: Press
F1
in VSCode, typeESP-IDF: Configure ESP-IDF Extension
, and select it.
-
Enable the checkbox Show all ESP-IDF tags.
-
For Select ESP-IDF version, choose version v5.2 (release version).
-
Click "Install" and wait for the installation to complete (approximately 10 minutes).
Status: Visual Studio Code Version 1.95.3, Slint Extension Version v1.8.0, ESP-IDF Extension Version 1.9.0, Visual C++ Redistributable 14.42.34433.0