Opening an existing ESP-IDF project

I have an ESP32 project that was created using the ESP-IDF extension for VSCode and I would like to be able to open it using the PlatformIO extension. I tried to use the “Home/Open” Project" link; however, it will not load because the project doesn’t have a “platformIO.ini” file.

What is the way to do this?
Thank you,

The ESP-IDF project could be using an ESP-IDF version that PlatformIO does not support, see releases. If the ESP-IDF project has set a custom partition table, you also have to set it in the platformio.ini. But as a base for an ESP32 based project (not S2 or C3 etc.), you could just create the most basic platformio.ini

platform = espressif32
board = esp32dev
framework = espidf

and then see where it fails.

@maxgerhardt Thank you very much, manually adding the “platformio.ini” file worked. The project now builds :slight_smile: