feature-requests icon indicating copy to clipboard operation
feature-requests copied to clipboard

Allow me to set ESP32 esp-idf framework version to a branch

Open ankushg opened this issue 2 years ago • 1 comments

Describe the problem you have/What new integration you would like I want to be able to set esp32.framework.version to something that lets me point to a branch of esp-idf, instead of an official release.

Something like the running 4.4 branch: https://docs.espressif.com/projects/esp-idf/en/release-v4.4/esp32/index.html

Please describe your use case for this integration and alternatives you've tried: The root cause of this FR is that I want to be able to build my firmware on my raspberry pi.

Support for aarch64 was recently added in ESP-IDF's 4.4 branch, but there's no 4.4.x release that includes the fix yet.

Additional context

ankushg avatar Oct 04 '22 07:10 ankushg

I second this request, also looking for ESP32-ULP toolkit on Aarch64.

mkruiver avatar Oct 09 '22 07:10 mkruiver

This is already possible using platform_version, the branch is simply appended after a #. Unfortunately this is not documented very well in the esp32 component docs.

Example:

esp32:
  board: lolin_s2_mini
  framework:
    platform_version: "https://github.com/platformio/platform-espressif32.git#master"

austlane avatar Jan 10 '23 17:01 austlane

You can also use source to specify a custom esp-idf framework to use. Ex:

esp32:
  board: lolin_s2_mini
  framework:
    type: esp-idf
    platform_version: "https://github.com/Jason2866/platform-espressif32.git#new_ULP"
    version: 4.4.3
    source: https://github.com/tasmota/esp-idf/releases/download/v4.4.3/esp-idf-v4.4.3.zip

austlane avatar Jan 10 '23 17:01 austlane

Thank you @austlane .

nagyrobi avatar Jan 10 '23 18:01 nagyrobi