aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")