include Sayma RTM bitstream in output

pull/16/head
parent a02af3e857
commit b47517897c
  1. 6
      artiq/artiq-board.nix
  2. 1
      sinara-systems.nix

@ -2,7 +2,10 @@
# nix.sandboxPaths = ["/opt"];
{ pkgs ? import <nixpkgs> {}}:
{ target, variant, buildCommand ? "python -m artiq.gateware.targets.${target} -V ${variant}" }:
{ target
, variant
, buildCommand ? "python -m artiq.gateware.targets.${target} -V ${variant}"
, extraInstallCommands ? ""}:
let
fetchcargo = import ./fetchcargo.nix {
@ -60,5 +63,6 @@ in pkgs.python3Packages.buildPythonPackage rec {
then cp artiq_${target}/${variant}/software/runtime/runtime.{elf,fbi} $TARGET_DIR
else cp artiq_${target}/${variant}/software/satman/satman.{elf,fbi} $TARGET_DIR
fi
${extraInstallCommands}
'';
}

@ -44,6 +44,7 @@ let
target = "sayma";
variant = "satellite";
buildCommand = "python -m artiq.gateware.targets.sayma_rtm && python -m artiq.gateware.targets.sayma_amc -V satellite";
extraInstallCommands = "cp artiq_sayma/rtm_gateware/rtm.bit $TARGET_DIR";
};
}
EOF

Loading…
Cancel
Save