Building from a custom framework repository (ESP-IDF)

Hey there,

I’m building an application against the latest version (master) of ESP-IDF (for frustrating compatibility reasons) and would like to switch from vi to pio. How can I tell pio to run the latest ESP-IDF or specify a ESP-IDF path?


In theory, it works like so:

platform_packages = framework-espidf @ @ v4.0-beta

However, version 4 of the frameworks makes changes to the tooling and the build system as well. So it won’t build successfully.

You will have to wait until PlatformIO releases an official update for the ESP-IDF framework. This won’t happen as long as ESP-IDF 4 has not released a productive version.

1 Like

Appreciate the reply @manuelbl - thanks!