Skip to content

Commit

Permalink
Merge branch 'master' into verbose-feature
Browse files Browse the repository at this point in the history
  • Loading branch information
gendx authored Mar 16, 2020
2 parents 4d5ef34 + 57e79c1 commit 93d8df2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,10 @@ def check_prerequisites(self):
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.")

Expand Down

0 comments on commit 93d8df2

Please sign in to comment.