Closed bes closed 4 months ago
I forgot to write that I am on mac.
Your chip is an ESP32, not an ESP32-C3
Chip type: esp32 (revision v3.1)
Thanks!
Does this triple need to change then?
[build]
target = "riscv32imc-esp-espidf"
I tried googling but couldn't find what I was supposed to use.
Yes, ESP32 is Xtensa while ESP32-C3 is RISC-V, so you need to use our Xtensa Rust toolchain (https://docs.esp-rs.org/book/installation/riscv-and-xtensa.html) and you would require more changes in code, here is an outdate version of the training for an Xtensa target (ESP32-S3): https://github.com/SergioGasquez/espressif-trainings/tree/esp32s3.
Does this triple need to change then?
Your target should be target = "xtensa-esp32-espidf"
Thank you!
I am trying to run the
hardware-check
intro app on the below device, which I think is anESP32-C3-DevKitC-02
:Then I run
CRATE_CC_NO_DEFAULTS=1 cargo run --release
I've tried to find similar errors on the internet, and tried a bunch of different solutions, but nothing worked for me.
I am grateful for any tips.