Skip to content

Commit

Permalink
Build using production keys
Browse files Browse the repository at this point in the history
  • Loading branch information
afilini committed May 28, 2024
1 parent 5ea5555 commit f97633c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ let
'';
# strictDeps = true;

cargoExtraArgs = "-Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort --target thumbv7em-none-eabihf --no-default-features --features=${variant} -v";
cargoExtraArgs = "-Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort --target thumbv7em-none-eabihf --no-default-features --features=${variant},production -v";
CC_thumbv7em_none_eabihf = "clang-17";
CFLAGS_thumbv7em_none_eabihf = "-flto -fno-data-sections -fno-function-sections -fno-PIC -fno-stack-protector --target=thumbv7em-none-eabihf -mcpu=cortex-m4 -mthumb -I${pkgs.clang_17}/resource-root/include/ -I${pkgs.gcc-arm-embedded}/arm-none-eabi/include";
};
Expand Down

0 comments on commit f97633c

Please sign in to comment.