Browse Source

mcu: fix Stabilizer extraCargoBuildArgs not passed to buildStm32Firmware

pull/63/head
Harry Ho 3 months ago
committed by Gitea
parent
commit
83baea2c4b
  1. 6
      mcu/default.nix

6
mcu/default.nix

@ -53,10 +53,10 @@ let
in
pkgs.lib.attrsets.mapAttrs'
(name: value: pkgs.lib.attrsets.nameValuePair ("stabilizer-" + name)
(buildStm32Firmware {
(buildStm32Firmware ({
name = "stabilizer-" + name;
# If binaryName is not specified, use the attribute name as binaryName by default.
binaryName = if (value ? binaryName) then value.binaryName else name;
binaryName = name;
cargoDepsName = "stabilizer";
src = <stabilizerSrc>;
patchPhase = ''
@ -67,7 +67,7 @@ in
"Ipv4Address::new(192, 168, 1, 1)"
'';
doCheck = false;
})) {
} // value))) {
dual-iir = {};
dual-iir-pounder_v1_1 = {
binaryName = "dual-iir";

Loading…
Cancel
Save