Skip to content

Commit 01f65f6

Browse files
carlescufikartben
authored andcommitted
west: runners: nrf: Fix typo in nrjfprog runner
The correct string is `ERASE_NONE`. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
1 parent 3064c7b commit 01f65f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/west_commands/runners/nrfjprog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def do_exec_op(self, op, force=False):
9393
cmd.append('--sectoranduicrerase')
9494
else:
9595
cmd.append('--sectorerase')
96-
elif erase == 'NO_ERASE':
96+
elif erase == 'ERASE_NONE':
9797
pass
9898
else:
9999
raise RuntimeError(f'Invalid erase mode: {erase}')

0 commit comments

Comments
 (0)