diff --git a/deploy.py b/deploy.py index 8b5ec81a1cf10b8401fb1b384f1cf05977b4a1ea..486750d9ef574465622c4aff4dbd37b01cef4fc8 100755 --- a/deploy.py +++ b/deploy.py @@ -528,6 +528,10 @@ class OpenSKInstaller: assert_mandatory_binary("nrfutil") assert_python_library("intelhex") assert_python_library("nordicsemi.lister") + nrfutil_version = __import__("nordicsemi.version").version.NRFUTIL_VERSION + if not nrfutil_version.startswith("6."): + fatal(("You need to install nrfutil python3 package v6.0 or above. " + "Found: {}".format(nrfutil_version))) if not SUPPORTED_BOARDS[self.args.board].nordic_dfu: fatal("This board doesn't support flashing over DFU.")