Skip to content

Commit

Permalink
[nrfconnect] Fix flashing script
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 committed Feb 28, 2022
1 parent 4668421 commit bf8a5bf
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 bf8a5bf

Please sign in to comment.