scripts: zephyr_flash_debug: add missing nrfjprog line
The --pinreset line from the shell script is missing.
Signed-off-by: Marti Bolivar <marti.bolivar@linaro.org>
diff --git a/scripts/support/zephyr_flash_debug.py b/scripts/support/zephyr_flash_debug.py
index 921a716..6557a34 100755
--- a/scripts/support/zephyr_flash_debug.py
+++ b/scripts/support/zephyr_flash_debug.py
@@ -599,6 +599,10 @@
'-f', self.family, '--snr', board_snr],
['nrfjprog', '--reset', '-f', self.family, '--snr', board_snr],
])
+ commands.append(['nrfjprog',
+ '--pinreset',
+ '-f', self.family,
+ '--snr', board_snr])
for cmd in commands:
check_call(cmd, self.debug)