How to use espidf v5.2?

I’d like to write a simple test program to call gpio_dump_all_io_configuration()

To get all the GPIO information and understand a little more about the
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/gpio.html

I’ve tried platform_packages = framework-espidf@~3.50102.240122

But I don’t understand how to know which package to include to get v5.2 of the framework.

Thanks!

There is no such package version registered. The latest version at the time is ESP-IDF v5.1.2.

Your best shot is trying the bleeding edge platform with the v5.2 ESP-IDF and praying builder script can handle it.

[env:esp32dev]
platform = https://github.com/platformio/platform-espressif32.git
board = esp32dev
framework = espidf
platform_packags =
   framework-espidf@https://github.com/espressif/esp-idf.git#release/v5.2