I just ran pio update in Visual Studio Code with platformio. Now I get the following error when I open the IDE:
PlatformIO: IntelliSense Index failed: Error: Detected unknown package ‘espressif8266_stage’
I have verified that espressif8266_stage is installed correctly by running platformio platform install GitHub - platformio/platform-espressif8266: Espressif 8266: development platform for PlatformIO, so that is not the problem.
When I try to build a project using the espressif8266_stage platform I get
PlatformManager: Installing espressif8266_stage
Error: Detected unknown package ‘espressif8266_stage’
The terminal process terminated with exit code: 1
in the console. What is going on?
http://docs.platformio.org/en/latest/platforms/espressif8266.html#using-arduino-framework-with-staging-version
Use platform = espressif8266@4f59cef
or whatever version pio platform list
gives you. It’s due to commit Drop "stage" suffix from dev/platform name · platformio/platform-espressif8266@a05b810 · GitHub which removed _stage
suffix from platform name. Now staging version has the same platform name as the stable one.