iotsa icon indicating copy to clipboard operation
iotsa copied to clipboard

Need to work out situation with versions of Arduino core and ESP-IDF

Open jackjansen opened this issue 1 year ago • 0 comments

Apparently the platformio version of the arduino-for-esp32 supplied by espressif is lagging.

https://github.com/pioarduino/platform-espressif32 has references to the details.

And indeed, for ArduinoIDE or arduino-cli we have the following versions:

jack@beignet:~/Library/Arduino15/packages/esp32/hardware/esp32/3.0.3 cat package.json 
{
  "name": "framework-arduinoespressif32",
  "version": "3.0.3",
  "description": "Arduino Wiring-based Framework for the Espressif ESP32, ESP32-S and ESP32-C series of SoCs",
  "keywords": [
    "framework",
    "arduino",
    "espressif",
    "esp32"
  ],
  "license": "LGPL-2.1-or-later",
  "repository": {
    "type": "git",
    "url": "https://github.com/espressif/arduino-esp32"
  }
}
jack@beignet:~/Library/Arduino15/packages/esp32/hardware/esp32/3.0.3 cd cores/esp32 
jack@beignet:~/Library/Arduino15/packages/esp32/hardware/esp32/3.0.3/cores/esp32 cat core_version.h 
#define ARDUINO_ESP32_GIT_VER 0x7a82915d
#define ARDUINO_ESP32_GIT_DESC 3.0.3
#define ARDUINO_ESP32_RELEASE_3_0_3
#define ARDUINO_ESP32_RELEASE "3_0_3"

And for platformio the following versions:

jack@beignet:~/.platformio/packages/framework-arduinoespressif32 cat package.json 
{
  "name": "framework-arduinoespressif32",
  "version": "3.20016.0",
  "description": "Arduino Wiring-based Framework for the Espressif ESP32, ESP32-S and ESP32-C series of SoCs",
  "keywords": [
    "framework",
    "arduino",
    "espressif",
    "esp32"
  ],
  "license": "LGPL-2.1-or-later",
  "repository": {
    "type": "git",
    "url": "https://github.com/espressif/arduino-esp32"
  }
}
jack@beignet:~/.platformio/packages/framework-arduinoespressif32 
jack@beignet:~/.platformio/packages/framework-arduinoespressif32 cd cores/esp32 
jack@beignet:~/.platformio/packages/framework-arduinoespressif32/cores/esp32 more core_version.h 
#define ARDUINO_ESP32_GIT_VER 0x54927338
#define ARDUINO_ESP32_GIT_DESC 2.0.16
#define ARDUINO_ESP32_RELEASE_2_0_16
#define ARDUINO_ESP32_RELEASE "2_0_16"

jackjansen avatar Jul 28 '24 23:07 jackjansen