aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2012-12-01 02:03:30 +0100
committerLorenz Meier <lm@inf.ethz.ch>2012-12-01 02:03:30 +0100
commitc7616f89a3daaea378a0276a09553e8193ebb53a (patch)
tree454af1ca33b9517bf1126111cbb2f8042e250417 /Tools
parentf88feceab6e92a70a98373c8a0104a5ad623c262 (diff)
downloadpx4-firmware-c7616f89a3daaea378a0276a09553e8193ebb53a.tar.gz
px4-firmware-c7616f89a3daaea378a0276a09553e8193ebb53a.tar.bz2
px4-firmware-c7616f89a3daaea378a0276a09553e8193ebb53a.zip
Hotfix: Made uploader more verbose on errors
Diffstat (limited to 'Tools')
-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 296de721b..3b23f4f83 100755
--- a/Tools/px_uploader.py
+++ b/Tools/px_uploader.py
@@ -330,7 +330,7 @@ class uploader(object):
def upload(self, fw):
# Make sure we are doing the right thing
if self.board_type != fw.property('board_id'):
- raise RuntimeError("Firmware not suitable for this board")
+ raise RuntimeError("Firmware not suitable for this board (run 'make configure_px4fmu && make clean' or 'make configure_px4io && make clean' to reconfigure).")
if self.fw_maxsize < fw.property('image_size'):
raise RuntimeError("Firmware image is too large for this board")