Set up build tools for the raspberry pi, along with a demo program for controlling SK9822 lights. #97
|
@ -1,4 +0,0 @@
|
||||||
[target.arm-unknown-linux-gnueabihf]
|
|
||||||
linker = "armv6l-unknown-linux-gnueabihf-gcc"
|
|
||||||
# rustflags = ["-C", "link-arg=-Wl,-dynamic-linker,/lib/ld-linux-armhf.so.3"]
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
[workspace]
|
[workspace]
|
||||||
|
resolver = "2"
|
||||||
members = [
|
members = [
|
||||||
"changeset",
|
"changeset",
|
||||||
"config",
|
"config",
|
||||||
|
|
|
@ -19,10 +19,6 @@
|
||||||
pkgs = import nixpkgs { system = "x86_64-linux"; };
|
pkgs = import nixpkgs { system = "x86_64-linux"; };
|
||||||
pkgs-unstable = import unstable { system = "x86_64-linux"; };
|
pkgs-unstable = import unstable { system = "x86_64-linux"; };
|
||||||
cargo2nix = pkgs-cargo2nix.packages."x86_64-linux";
|
cargo2nix = pkgs-cargo2nix.packages."x86_64-linux";
|
||||||
# armPkgs = import nixpkgs {
|
|
||||||
# system = "x86_64-linux";
|
|
||||||
# crossSystem = pkgs.lib.systems.examples.raspberryPi;
|
|
||||||
# };
|
|
||||||
in
|
in
|
||||||
pkgs.mkShell {
|
pkgs.mkShell {
|
||||||
name = "ld-tools-devshell";
|
name = "ld-tools-devshell";
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
[toolchain]
|
[toolchain]
|
||||||
channel = "1.73.0"
|
channel = "1.73.0"
|
||||||
targets = [ "wasm32-unknown-unknown", "thumbv6-none-eabi" ]
|
targets = [ "wasm32-unknown-unknown" ]
|
||||||
|
|
Loading…
Reference in New Issue