led 0.2.0

Various LED implementations built on the embedded-hal traits
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
with import <nixpkgs> {
  overlays = [ (import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz)) ];
};

stdenv.mkDerivation {
  name = "poe";
  buildInputs = [
    (rustChannels.stable.rust.override {
      targets = [ "thumbv7m-none-eabi" ];
      extensions = [ "rust-std" "rustfmt-preview" "clippy-preview" ];
    })
    gcc-arm-embedded
  ];
  shellHook = "export CC_thumbv7m_none_eabi=arm-none-eabi-gcc";
}