Issue with arduino esp8266 platform version

Firstly the version platformio maintains is different from the version they provide. For example latest version number is 1.203 and this maps to v2.2.0 of the library. Another issue is the latest version of this framework is 2.3.0 and platformio updater shows it to be updated to the latest.

Any help will be appreciated. Need it urgently.

That is not our mistake. PlatformIO uses the latest 2.3.0 stable release. See GitHub - esp8266/Arduino at 2.3.0

No. Platformio is using 2.2.0 and saying its the latest version available. That was my concern.

How did you check it?

By checking the platformio packages folder ~/.platformio/packages/framework-arduinoespressif8266/platform.txt. It is using 2.2.0.

Be careful, Issue with arduino esp8266 platform version - #2 by ivankravets

1 Like

Ohk got it. Thanks a lot for the help.

Ivan, this is what I was discovering last night though: https://github.com/platformio/framework-arduinoespressif8266/commit/bbe9d6f472311976959aef8799ead01d713a2833 The package.json has a different version, which has the confusing 1.2xxx version.

ESP8266 stable development platform depends on 2.3.0 Arduino core for ESP8266.

Nevertheless, the “staging” depends on the latest commit from a repo.

Right, but the question is this: (extracted from platformio platform show espressif8266)

Package framework-arduinoespressif8266
--------------------------------------
Type: framework
Requirements: ~1.20300.1 <<<<<
Installed: Yes
Description: Arduino Wiring-based Framework (ESP8266 Core)
Url: https://github.com/esp8266/Arduino
Version: 1.20300.1  <<<<<<

That’s from a fresh install right now in a new virtualenv. That version doesn’t exist at that url. I would expect to see either 2.3.0 (for the stable version) or “somethign” for the master dev version, but 1.20300.1 doesn’t make any sense.

This is different from the platform version, below.

$ platformio platform show espressif8266
espressif8266 ~ Espressif 8266
==============================
Espressif Systems is a privately held fabless semiconductor company. They provide wireless communications and Wi-Fi chips which are widely used in mobile devices and the Internet of Things applications.

Version: 1.2.0  <<< no problem. that's a platformio version.
Home: http://platformio.org/platforms/espressif8266
License: Apache-2.0
Frameworks: simba, arduino
.... more snipped

@karlp

This is a version of development platfor that can contain different frameworks, sdk and tools.

This version means, X.Y.Z, where X and Z are PlatformIO internal components of a version and Y is real version of a package.

It’s fine if you’re saying this is a platformio version. the problem is that there is nowhere that shows the version of the arduino core in use. Surely this is exactly what the package.json file could be used for?

You can compare our package with GitHub - esp8266/Arduino at 2.3.0