Skip to main content

Working with ESP-IDF

This chapter contains the following sections. Please read as needed:

ESP-IDF Getting Started

New to ESP32 ESP-IDF development and looking to get started quickly? We have prepared a general Getting Started Tutorial for you.

Please Note: This tutorial uses the ESP32-S3-Zero as a teaching example, and all hardware code is based on its pinout. Before you start, it is recommended that you check the pinout of your development board to ensure the pin configuration is correct.

Setting Up Development Environment

note

The following tutorial is based on the Windows development environment using VS Code.

Please refer to Waveshare ESP-IDF Getting Started - Section 1 Set Up Environment to complete the ESP-IDF development environment configuration.

Running Official Espressif Examples

Please refer to Waveshare ESP-IDF Getting Started - Section 2 Run Example.

Erasing Device Flash

  • Extract the software resource package Flash debugging software

  • Open the flash_download_tool_3.9.5.exe software, select ESP32-S3 and UART

    ESP32-H2 TO Erase Flash 1.png

  • Select the UART port number, click START (do not select any bin file)

    ESP32-H2 TO Erase Flash 2.png

  • Wait for the flashing to complete, then click Erase

    ESP32-H2 TO Erase Flash 3.png

  • Wait for the erasing to complete

    ESP32-H2 TO Erase Flash 4.png