Just wondering if anyone had luck getting the new Xiao ESP32 C6 from Seeed Studio to work on PlatformIO.
I created a ticket here: Add Support for Seeed Studio ESP32C6 · Issue #1422 · platformio/platform-espressif32 · GitHub
Just wondering if anyone had luck getting the new Xiao ESP32 C6 from Seeed Studio to work on PlatformIO.
I created a ticket here: Add Support for Seeed Studio ESP32C6 · Issue #1422 · platformio/platform-espressif32 · GitHub
You can use the Tasmota branch of platform-espressif32 for Arduino-ESP32 3.x support and then add the board definition for the Xiao ESP32C6 on top of that.
Try out the Arduino project
You can use the “esp32-c6-devkitm-1” board definition with the Seeed Xiao board. Note however that the PlatformIO doesn’t currently support the Arduino framework, just the espidf framework for the ESP32-C6.
You can go a bit deeper, by switching to the Arduino-ESP32 V3 libraries and forcing the board definition to support arduino.
This is a bit hacky, and you’re moving out of PlatformIO supported areas…
In your platformio.ini file:
[env:seeed_xiao_esp32c6]
platform = espressif32
board = esp32-c6-devkitm-1
framework = arduino
platform_packages =
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.2
platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1
You will also need to edit the board definition in esp32-c6-devkitm-1.json
Under linux its here:
~/.platformio/platforms/espressif32/boards/esp32-c6-devkitm-1.json
Change the following:
"frameworks": [
"arduino",
"espidf"
],
Good Luck.
Dear Euan,
i test the same configuration as describt, but i got the following error:
.platformio\packages\framework-arduinoespressif32-libs\esp32c6\bin\bootloader_qio_.elf’ not found, needed by target `.pio\build\seeed_xiao_esp32c6\bootloader.bin
Do you have any idea?
Best regards
Dieter
Then your esp32-c6-devkitm-1.json
is missing a setting for flash or PSRAM memory type or frequency, from which the bootlaoder file path is derived. Did you use the latest one from https://github.com/platformio/platform-espressif32/blob/develop/boards/esp32-c6-devkitm-1.json?
Does the https://github.com/maxgerhardt/pio-xiao-esp32c6 project not work?
I test the blink example https://github.com/maxgerhardt/pio-xiao-esp32c6 and it works!
Thanks a lot for the quick help.