Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add arduino support for the ESP32-C6 #1474

Closed
SomeSpaceNerd opened this issue Oct 14, 2024 · 6 comments
Closed

Add arduino support for the ESP32-C6 #1474

SomeSpaceNerd opened this issue Oct 14, 2024 · 6 comments

Comments

@SomeSpaceNerd
Copy link

SomeSpaceNerd commented Oct 14, 2024

Could arduino framework support please be added for the ESP32-C6? The latest ESP32 arduino core supports the ESP32-C6 and it is becoming an increasingly popular chip.

@znmeb
Copy link

znmeb commented Oct 14, 2024

This is a fortunate coincidence - just today I was testing an ESP32-C6-DevKitC-1 and discovered it was supported in Arduino but not PlatformIO. But why does PlatformIO need to support this board via Arduino? Doesn't the Espressif toolchain support it? Their documentation seems to suggest so. Is an Arduino build the only way to get debugging on it?

P.S. My board has two USB ports on it. One presents as /dev/ttyACM0 on Linux and is the main port Arduino uses to flash the device. The other is a USB bridge from a UART and presents as /dev/ttyUSB0. That port receives the output of a "Hello world" program that does Serial.println("Hello World");.

@SomeSpaceNerd
Copy link
Author

SomeSpaceNerd commented Oct 14, 2024

But why does PlatformIO need to support this board via Arduino? Doesn't the Espressif toolchain support it?

I would like to have arduino support added because it allows you to make projects that support many microcontrollers outside of the ESP32 ecosystem.

@znmeb
Copy link

znmeb commented Oct 14, 2024

But why does PlatformIO need to support this board via Arduino? Doesn't the Espressif toolchain support it?

I would like to have arduino support added because it allows you to make projects that support many microcontrollers outside of the ESP32 ecosystem.

I don't know the internals of either PlatformIO or Arduino well enough to tell if this is a documentation issue, a bug, or a feature that needs to be planned and implemented. I do see my board in the output of pio boards > board_list.txt so I'm inclined to say documentation / bug, not a missing feature.

board_list.txt

esp32-c6-devkitc-1                   ESP32C6  160MHz       8MB      320KB   Espressif ESP32-C6-DevKitC-1

@SomeSpaceNerd
Copy link
Author

I was doing some testing with custom board JSON for a Seeeduino XIAO esp32c6 and the main issue seems to be the absence of a "platformio-build-esp32c6.py" build script. I am not sure if that's an issue with platformio or the ESP32 toolchain itself because it's looking for a PIO dedicated script that's contained in the tools directory of the esp32 arduino core.

@znmeb
Copy link

znmeb commented Oct 14, 2024

I opened an issue on the compile failure - see #1473 if you're interested in the gory details.

@ivankravets ivankravets transferred this issue from platformio/platformio-core Oct 15, 2024
@valeros
Copy link
Member

valeros commented Oct 16, 2024

Support for ESP32-C6 was added in Arduino core v3 and this version is not supported at the moment. Any progress with v3.x is tracked here #1225

@valeros valeros closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants