How to check esp32 core version?


how can i check the esp32 core version used by platformio?

In the Arduino core or ESP-IDF core?

Well actually for both you can use the function esp_get_idf_version(). Either directly or in the Arduino environment via ESP.getSdkVersion().

const char * EspClass::getSdkVersion(void)
    return esp_get_idf_version();

 * Get IDF version
 * @return constant string from IDF_VER
const char* esp_get_idf_version(void);

See arduino-esp32/Esp.h at a070884441308c5bfa6805d6f515801769ea0b1b · espressif/arduino-esp32 · GitHub

1 Like