arduino-esp32 icon indicating copy to clipboard operation
arduino-esp32 copied to clipboard

ESP32-C6 support

Open probonopd opened this issue 2 years ago • 149 comments

Related area

ESP32-C6

Hardware specification

Support for ESP32-C6

Is your feature request related to a problem?

ESP32-C6 is not supported yet

Describe the solution you'd like

Support for ESP32-C6

Describe alternatives you've considered

No response

Additional context

No response

I have checked existing list of Feature requests and the Contribution Guide

  • [X] I confirm I have checked existing list of Feature requests and Contribution Guide.

probonopd avatar Jan 14 '23 19:01 probonopd

https://www.espressif.com/en/products/socs/esp32-c6

probonopd avatar Jan 14 '23 19:01 probonopd

C6 will not be supported until ESP-IDF 5.1, so arduino will not support it until that is released.

lbernstone avatar Jan 14 '23 20:01 lbernstone

Hello, support of ESP32-C6 is on our Roadmap, @lbernstone is right that it will be supported in ESP-IDF 5.1 so in Arduino, it will be in version 3.X.X. We'll soon create development branch and we will start working on IDF 5 support there.

@probonopd Thanks for opening the issue, we will use it to track progress on support of ESP32-C6 :)

VojtechBartoska avatar Jan 16 '23 09:01 VojtechBartoska

My first esp32 c6 dev boards v0.0 arrived today, eager to test it!

tuct avatar Jan 31 '23 14:01 tuct

Hi @tuct how did you get it the esp32 c6 dev board? which supplier ? thanks

simogaspa84 avatar Feb 07 '23 18:02 simogaspa84

mine also just arrive, i ordered from there: https://www.aliexpress.com/item/1005005125343088.html?spm=a2g0o.order_list.order_list_main.29.28e41802T3MZjD

negis02 avatar Feb 08 '23 16:02 negis02

Thanks a lot @negis02 .. very kind... are you going to try the new features about cyber security in the C6 dev board? I am really interested about the trusted execution enviroment and the glitch detector.. Do you know something about that? Thanks

simogaspa84 avatar Feb 09 '23 12:02 simogaspa84

Hey @simogaspa84 - thanks for posting. I'm mainly interested in the Thread support, but I'll have to look at the trusted execution and glitch detector features. I wasn't even aware of those!

I'm building an air quality, temp, humidity, CO2 sensor.

Does anyone know if we can use a C3 board for basic prototyping until the C6 support is added?

seajhawk avatar Feb 12 '23 17:02 seajhawk

I got mine from the official store at aliexpress € 9,81 1%OFF | ESP32-C6-DevKitC-1 Entwicklung Bord Espressif Systeme ESP32-C6 Serie * Probe * Limit 2 stücke pro Kunden * (siehe beschreibung) https://a.aliexpress.com/_mLI99g2 I bought 5, so the limit is new, happy to share of you are close to or in Vienna

tuct avatar Feb 12 '23 18:02 tuct

For me most interesting to try ESP32-c6 in Wi-Fi 6 network, to test all WiFi6 benefits: in some application test and compere real time messaging over Wifi6 in is heavy loaded Wi-Fi with many devices, like MU-MIMO and OFDM AP capability tests with IOT device like this; and another test: battery life: Wifi6 wake-up timers test with esp32-c6.

negis02 avatar Feb 13 '23 09:02 negis02

You can also purchase from Adafruit's official store. They have 47 in stock at the time of writing this.

46 now, I bought one. 😝

Trevo525 avatar Feb 14 '23 14:02 Trevo525

I've ordered mine today, looking forward to C6 support.

a-d-r-i-a-n-d avatar Feb 22 '23 01:02 a-d-r-i-a-n-d

I just got my esp32-c6 wroom module, looking forward to have arduino capability!

MingyaoLiu avatar Feb 26 '23 17:02 MingyaoLiu

I just got my esp32-c6 wroom module too, looking forward to have arduino capability!

guumeyer avatar Feb 27 '23 09:02 guumeyer

idf.py --version ESP-IDF v5.1-dev-3710-gacac972f70

It looks like v5.1 has been released ;-)

N0ury avatar Mar 04 '23 18:03 N0ury

It has not. This is just the version that will be used in the future. 5.1 is in ESP-IDF master and needs to be split in it's own branch before it will be released. It has not even been feature-frozen yet :)

me-no-dev avatar Mar 06 '23 10:03 me-no-dev

Any update on this?

noonien avatar Mar 20 '23 14:03 noonien

Update please?

djmjr77 avatar Mar 27 '23 04:03 djmjr77

Guys, please stop asking for update every few days. Before we add support for new chips, there is a lot of work that needs to be done. When that is done (will take way more than few days) most if not all new chips will be supported. We will announce that, so even less reason to keep asking.

me-no-dev avatar Mar 30 '23 08:03 me-no-dev

Hello, support of ESP32-C6 is on our Roadmap, @lbernstone is right that it will be supported in ESP-IDF 5.1 so in Arduino, it will be in version 3.X.X. We'll soon create development branch and we will start working on IDF 5 support there.

@probonopd Thanks for opening the issue, we will use it to track progress on support of ESP32-C6 :)

As noted, the official Espressif ESP-IDF v5.1, which is currently in development, will include initial support for the new ESP32-C6 chip, however, while Espressif ESP-IDF v5.1 has not yet been released it should mostly work if using the master branch in esp-idf repository. If you want to track the development status then follow these the updates made to these other issues for ESP32-C6:

https://github.com/espressif/arduino-esp32/issues/7852

https://github.com/espressif/esp-idf/issues/10423

Hedda avatar Apr 20 '23 14:04 Hedda

Another waiting for C6 support. Subscribed.

LenReinhart avatar May 16 '23 07:05 LenReinhart

Ok, we have C6 support already. You can try the C6 branch: https://github.com/espressif/arduino-esp32/tree/feature/esp32c6-support

SuGlider avatar Jun 22 '23 11:06 SuGlider

This the initial stage of support. At this time we are working in testing and fixing.

UART is fully tested and everything works correclty, including using UART with setCpuFrequencyMhz() at 160, 80, 40, 20 and 10MHz.

The same for RMT.

SuGlider avatar Jun 22 '23 11:06 SuGlider

I have tested the Basic WiFi and BLE examples and those are working fine with the current C6 branch. At this point, please, don't expect to see low power consumption yet.

We still must work on the IDF Power Management component of the Arduino Core for the ESP32-C6. It will take some time, but we expect to offer similar IDF results to the Arduino Users related to power consumpion in IoT applications with the C6, and maybe also for other SoCs.

Especificaly for the C6, we will also work on the WiFi 6 (802.11ax), adding an Arduino API for controlling the TWT (Target Wait Time) configuration.

Some IDF examples using the above referenced IDF APIs:

IDF Power Management Example: https://github.com/espressif/esp-idf/blob/master/examples/wifi/power_save/README.md

IDF ESP32-C6 WiFi 6 802.11ax Example: https://github.com/espressif/esp-idf/tree/master/examples/wifi/itwt

SuGlider avatar Jun 22 '23 16:06 SuGlider

How do I integrate this with the Arduino application?

From: Rodrigo Garcia @.*** Sent: Thursday, June 22, 2023 12:45 PM To: espressif/arduino-esp32 @.> Cc: LenReinhart @.>; Manual @.***> Subject: Re: [espressif/arduino-esp32] ESP32-C6 support (Issue #7713)

I have tested the Basic WiFi and BLE examples and those are working fine with the current C6 branch. At this point, please, don't expect to see low power consumption yet.

We still must work on the IDF Power Management component of the Arduino Core for the ESP32-C6. It will take some time, but we expect to offer similar IDF results to the Arduino Users related to power consumpion in IoT applications with the C6, and maybe also for other SoCs.

Especificaly for the C6, we will also work on the WiFi 6 (802.11ax), adding an Arduino API for controlling the TWT (Target Wait Time) configuration.

Some IDF examples using the above referenced IDF APIs:

IDF Power Management Example: https://github.com/espressif/esp-idf/blob/master/examples/wifi/power_save/README.md

IDF ESP32-C6 WiFi 6 802.11ax Example: https://github.com/espressif/esp-idf/tree/master/examples/wifi/itwt

— Reply to this email directly, view it on GitHub https://github.com/espressif/arduino-esp32/issues/7713#issuecomment-1602995922 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTXULAEB2M3MTLS6VOXB33XMRZAVANCNFSM6AAAAAAT3N5SH4 . You are receiving this because you are subscribed to this thread. https://github.com/notifications/beacon/ABTXULA2HIC275R5WU6GHTDXMRZAVA5CNFSM6AAAAAAT3N5SH6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTS7RPDNE.gif Message ID: < @.> @.>

LenReinhart avatar Jun 22 '23 17:06 LenReinhart

@LenReinhart This is a very early release. It is intended for the people that will build those pieces. As suglider says, it will take some time.

lbernstone avatar Jun 22 '23 19:06 lbernstone

How do I integrate this with the Arduino application?

If you are talkiig about how to "install" the C6 Arduino Core branch, it is necessary to use it as a sketchbook board by cloning this branch into the local Sketchbook Folder. The process of cloning and creating the sketchbook board is described in this link:

https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html#how-to-update-to-the-latest-code

SuGlider avatar Jun 22 '23 21:06 SuGlider

Understood. I have a copy of Dr. Ting’s Forth that was designed for the ESP32 dev board. It uses Arduino to build the image download. I correctly guessed that the front end would be as much the same as possible on the compiler and it would take care of the translation. I successfully compiled and loaded it on the C3 dev board simply by changing the target. I have two of the C6 boards and would like to see if it will work for that. If it doesn’t no big deal. Bluetooth did not work, but I didn’t expect it would as it was the LE version. I’m 76 and have been working with computer systems since the 8080, now I just like to mess around with stuff and I thought what was done with using the Arduino system, to build and install a copy of Forth OS, I thought was very clever. The fact that it has the possibility of being very transportable among processors using the same compiler and the way the Arduino system takes care of the addressing differences between hardware is very nice IMO.

From: lbernstone @.*** Sent: Thursday, June 22, 2023 3:07 PM To: espressif/arduino-esp32 @.> Cc: LenReinhart @.>; Mention @.***> Subject: Re: [espressif/arduino-esp32] ESP32-C6 support (Issue #7713)

@LenReinhart https://github.com/LenReinhart This is a very early release. It is intended for the people that will build those pieces. As suglider says, it will take some time.

— Reply to this email directly, view it on GitHub https://github.com/espressif/arduino-esp32/issues/7713#issuecomment-1603179117 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTXULHRRSM7V7YY3W24SLLXMSJVVANCNFSM6AAAAAAT3N5SH4 . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ABTXULCPJXBFWRAWQBTZ553XMSJVVA5CNFSM6AAAAAAT3N5SH6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTS7R2JG2.gif Message ID: @.*** @.***> >

LenReinhart avatar Jun 22 '23 23:06 LenReinhart

@LenReinhart Sounds good. Build it on the C3, which has a stable build ATM :)

lbernstone avatar Jun 23 '23 00:06 lbernstone

First initial support PR: https://github.com/espressif/arduino-esp32/pull/8337

VojtechBartoska avatar Jun 23 '23 12:06 VojtechBartoska