I probably don’t understand something, please help.
In PIO home i see Espressif 32 platform with the most recent IDF version 3.3.5. But there’s 4.3.1 available: Release ESP-IDF Release v4.3.1 · espressif/esp-idf · GitHub
Are these different versions? How could I check? I tried printf("IDF version: %s\n", esp_get_idf_version());
and got IDF version: v3.3.5-1-g85c43024c
Also, in the “updates” I observe:
Updating platformio/contrib-piohome 3.3.4 @ ~3.3.4 [Up-to-date]
Updating platformio/tool-scons 4.40200.0 @ ~4.40200.0 [Up-to-date]
Platform Manager
================
Platform espressif32
--------
Updating platformio/espressif32 3.3.2 [Up-to-date]
Updating platformio/toolchain-xtensa32 2.50200.97 @ ~2.50200.0 [Up-to-date]
Updating platformio/framework-arduinoespressif32 3.10006.210326 @ ~3.10006.0 [Up-to-date]
Updating platformio/tool-esptoolpy 1.30100.210531 @ ~1.30100.0 [Up-to-date]
Updating platformio/tool-mkspiffs 2.230.0 @ ~2.230.0 [Up-to-date]
Platform espressif32
--------
Updating git+https://github.com/platformio/platform-espressif32.git 3.3.2+sha.1e0f147 [Up-to-date]
Updating platformio/toolchain-xtensa32 2.50200.97 @ ~2.50200.0 [Up-to-date]
Updating platformio/framework-arduinoespressif32 3.10006.210326 @ ~3.10006.0 [Up-to-date]
Updating platformio/tool-esptoolpy 1.30100.210531 @ ~1.30100.0 [Up-to-date]
Updating platformio/tool-mkspiffs 2.230.0 @ ~2.230.0 [Up-to-date]
A small update. Here’s the esp_idf_version.h that comes with PIO package:
/** Major version number (X.x.x) */
#define ESP_IDF_VERSION_MAJOR 3
/** Minor version number (x.X.x) */
#define ESP_IDF_VERSION_MINOR 3
/** Patch version number (x.x.X) */
#define ESP_IDF_VERSION_PATCH 5
Here’s the same file from the latest IDF release:
/** Major version number (X.x.x) */
#define ESP_IDF_VERSION_MAJOR 4
/** Minor version number (x.X.x) */
#define ESP_IDF_VERSION_MINOR 3
/** Patch version number (x.x.X) */
#define ESP_IDF_VERSION_PATCH 1
Please help - how could I use the latest version? I see it mentioned in the “releases”,that PIO esp32 platform uses idf 4. Why there’s 3.3.5 then?