How To Know The Version Of Esp-Idf, Is It Recorded In A Certain Document; How To Optimize Esp-Idf Compilation In Windows Environment; Is There An Esptool That Can Be Used Directly On Windows; Firmware Update - Espressif Systems ESP Faq

Table of Contents

Advertisement

Chapter 2. Development environment

2.3.10 How to know the version of ESP-IDF, is it recorded in a certain document?

• Command line: You can obtain the version number by inputting idf.py --version in the terminal with
an IDF environment.
• CMake script: You can obtain the version number through the variable ${IDF_VERSION_MAJOR}.
${IDF_VERSION_MINOR}.${IDF_VERSION_PATCH}.
• Code compilation:
during code compilation or directly using the macro definition of version in "compo-
nents/esp_common/include/esp_idf_version.h".

2.3.11 How to optimize ESP-IDF compilation in Windows environment?

• Please add the directories of ESP-IDF source code and compiler .espressif to the exclusions of anti-virus
program.

2.3.12 Is there an esptool that can be used directly on Windows?

• You can go to
esptool –> Releases
on the drop-down page.

2.4 Firmware update

2.4.1 How does the host MCU flash ESP32 via serial interfaces?

• For the related protocol, please refer to
refer to
Serial
Protocol.
• For code examples, please refer to esp-serial-flasher.

2.4.2 How to download firmware for ESP32 series modules using the USB-Serial tool?

The methods are as follows:
Note: For ESP8266 modules, IO15 should be specially connected to ground.
Espressif Systems
You can obtain the version number by calling esp_get_idf_version
and download the Windows version of the esptool from the Asset column
ESP32 Serial
Modules
3V3
GND
Serial tool
3V3
GND
Submit Document Feedback
Protocol. For the corresponding documentation, please
TXD
RXD
IO0
RXD
TXD
DTR
17
EN
RTS
Release master

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Esp32Esp8266Esp32-s2Esp32-c3Esp32-s3

Table of Contents