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).
rustup
- is recommended to install rust and its componentscargo install cargo-binutils
- forcargo size
andcargo objdump -- --disassemble
, etc…cargo install cargo-espflash
- flash and monitor using theespflash project
cargo build --release
cargo espflash flash --release
cargo espflash monitor
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.