Versions of arduino-esp32 and esp-idf


#1

I’m trying track a complex issue in my code. For this i need to check different versions of arduino-esp32 and esp-idf cores. How does platformio control which version is used?

In platform.json there are version numbers, but i can’t find corresponding version numbers in the github repos of arduino-esp32 and esp-idf?

 "framework-arduinoespressif32": {
      "type": "framework",
      "optional": true,
      "version": "~2.10000.0"
    },
    "framework-espidf": {
      "type": "framework",
      "optional": true,
      "version": "~3.30101.0"

#2

@ivankravets could you give me a pointer to how this works, please? thx.


#3

See https://docs.platformio.org/en/latest/platforms/espressif32.html#using-arduino-framework-with-staging-version

If you need to specify a commit, use https://github.com/espressif/arduino-esp32.git#commit-sha1. More details https://docs.platformio.org/en/latest/userguide/platforms/cmd_install.html#cmd-platform-install


#4

@ivankravets I know how this works in general. But can’t find out which arduino-esp32 commit is grabbed by the version statement. How is mapping done between this version number and a certain commit / release of the arduino-esp32 library?


#5

I had a similar issue and I solved it this way:

[env:esp32git110]
platform=espressif32@1.1.0
board=esp32dev

Is this what you were looking for?


#6

I know how to load a certain version of the arduino-esp32 library. My question is which library version is grabbed by the statement “~2.10000.0”?


#7

It’s 1.0.0 release, see Y from X.Y.Z in version => https://github.com/espressif/arduino-esp32/tree/1.0.0