Skip to content

gdamjan/esp32-c3-devkit

Repository files navigation

esp32-c3-rs

ESP32-C3 is a low-power and highly-integrated MCU-based solution that supports 2.4 GHz Wi-Fi and Bluetooth® Low Energy (Bluetooth LE). It has a 32-bit RISC-V single-core processor, up to 160 MHz, 384 KB ROM, 400 KB SRAM (16 KB for cache) and 8 KB SRAM in RTC. The ISA is riscv32imc-unknown-none-elf (no support for atomics).

esp32-c3-dual-dk

Preparation

  • rustup - is recommended to install rust and its components
  • cargo install cargo-binutils - for cargo size and cargo objdump -- --disassemble, etc…
  • cargo install cargo-espflash - flash and monitor using the espflash project

Flash and monitor

  • cargo build --release
  • cargo espflash flash --release
  • cargo espflash monitor

VS Code settings

The repo will also suggest common extensions for VS Code:

and some settings to instruct rust-analyzer to only run for the riscv32imc-unknown-none-elf target.

References

About

My Playground for the esp32-c3 devkit and Rust

Topics

Resources

License

Stars

Watchers

Forks

Languages