-
-
Notifications
You must be signed in to change notification settings - Fork 610
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
boards: initial support for ESP32-C6-DevKitC-1 #1054
Conversation
You are not using latest espidf.py version. Will introduce build bugs in Platformio! This change is not needed for supporting the C6. Do not mix PRs for different needs. The PR is not declared for fixing problems in Home Assistant. |
It is marked as a draft for a reason. I'll remove that revert once I figured out how to fix it in esphome and before removing draft status.
Done |
Used this to successfully flash an esphome firmware to an ESP32-C6. Removed the unrelated commit from this PR, so I think this is ready for review. One question I have is about maximum_ram_size ... The ESP32-C6 has 512K RAM, but I'm not sure if this should be reflect in maximum_ram_size. Also the url currently returns a 404, should I remove it for now? |
Hi @stintel ! Thanks for the PR.
If all 512K of RAM is available for use, then you can transfer this value to
Isn't this https://docs.espressif.com/projects/espressif-esp-dev-kits/en/latest/esp32c6/esp32-c6-devkitc-1/index.html the right link? Also, there still some mentions of the Arduino framework in the board manifest, I guess it should be removed until it's officially supported. |
From https://www.espressif.com/sites/default/files/documentation/esp32-c6-wroom-1_datasheet_en.pdf: CPU and On-Chip Memory To be honest, I'm not entirely sure if all of it is available for use.
Looks like I missed those. |
@stintel |
ESP32-c6 is now supported via ESP-IDF 5.1 |
Could a maintainer review this PR? |
Use this changes in my fork. Could not test with IDF5.1 since i got it not running (compile does work but get a linker error...). But it does work well with the early alpha Arduino 3.0 build. C6 Arduino Blink example is working. |
The RAM size should be set to 512KB. There are already other misconfigured ESP32 boards (all of the S3s) set to 320KB because they've just been copied from a 320KB model when it actually has 512KB. |
Signed-off-by: Stijn Tintel <[email protected]>
Done. |
@nomis The ESP32-x RAM settings for the xtensa MCUs are correct, the physical existing RAM is 512kb BUT can not be used by the sketch. Anyways the setting is more or less just for information. Platformio is doing later a real RAM size calculation and check. |
- Temporarily removed debug section from board manifest until the latest OpenOCD with C6 support is integrated - Added the new ESP32-C6 dev-kit to project example so that it's checked in CI
Many thanks for a great PR, merged! |
No description provided.