Can anyone tell me what is the problem?

It looks like your platform or the platform packages are broken.

  • Close VS Code
  • Delete the content of D:\PlatformIO_Core\packages
  • Delete the content of D:\PlatformIO_Core\platforms
  • Start VS Code
  • Wait until PlatformIO performed all necessary tasks

Note: Your path “D:\PlatformIO_Core” is very unusual!
Usually this folder is located at “C:\Users\<username>\.platformio”.

Maybe your whole PlatformIO installation is broken and should be reinstalled.

Again: When you post code, logs ini-files etc, please use the preformatted-text feature!
This makes your code much more readable and avoids error in formatting.
Thanks in advance!

1 Like