Skip to content

Commit 51661ef

Browse files
carlescufikartben
authored andcommitted
scripts: runners: nrf: Fix a missing indirection
In commit 6e9e839, an indirection via the new `options` dictionary was missed in the SUIT handling. Signed-off-by: Carles Cufi <[email protected]>
1 parent 21be69f commit 51661ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/west_commands/runners/nrf_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ def _check_suit_starter(self, op):
494494
op = op['operation']
495495
if op['type'] not in ('erase', 'recover', 'program'):
496496
return None
497-
if op['type'] == 'program' and op['chip_erase_mode'] != "ERASE_UICR":
497+
if op['type'] == 'program' and op['options']['chip_erase_mode'] != "ERASE_UICR":
498498
return None
499499

500500
file = _get_suit_starter()

0 commit comments

Comments
 (0)