Repository navigation
Add build environment for Seeed Studio XIAO ESP32-C6 - #5943
Conversation
Extends esp32c6dev_4MB, using the seeed_xiao_esp32c6 board definition so the board variant enables the RF switch and onboard antenna, and enables USB CDC on boot since the XIAO has no serial-to-USB chip. Co-Authored-By: Claude Opus 5.5 (Claude Code) <[email protected]>
|
No actionable comments were generated in the recent review. WalkthroughThe sample PlatformIO configuration adds a Seeed Studio XIAO ESP32-C6 environment. It inherits from ChangesXIAO ESP32-C6 Build Environment
Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Feature Suggested labels: Suggested reviewers: Merge Risk:
|
|
question: how does adding that board type to the env solve the antenna switch? |
|
I'm not sure if this is necessary. According to seeed wiki, the on-board antenna is enabled by default any way
The only difference in the proposed buildenv is the changed "board =" line, and changing USB-UART to USB-CDC. Custom buildenv examples should be added to Edit: changing the "board=" line activates this small init function from the arduino-esp32 variants folder |
I think this setting was for the official dev kits - debugging via USB-UART is more reliable than going via USB-CDC. |
|
Good find, I did not see that variant stub. |
|
@softhack007 / @DedeHai - Thanks for taking a look. My understanding is that the |
|
Yeah, please make the changes in platformio_override.ini.sample as we won't be shipping official bins targeting this one specific board. If it turns out we need to add a feature to toggle which antenna, we would look to do this in a generic way |
Keep it as an example for custom builds rather than part of the standard build environments. Co-Authored-By: Claude Opus 5.5 (Claude Code) <[email protected]>
esp32c6dev_4MB now enables USB CDC on boot itself (wled#5944). Co-Authored-By: Claude Opus 5.5 (Claude Code) <[email protected]>
|
Thanks for the feedback, I moved it over to |
Extends esp32c6dev_4MB, using the seeed_xiao_esp32c6 board definition so the board variant enables the RF switch and onboard antenna, and enables USB CDC on boot since the XIAO has no serial-to-USB chip.
Summary by CodeRabbit