forked from M-Labs/zynq-rs
shell.nix: add openocd and gdb
This commit is contained in:
parent
6771531255
commit
c38b2e418e
@ -8,14 +8,14 @@ let
|
|||||||
in
|
in
|
||||||
with project;
|
with project;
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "adc2tcp-env";
|
name = "zynq-env";
|
||||||
buildInputs = with rustPlatform.rust; [
|
buildInputs = (with rustPlatform.rust; [
|
||||||
rustc cargo
|
rustc cargo
|
||||||
cargo-xbuild rustcSrc
|
cargo-xbuild rustcSrc
|
||||||
pkgsCross.armhf-embedded.buildPackages.gcc
|
pkgsCross.armhf-embedded.buildPackages.gcc
|
||||||
#pkgsCross.armv7l-hf-multiplatform.buildPackages.gcc
|
#pkgsCross.armv7l-hf-multiplatform.buildPackages.gcc
|
||||||
#pkgsCross.armhf-embedded.buildPackages.binutils
|
#pkgsCross.armhf-embedded.buildPackages.binutils
|
||||||
];
|
]) ++ (with pkgs; [ openocd gdb ]);
|
||||||
|
|
||||||
# Set Environment Variables
|
# Set Environment Variables
|
||||||
RUST_BACKTRACE = 1;
|
RUST_BACKTRACE = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user