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: Update native SDK for ESP8266 to 3.0.0 · Issue #85 · platformio/platform-espressif8266 · GitHub
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
I installed the platform using the command pio platform install https://github.com/WallaceWilliam/framework-esp8266-rtos-sdk-idf-platformio.git
Which installed custom8266 @ 0fff40c has been successfully installed! PackageManager: Installing toolchain-xtensa-lx106-elf @ 5.2.0+100
I created a new project, selecting a board from the custom8266 section, and went to compile.
- toolchain-xtensa-lx106-elf 5.2.0+100
File "C:\PlatformIO\.platformio\platforms\custom8266\builder\frameworks\esp8266-rtos-sdk.py", line 242
line = line.replace('"','')
^
TabError: inconsistent use of tabs and spaces in indentation
EDIT: I fixed this by copying the indentation of the line below it to this line with the error.
Then I received this;
PACKAGES:
framework-esp8266-rtos-sdk 2d11c90
toolchain-xtensa-lx106-elf 5.2.0+100
To compile project see README.md
The README goes on to say install CMake, install GNU Make, rename src to main, build project using idf.py…
So - then to build a project, it is no longer using PlatformIO…? Then what was the purpose of the WallaceWilliam Platform?