aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-11-15 13:49:06 +0100
committerLorenz Meier <lm@inf.ethz.ch>2014-11-15 13:49:06 +0100
commit8e8dd62fbd9906c980d9e88943a2fda5b90977e0 (patch)
tree02e7eb5f1c6924901d70314b942d17861530d1dd
parent4bcb2697415009279bd481eb9d22f015846147f1 (diff)
downloadpx4-firmware-8e8dd62fbd9906c980d9e88943a2fda5b90977e0.tar.gz
px4-firmware-8e8dd62fbd9906c980d9e88943a2fda5b90977e0.tar.bz2
px4-firmware-8e8dd62fbd9906c980d9e88943a2fda5b90977e0.zip
Let the uploader print the binary size
-rwxr-xr-xTools/px_uploader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/px_uploader.py b/Tools/px_uploader.py
index d4e461226..3a4540ac0 100755
--- a/Tools/px_uploader.py
+++ b/Tools/px_uploader.py
@@ -458,7 +458,7 @@ if os.path.exists("/usr/sbin/ModemManager"):
# Load the firmware file
fw = firmware(args.firmware)
-print("Loaded firmware for %x,%x, waiting for the bootloader..." % (fw.property('board_id'), fw.property('board_revision')))
+print("Loaded firmware for %x,%x, size: %d bytes, waiting for the bootloader..." % (fw.property('board_id'), fw.property('board_revision'), fw.property('image_size')))
print("If the board does not respond within 1-2 seconds, unplug and re-plug the USB connector.")
# Spin waiting for a device to show up