build .bin firmware image
This commit is contained in:
parent
d2391e0aa1
commit
63664ab959
|
@ -17,5 +17,6 @@ rustPlatform.buildRustPackage rec {
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
cp target/riscv32imc-unknown-none-elf/release/helloworld $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…
Reference in New Issue