Skip to content

Commit cde4309

Browse files
committed
Update build script
1 parent 29b4e15 commit cde4309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ TARGET=${1:-thumbv6m-none-eabi}
77
echo "Building for ${TARGET}"
88
for program in panic hello fault; do
99
( cd ${program} && cargo build --target=${TARGET} --release )
10-
rust-objcopy -O binary ./${program}/target/${TARGET}/release/${program} ${program}.bin
10+
cp ./${program}/target/${TARGET}/release/${program} ${program}.elf
1111
done

0 commit comments

Comments
 (0)