First of all, I’m confused… AFAIK arduino framework != ESP-IDF? But if you have the current version of the espressif32 platformio platform files (v1.7.0), then per this announcement, you have access to v3.1.3 of the ESP-IDF… or if using the arduino framework, whatever ESP-IDF version it is using…