Using higher version of espidf

Hi, I am using espressif32 platform with espidf framework:
The current supported version of the framework is * 3.50401.0 (esp-idf version 5.4.1).

I need to use a minimum of 5.4.2 as it have related bug fixes I face.

Any way to use it somehow using platformio? Any ETA for upgrading the framework on the registry?

PlatformIO registry for espidf: PlatformIO Registry
esp-idf version 5.4.2: GitHub - espressif/esp-idf at v5.4.2

Thank you!

That thing was released 2 hours ago, you’re requesting an ETA for integration at lightining speed :smiley:

The right place to ask for inclusion in the registry is the PlatformIO espressif32 platform. Please file an issue at: https://github.com/platformio/platform-espressif32/issues/

If you want to try to use it now-now, you can:

  1. Fork the ESP-IDF repo
  2. Create a new branch starting from the commit for the v5.4.2 tag (f5c3654)
  3. Add package.json file at the root of the repo with content below
  4. Push the branch
  5. Reference that branch in your platformio.ini’s platform_packages via
platform_packages =
  framework-espidf@https://github.com/yourusername/esp-idf.git#yourbranchname

package.json

{
  "name": "framework-espidf",
  "version": "3.50402",
  "description": "Espressif IoT Development Framework. Tasmota framework for ESP32 chip",
  "keywords": [
    "framework",
    "esp32",
    "esp32s2",
    "esp32s3",
    "esp32c2", 
    "esp32c3",
    "esp32c5",
    "esp32c6",
    "esp32c61",
    "esp32h2",
    "esp32p4",
    "espressif"
  ],
  "homepage": "https://docs.espressif.com/projects/esp-idf/en/latest/esp32/",
  "license": "Apache-2.0",
  "repository": {
    "type": "git",
    "url": "https://github.com/tasmota/esp-idf"
  }
}

Oh, wow, I overlooked the time, as the Pull Request is 5-6 months old (I wanted to send a fix for it and saw that it is in place).

I will try the other approach for now. Thank you!