Error during build on seeed_xiao_esp32c3, Unknown Board ID

It looks like it should be supported but the build fails with Unknown Board ID.

platformio.ini

[env:seeed_xiao_esp32c3]
platform = espressif32
board = seeed_xiao_esp32c3
framework = arduino
lib_deps = sumotoy/SSD_13XX @ 1.0
monitor_speed = 115200

When I run
pio boards espressif32
it lists the board, but the json file is not in my .platformio/platforms/espressif32/boards directory

And when I try to create a project from scratch, I am able to select the board from the Project Wizard, but PIO Core Call Error: fails with the Unknown board ID.

I have copied the json file from
https://github.com/platformio/platform-espressif32/blob/master/boards/seeed_xiao_esp32c3.json
And that lets the build move forward, but now there is an error about a missing pins_arduino.h

And I switched to the upstream version of the platform

[env:seeed_xiao_esp32c3]
platform = https://github.com/platformio/platform-espressif32.git
board = seeed_xiao_esp32c3
framework = arduino
platform_packages =
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32#master

Which fixed the pins_arduino.h not found.

1 Like