Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OpenSK
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
koenigl2
OpenSK
Commits
17689344
Commit
17689344
authored
5 years ago
by
Jean-Michel
Committed by
Jean-Michel Picod
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Check nrfutil version.
parent
ec1ce661
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
deploy.py
+4
-0
4 additions, 0 deletions
deploy.py
with
4 additions
and
0 deletions
deploy.py
+
4
−
0
View file @
17689344
...
@@ -528,6 +528,10 @@ class OpenSKInstaller:
...
@@ -528,6 +528,10 @@ class OpenSKInstaller:
assert_mandatory_binary
(
"
nrfutil
"
)
assert_mandatory_binary
(
"
nrfutil
"
)
assert_python_library
(
"
intelhex
"
)
assert_python_library
(
"
intelhex
"
)
assert_python_library
(
"
nordicsemi.lister
"
)
assert_python_library
(
"
nordicsemi.lister
"
)
nrfutil_version
=
__import__
(
"
nordicsemi
"
).
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
:
if
not
SUPPORTED_BOARDS
[
self
.
args
.
board
].
nordic_dfu
:
fatal
(
"
This board doesn
'
t support flashing over DFU.
"
)
fatal
(
"
This board doesn
'
t support flashing over DFU.
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment