Skip to content

Gets you started with all the packages & project structure needed to code on the esp32-c without the idf

Notifications You must be signed in to change notification settings

dcaponi/esp32-rust-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

  1. install cargo generate cargo install cargo-generate
  2. run cargo generate --git https://github.com/dcaponi/esp32-rust-template
  3. ensure the project builds & links cargo build
    1. If that dumps a ton of errors for missing packages see the recommendation in the error message -> rustup target add riscv32imc-unknown-none-elf
  4. Now quit f*cking around and honk a bunch of one bits to your device -BCR

Other Things You Might Need

Linux (Ubuntu)

Low Level Build & Flash tools

sudo apt-get install -y clang llvm flex bison gperf cmake
ninja-build ccache libffi-devlibssl-dev libusb-1.0-0 libudev-dev
dfu-util package-config

espflash, ldrpoxy cargo install espflash ldproxy

llvm tools preview rustup component add llvm-tools-preview

Add the risc-v target for esp32 devices rustup target add riscv32imc-unknown-none-elf

About

Gets you started with all the packages & project structure needed to code on the esp32-c without the idf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages