esp-rs is a project that contains libraries, crates and examples for using Rust on Espressif SoC's.
This packages tools from esp-rs with nix.
- Install NixOS or nixpkgs
- Enable nix flakes
- Run a tool, e.g.
nix run github:newam/esp-rs-nix#espflash
At the moment anything that depends on the esp-idf will fail to compile. Pure rust respoitories will compile.
esp-hal@02c5f4564b0fca1321b18e98e66e124a0b276643:
nix develop github:newAM/esp-rs-nix -i -L -c cargo -Z build-std build --target xtensa-esp32-none-elf -p esp32-hal