Framework-arduinoespressif8266 is out of date


I am using PlatformIO with the following configuration:

platform = espressif8266
board = esp_wroom_02
framework = arduino

pio platform show espressif8266 gives me:

Package framework-arduinoespressif8266
Type: framework
Requirements: ~2.20402.0
Installed: Yes
Version: 2.20402.4
Original version: 2.4.2
Description: Arduino Wiring-based Framework (ESP8266 Core)

But there are already new versions available: 2.5.0 or 2.6.0-dev.

How to pickup them (I am able to use 2.5.0 in Arduino)?

Probably I got an answer: Using Arduino Framework with Staging version

If there are some useful tips - please let me know…

1 Like

I have successfully built my project with
platform =
option (version=2.6.0-dev), but failed to update FS image:

Verbose mode can be enabled via `-v, --verbose` option
PLATFORM: Espressif 8266 (Stage) > ESP-WROOM-02
HARDWARE: ESP8266 80MHz 80KB RAM (2MB Flash)
Library Dependency Finder ->
Collected 28 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <ESP8266WiFi> 1.0
|-- <ESP8266HTTPClient> 1.2
|   |-- <ESP8266WiFi> 1.0
|-- <cJSON>
|-- <ESP8266_SSD1306> 4.0.0
|   |-- <Wire> 1.0
Building SPIFFS image from 'data' directory to .pioenvs\esp_wroom_02\spiffs.bin
*** [.pioenvs\esp_wroom_02\spiffs.bin] Error 148

If I go back to platform = espressif8266 FS image update works well.

Tried to use 2.5.0 version by replacing package.json file with old one - same FS issue. At the same time I am able to run 2.5.0 version on Arduino platform.

Is where a way to pickup 2.5.0 version (or some particular one) by PlatformIO?

It will probably take a little while for 2.5.0 to make it to platformIO. The stable version only dropped eight days ago, so for now I think it’s a matter of adding your voice to ESP8266 Arduino 2.5 - New Release · Issue #124 · platformio/platform-espressif8266 · GitHub asking for it to be worked on.

1 Like

We’ve just added support for 2.5.0. Please re-test with the latest upstream version => Espressif 8266 — PlatformIO latest documentation

We plan to publish the final release of deb/platformio this week.