There is a new error trying to build existing project where platformio.ini constains
[env:waveshare_rp2040_zero]
platform = raspberrypi
board = waveshare_rp2040_zero
framework = arduino
or to create a new project for waveshare_rp2040_zero board:
PIO Core Call Error: “The following files/directories have been created in D:\Projects\temp\test\r\ninclude - Put project header files here\r\nlib - Put project specific (private) libraries here\r\nsrc - Put project source files here\r\nplatformio.ini - Project Configuration File\r\nResolving waveshare_rp2040_zero dependencies…\r\n\n\nUnknownBoard: Unknown board ID ‘waveshare_rp2040_zero’”
with an error inside problems tab: cannot open source file “pico.h” (dependency of “Arduino.h”)
It has started after updating platform on my laptop to support newly added Raspberry Pi Pico2 boards by executing ‘pio lib update’ command