adds blocking pwm working impl for the spinnyboy in rust based on the esp32c6

This commit is contained in:
Robert Schauklies 2025-12-21 18:52:16 +01:00
parent dd341bbb67
commit 6f2ab7cb95
9 changed files with 1490 additions and 0 deletions

19
spinnyboy_rust/shell.nix Normal file
View 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;
}