platformio / platformio-home

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

Could not initialize project #6060

Open Benny-G opened 1 year ago

Benny-G commented 1 year ago

Clicked "new project" from home tab, selected lilygo t-display S3, arduino framework, default location, finish.

Ka-boom. Is repeatable. Tried espdif framework, also exploded, different error (second error)

PIO Core Call Error: "The following files/directories have been created in C:\Users\ben.govett\Documents\PlatformIO\Projects\LilyGo Display 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 lilygo-t-display-s3 dependencies...\r\n\n\nUnknownBoard: Unknown board ID 'lilygo-t-display-s3'"

PIO Core Call Error: "Resolving lilygo-t-display-s3 dependencies...\r\n\n\nUnknownBoard: Unknown board ID 'lilygo-t-display-s3'"

Benny-G commented 1 year ago

Managed to resolve this by updating espressif32, HOWEVER the message gives no indication that the board is being searched for in the installed Platform version. If the message was improved, would have been much easier knowing where to look. "Could not find board ID 'xxx' within platform 'Esspressif 32' v5.4.0" would be clear. I fixed by running the following from PlatformIO Terminal: pio pkg update -g -p espressif32 This updated espressif32 from 5.4.0 to 6.3.2.