Browse Source

build .bin firmware image

pull/1/head
parent
commit
63664ab959
  1. 1
      firmware/default.nix

1
firmware/default.nix

@ -17,5 +17,6 @@ rustPlatform.buildRustPackage rec {
installPhase = ''
mkdir -p $out
cp target/riscv32imc-unknown-none-elf/release/helloworld $out
${binutils-riscv}/bin/riscv32-unknown-elf-objcopy -O binary target/riscv32imc-unknown-none-elf/release/helloworld $out/helloworld.bin
'';
}
Loading…
Cancel
Save