mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 10:47:35 +08:00
Removed non-POSIX tempfile command, using a hardcoded filename instead
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user