albertov / esp-rs-nix

esp-rs tools packaged with nix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

esp-rs with nix

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.

Tools

Usage

  1. Install NixOS or nixpkgs
  2. Enable nix flakes
  3. Run a tool, e.g. nix run github:newam/esp-rs-nix#espflash

Compiling Code

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

References

About

esp-rs tools packaged with nix


Languages

Language:Nix 91.0%Language:Python 9.0%