This commit is contained in:
Pavel Kirienko 2014-05-17 18:37:57 +04:00
commit 2ef80bc853

View File

@ -12,7 +12,7 @@ elf=build/firmware.elf
arm-none-eabi-size $elf || exit 1
tmpfile=$(tempfile)
tmpfile=fwupload.tempfile
cat > $tmpfile <<EOF
target extended-remote $PORT
mon swdp_scan
@ -22,3 +22,4 @@ kill
EOF
arm-none-eabi-gdb $elf --batch -x $tmpfile
rm $tmpfile