Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 808 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 808 Bytes

Rust build environment for ESP32

This image builds the rust compiler toolchain for the Xtensa ISA using llvm-project and rust-xtensa.

Most of the steps in this image are based on a blog post by Yoshinari Nomura.

Usage

To build your project, run this in the same directory as your Cargo.toml. Your project needs to be mounted in /code to build out of the box.

docker run -v $PWD:/code mtnmts/rust-esp32

If you want an interactive session to use anything inside the machine (esptool.py is installed and in the path for example, if you want to use elf2image).

docker run -v $PWD:/code -ti mtnmts/rust-esp32 bash