adds blocking pwm working impl for the spinnyboy in rust based on the esp32c6
This commit is contained in:
parent
dd341bbb67
commit
6f2ab7cb95
9 changed files with 1490 additions and 0 deletions
19
spinnyboy_rust/shell.nix
Normal file
19
spinnyboy_rust/shell.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ pkgs ? import <nixpkgs> {}}:
|
||||
let rust-toolchain = with pkgs; symlinkJoin {
|
||||
name = "rust-toolchain";
|
||||
paths = [
|
||||
probe-rs-tools
|
||||
rustup
|
||||
rustc
|
||||
cargo
|
||||
rustfmt
|
||||
rust-analyzer
|
||||
clippy
|
||||
rustPlatform.rustcSrc
|
||||
];
|
||||
};
|
||||
in pkgs.mkShell {
|
||||
buildInputs = [rust-toolchain];
|
||||
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
|
||||
RUST_BACKTRACE = 1;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue