Skip to content
Snippets Groups Projects
Commit a0601145 authored by Jean-Michel Picod's avatar Jean-Michel Picod
Browse files

More accurate error message regarding tockloader version.

parent c9773e0f
No related branches found
No related tags found
No related merge requests found
......@@ -524,9 +524,9 @@ class OpenSKInstaller:
final_hex.tofile(dest_file, format="hex")
def check_prerequisites(self):
if not tockloader.__version__.startswith("1.4"):
fatal(("Your version of tockloader is too old: found {}, expected "
"1.4.0.".format(tockloader.__version__)))
if not tockloader.__version__.startswith("1.4."):
fatal(("Your version of tockloader seems incompatible: found {}, "
"expected 1.4.x.".format(tockloader.__version__)))
if self.args.programmer == "jlink":
assert_mandatory_binary("JLinkExe")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment