ESP32-C6 Support? #11356
Replies: 21 comments 8 replies
-
That's not MicroPython's problem that you're seeing. I don't think esptool v3.1 knows about esp32c6. v4.4 does, though. Matt Trentini was talking about the C6 at the Melbourne meetup yesterday. I think he may have managed a build, but there was some detail about the Espressif build system version that made it difficult. For me, anything that Matt describes as "difficult" is pretty much nope-out territory |
Beta Was this translation helpful? Give feedback.
-
This is not a problem.... it is a question. ESP32-C6 is not supported by anything right now, including, Arduino IDE, Circuit Python, etc. So the question is, again, when will MP support ESP32-C6? So... what you are saying is... there is no established timeline or target date as yet? |
Beta Was this translation helpful? Give feedback.
-
Yes, 5.1 is still pending. The official documentation that comes with the ESP32-C6 boards states this. And that is the key reason why Arduino IDE is going to be pending for a while since it always lags official IDE support. And @scruss, you nailed the reason for my question... the hope that Matt has some inside track, or at least one can hope, he does. Last, if there was something official, this discussion would not exist, right? But as I said in my initial question... I know I am pushing the curve here. :) |
Beta Was this translation helpful? Give feedback.
-
Just was illustrative of the chip ID. That it really was a ESP32-C6. I knew already I could not flash with that version. |
Beta Was this translation helpful? Give feedback.
-
I have a couple of the 01Space ESP32-C6 boards, as does @mattytrentini - I think the conversation at the meetup on Wednesday was indeed that we need to wait for IDF 5.1 before we can even attempt to compile for it. Rest assured that a few folks in the community are interested and will see what we can do, when we can; but no, there's no immediate news on when this might be available. |
Beta Was this translation helpful? Give feedback.
-
I can't say I don't agree, that seems logical, reasonable. If it is a bit of a bummer. These C6 boards are really interesting, so looking forward to when MP supports them. Oh, I got mine from Adafruit, so they are DevKitC-1s. |
Beta Was this translation helpful? Give feedback.
-
So...as you've both alluded to, the main difficulty is in building MicroPython with the 5.x toolchain - not so much C6 support specifically. Different compiler, many more warnings/errors - and a lot are in libraries we're using (Bluetooth looked particularly difficult). I think once we're able to successfully build for any ESP32 on 5.x then C6 support won't take long. BTW, Espressif conveniently publishes their toolchains as Docker containers, so it's pretty straightforward to try out their 5.1 release branch for example. Investigating an update to newer IDF versions didn't make sense before v1.20 was released but, now that it's out, there are a few of us that would like to spend time exploring 5.x... |
Beta Was this translation helpful? Give feedback.
-
@mattytrentini , Hey, thanks for chiming in. I was looking at the IDF integration to VS Code earlier today as well. I have used VS Studio off and on for many years, but not used VS code as yet. That said, I too need to spend some time with IDF, MP has let me avoid this. I guess we should close this discussion for now, since MP support for C6 is a bit out there, as @scruss noted, nothing definite as yet. Once everything lines up, I for one will be more than happy to be using MP on C6. Guess the next step for me is fire up my docker system. |
Beta Was this translation helpful? Give feedback.
-
I am interested as well. The ESP32-H2 support I guess is the same story. |
Beta Was this translation helpful? Give feedback.
-
Just for a quick update... All MicroPython ESP32 builds are now built with IDF v5 (specifically, currently, v5.0.2). Details can be found in #11528. The ESP32-C6, however, won't be supported until IDF v5.1 which is still in development. The development branch for IDF v5.1 has gone through two release candidates though, which - if history is a guide - means it's likely to be getting close to an official release... I'm not sure about the status of IDF support for for the H2 @vencax, I'll try to find out more. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the update. Awaiting IDF 5.1 with great interest, so MP for C6 can result. |
Beta Was this translation helpful? Give feedback.
-
Any progress on this? https://github.com/espressif/esp-idf/releases/tag/v5.1.1 |
Beta Was this translation helpful? Give feedback.
-
I've started work on C6 support in #11869 but have only been working on it sporadically. With IDF 5.0 they deprecated and changed a lot of APl interfaces, which is why 5.0 support took a while. Esp generally provided compatibility layers though, to make it easier to port older software. Micropython is mostly using these to minimise the code change to get 5.0 support working. On C6 however, being new, does not provide these compat layers, so it'll force a lot more re-write of the interfaces to support the newer peripheral api's. I'm not sure if/when I'll get a chance to look at any more of these as every time I go near esp chips I get frustrated with the instability and painful cmake stuff pretty quickly! |
Beta Was this translation helpful? Give feedback.
-
Yes, been waiting for some time now, surely things are moving in the right direction at this point? |
Beta Was this translation helpful? Give feedback.
-
Just checking on status? Is it merged yet? Very much interested in using MP on C6! |
Beta Was this translation helpful? Give feedback.
-
#11869 is in reasonable shape now. I've been testing it on the new M5Stack NanoC6 and the build appears functional and stable. It needs a review from core maintainers which will probably not occur until after v1.23 is released. Best to follow that PR for updates. |
Beta Was this translation helpful? Give feedback.
-
We have any firm timeline at this point? I see version 1.23 released, but no reference to ESP32-C6 on the official web download page? Is it there and I missed it? |
Beta Was this translation helpful? Give feedback.
-
So is there a rel;ease image at this point? |
Beta Was this translation helpful? Give feedback.
-
Yes, hope it is soon. Be looking forward to it for some time now. |
Beta Was this translation helpful? Give feedback.
-
Does anyone know why ESP32-C6 build is so much bigger than ESP32-C3?
|
Beta Was this translation helpful? Give feedback.
-
ESP32-C6 support (#11869) was merged October 9th. 🎉 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I know I am pushing the curve here, but MP support for C6?
"C:\Program Files (x86)\Thonny\python.exe" -u -m esptool --port COM13 erase_flash
esptool.py v3.1
Serial port COM13
Connecting....
Detecting chip type...
A fatal error occurred: Unexpected CHIP magic value 0x2ce0806f. Failed to autodetect chip type.
Erase command returned with error code 2
Beta Was this translation helpful? Give feedback.
All reactions