-
-
Notifications
You must be signed in to change notification settings - Fork 711
support esp32c5 #1597
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
base: develop
Are you sure you want to change the base?
support esp32c5 #1597
Conversation
@@ -110,14 +110,14 @@ def transform_to_asm(target, source, env): | |||
" ".join( | |||
[ | |||
"riscv32-esp-elf-objcopy" | |||
if mcu in ("esp32c3", "esp32c6") | |||
if mcu in ("esp32c3", "esp32c5", "esp32c6") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this (and the following) repeated lists of mcu feels like it could be refactored into each board json, or at least centralized into a function that said whether the mcu is riscv32 or not.
esp32c5 does not work yet with older tool-esptoolpy 1.40501.0, but does kind of work with newer 1.40801.0. |
you can use the fork pioarduino https://github.com/pioarduino/platform-espressif32/tree/develop_33 |
@Jason2866 thanks! this appears to work for the ESP32-C5-DevKitC-1. is there a plan to merge this back to the platformio repos? your repo has a bug, or was maybe was brought up against a different SoC. my ESP32-C5-DevKitC-1 v1.2 contains the ESP32-C5-WROOM-1-N8R4 (doc here https://www.espressif.com/sites/default/files/documentation/esp32-c5-wroom-1_wroom-1u_datasheet_en.pdf), which has 8MB flash and 4MB PSRAM. your config says 4MB flash and no PSRAM. |
here's my attempt at supporting the esp32c5 mcu and esp32-c5-devkitc-1, which i ordered from the espressif official online store and arrived recently.
i've only attempted to work on espidf framework, since i am pretty sure there would need to be upstream work done to support esp32c5 in the arduino core.
note that i am a total n00b at python, so i apologize in advance.