Project goals:
- Take this: https://github.com/esp-rs/rust-build ...
- ...and this: https://github.com/espressif/crosstool-NG,
- ...and mangle them into a nix derivation (using hard-coded pre-built binaries for now).
- Then, take this: https://github.com/esp-rs/esp-hal ...
- ... run
nix-shell, and compile blinky for esp32s3.
Project status: works on my machine!
Tip
Now supports x86_64-linux,aarch64-linux, and systems!aarch64-apple-darwin
For nix-shell use, please refer to shell.nix.
For nix develop use, please refer to flake.nix and package.nix.
A specific version of the rust toolchain can used with either the shell.nix, or package.nix files.
Below is a table of the currently supported versions.
|
|
|
New versions can be added by updating the ./esp-rs/versions.nix file with the correct file hashes.
The recommended installation method using the espup tool didn't work for me.
- This is for development of
no_std,esp-hal-based applications only. NOT for use withesp-hal-idf. This is hard-coded to download binaries forx86_64only, at the moment.- PRs welcome!