The purpose of this VScode extension is to enable users to develop Espressif ESP idf projects more efficiently on VScode, which can be used on both Windows and Linux platforms. This extension allows for easy configuration, build, flash, monitor, debug and more on ESP idf projects. Espressif documentation
How to use Video Tutorials:
-
Download and install Visual Studio Code.
-
Install ESP-IDF system prerequisites for your operating system:
- Prerequisites for MacOS and Linux.
- Prerequisites for Windows.Please note that an offline installation package needs to be downloaded for installation.
-
If your platform is Windows. Please follow here to perform some additional operations(Video Tutorials):
Create this file in the installation directory of esp-idf (Default:
C:\Espressif)(Or obtain the file here):get_idf.bat.Then open the file and edit the content as:idf_cmd_init.bat esp-idf-ad5d4ae340c39bc556afa783e091e773
Then add
C:\Espressifin the 'path' of the environment variable. -
If your platform is Mac or Linux. Copy and paste the following command to your shell's profile (
.profile,.bashrc,.zprofile, etc.)alias get_idf='. $HOME/esp/esp-idf/export.sh'
-
In Visual Studio Code, Open the Extensions view by clicking on the Extension icon in the Activity Bar on the side of Visual Studio Code or the View: Show Extensions command (shortcut: ⇧ ⌘ X or Ctrl+Shift+X).
-
Search for ESP-IDF Extension.
-
Install the extension. After you install the extension, When the esp-idf project is opened, Multiple icons will appear in the status bar at the bottom of VScode, click to use as needed.
Enjoy!
