forked from Archive/PX4-Autopilot
Let the uploader print the binary size
This commit is contained in:
parent
4bcb269741
commit
8e8dd62fbd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue