EasyManua.ls Logo

Espressif ESP32-S2 - Checking the Current Version

Espressif ESP32-S2
1695 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 7. ESP-IDF Versions
The ESP-IDF Programming Guide has information about the different versions of ESP-IDF (major, minor, bugfix,
etc).
7.5 Checking the Current Version
The local ESP-IDF version can be checked by using idf.py:
idf.py --version
The ESP-IDF version is also compiled into the firmware and can be accessed (as a string) via the macro IDF_VER.
The default ESP-IDF bootloader will print the version on boot (the version information is not always updated if
the code in the GitHub repo is updated, it only changes if there is a clean build or if that particular source file is
recompiled).
If writing code that needs to support multiple ESP-IDF versions, the version can be checked at compile time using
compile-time macros.
Examples of ESP-IDF versions:
Espressif Systems 1589
Submit Document Feedback
Release v4.4

Table of Contents