Install ESP-IDF Components

The ESP-IDF: ESP Component Registry will launch a UI showing the ESP Component Registry.

../_images/component-registry.png

You can browse many different ESP components and install them on your current ESP-IDF project with the Install button.

../_images/install-component.png

You can also create a new project from ESP component example using the Create project from this template button.

../_images/create-project-from-component-example.png

Find out more about the ESP Component Registry official documentation.

Install Arduino-ESP32 as Component

The ESP-IDF: Add Arduino-ESP32 as ESP-IDF Component command will add Arduino-ESP32 as a ESP-IDF component in your current directory (${CURRENT_DIRECTORY}/components/arduino). You can also use the ESP-IDF: Create Project from Extension Template command with arduino-as-component template to create a new project directory that includes Arduino-esp32 as an ESP-IDF component.

备注

Not all versions of ESP-IDF are supported. Make sure to check Arduino-ESP32 to see if your ESP-IDF version is compatible.