PlatformIO Community

Missing 8266 Library in fresh installation - nothing will compile

I installed the Platform IO Extension on VS Code and created an environment for the 8266 based WeMos D1 mini. However I get an error in c_cpp_properties.json saying that the following is missing:

packages/framework-arduinoespressif8266/tools/sdk/libc/xtensa-lx106-elf/include

The error is correct - there’s no directory by that name - but I can’t find the files that belong in that directory and assumed it would be installed by default. How can I find the files that go here in order to use PlatformIO???

You don’t need to find or install anything additionally – it’s just a warning, not an error, because the builder script references a path which does not exist. This was already discussed in Problems with platformIO and seemingly missing file (ESP01-1M) and fixed in the current git version via my PR. You will be able to build firmwares without issues related to this.