Skip to content

Get Started with ESP IDF

Get Started with ESP-IDF


Install Visual Studio Code

Search for Visual Studio Code download on Google or enter the https://code.visualstudio.com/download, select the version compatible with your computer system and download Visual Studio Code installer. In this instructions we are selecting Windows.

Get_Started_with_PlatformIO_1

Double-click the VSCodeUserSetup file to install the Visual Studio Code.

get-started-with-platformio-2

Accept the license agreement and go next.

get-started-with-platformio-3(1)

Accept the default location or click 'Browse...' to change the installation location.

get-started-with-platformio-4

Accept the resting default option and click 'Next >'...

Click install and waiting for the installation ...

get-started-with-platformio-5

Click 'Finish' to exit the installation and (by default) launch Visual Studio Code:

get-started-with-platformio-6

Open Visual Studio Code and open Extension Manager.

get-started-with-platformio-7

Install Python

Search for 'Python' and install.

get-started-with-platformio-8

Install ESP-IDF

Search for 'ESP-IDF' and install

1

After ESP-IDF is installed, launch the ESP-IDF Tools Manager

2

Select Custom Installation

3

After entering, the installer will automatically check whether your system meets the requirements for installing ESP-IDF. If any required components are missing, click ‘Install Python’ to install the necessary environment

4

After the installation is complete, click it again to recheck whether the environment meets the requirements

4

Select Target Chips

4

Select the ESP-IDF version (please choose the version required by your course)

4

Select Download Mirrors

4

Select ESP-IDF Features

4

Select Tools

4

Select Installation Location

4

Installation progress

4

4

4

Run the program


In this case, we'll run a hello_world demo on the CrowPanel-ESP32 Display to check that the installation is correct.

  1. Connect the CrowPanel-ESP32 Display to the computer with a USB cable.
  2. Click the Compile button and wait for the project to compile successfully.

    get-started-with-ESP-IDF-25

  3. Select the corresponding serial port.

    get-started-with-ESP-IDF-26

  4. Click Download and select UART.

    get-started-with-ESP-IDF-27

  5. Wait a while until the download is successful.

    get-started-with-ESP-IDF-28

  6. Click the serial port to view the terminal information.

    get-started-with-ESP-IDF-29