Skip to content

Commit

Permalink
[nrfconnect] Fix flashing script (#15628)
Browse files Browse the repository at this point in the history
--reset flash should be used to reset the board after
flashing a firmware.
  • Loading branch information
Damian-Nordic authored Feb 28, 2022
1 parent 031edd0 commit 3e476eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/flashing/nrfconnect_firmware_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def flash(self, image):

def reset(self):
"""Reset the device."""
return self.run_tool('nrfjprog', ['--pinresetenable'], name='Enable pin reset')
return self.run_tool('nrfjprog', ['--reset'], name='Reset')

def actions(self):
"""Perform actions on the device according to self.option."""
Expand Down

0 comments on commit 3e476eb

Please sign in to comment.