platformio / platformio-home

PlatformIO Home
https://docs.platformio.org/page/home/index.html
Apache License 2.0
112 stars 65 forks source link

Could not initialize project for waveshare_rp2040_zero board #8731

Closed vasya-serega closed 1 month ago

vasya-serega commented 1 month ago

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 to support newly added Raspberry Pi Pico2 boards by 'pio lib update' command

vasya-serega commented 1 month ago

Changing platform = raspberrypi to platform = https://github.com/maxgerhardt/platform-raspberrypi.git inside platformio.ini fixes the issue