PlatformIO Community

How to use ESP-IDF current version from https://github.com/espressif/esp-idf?

if I want to use ESP-IDF current version from
https://github.com/espressif/esp-idf lastest dev. or lastest stable version( 3.1-beta1),
how to config them?

Thank you.

We don’t support beta software.

And how about ESP8266_RTOS_SDK version 2.0.0?

Wish to use .
Thank you

See

If you really want to use that, on your risk, you can do this way:
Clone (or download) the esp-idf repo then copy the folders: components, make and tools to
C:\Users\[your user]\.platformio\packages\framework-espidf

If something doesn’t work properly after doing this… please don’t complain here…

Thank you for advice.

Result is still not work, maybe some components from new dev don’t match to old framework-espidf.

That’s why @ivankravets recommended to use the official stable release installed by PlatformIO

We plan to add support for staging/upstream version of ESP-IDF soon. It’s team works in this way. We already did that for Arduino ESP8266/ESP32:

1 Like

Is there any update on this? I also need to test out the current git version because of enhanced power-save functionality.

BTW, where do I find the source for the pio framework-espidf repo?

In terms of use-case, I understand that it’s awkward to “support” current git, but I don’t really see that there is much of an option. In general, when there is a problem/bug the first thing I have to do is to get the latest version of the framework from git to see whether it’s fixed. If platformio doesn’t support that, then it’s a real PITA.

any update on this? while actually i use the last not stable platform with “platform = https://github.com/platformio/platform-espressif32.git” on platformio.ini, this not use the packages from the espressif repo, actually, i really dont find where this packages come from.

the packages have some issues right now that was solved on the espressif repo.

Try http://docs.platformio.org/en/latest/projectconf/section_env_general.html#platform-packages

Try adding to your environment section something like

platform_packages =
  ; use upstream Git version
  framework-espidf @ https://github.com/espressif/esp-idf.git
1 Like

yeah! that work! sadly it fail to compile because missing some libraries, this is because the last idf framework change the ubication of some files and the compiler doesnt find them. if you got some clue on how to change how or where compiler search for, i will apreciate that.

Lots of component paths are defined here with others also being written throughout the script. You can either modifiy your local <home directy>/.platformio/platforms/espressif32/builder/frameworks/espidf.py file or fork the gitrepo and say platform = <your git link here> in the platformio.ini. Or, wait for PIO to integrate if officially.

2 Likes