PlatformIO Community

Update to ESP8266 RTOS SDK


#1

PlatformIO has a very old version of the above SDK.

It is impossible to update it manually to what is on https://github.com/espressif/ESP8266_RTOS_SDK.git

This has been stable for a long time!

Why do they not provide a simple manual update option?


#2

If the build system and file structure hasn’t changed you can update your local copy by going in your framework-esp8266-rtos-sdk folder (e.g. C:\Users\<user>\.platformio\packages\framework-esp8266-rtos-sdk) and update the files. However, the filestructure has changed so this won’t work. There’s already an issue for it: https://github.com/platformio/platform-espressif8266/issues/85

PIO is basically at 1.4.x (https://github.com/espressif/ESP8266_RTOS_SDK/tree/1.4.x) with the newest being 3.1.


#3

So you are aware of this issue.

ESP8266 is so popular as an IOT device – I am surprised that it has not been updated.

I too thought I could manually update – but file structure has changed – new one is similar to ESP-IDF!


#4

Please file a feature request here https://github.com/platformio/platform-espressif8266/issues


#5

try it


#6

Thanks for the update!


#7

I mam using Visual Studio Code. I managed to install the platform and it shows up in .platformio/platforms/custom8266

However the framework is not installed. Should this be done manually by creating a folder:
framework-esp8266-rtos-sdk-idf-platformio?

The new framework does not show up as an option. Thanks


#8

Hi.
sorry for delay

in platform.json framework mark “optional”: true
i.e. the framework will be set when first used
you need in platformio.ini set
platform=custom8266
framework=framework-esp8266-rtos-sdk-idf

and compile project/ framework will install