Skip to content

Commit 706689b

Browse files
carlescufikartben
authored andcommitted
scripts: runners: nrf: Fix missing kind in erase operations
Commit dc7d8bb introduced the requirement to provide the erase kind when executing the corresponding op, but it was forgotten in this particular spot. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
1 parent 706938d commit 706689b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/west_commands/runners/nrf_common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@ def program_hex(self):
337337
)
338338

339339
if self.erase:
340-
self.exec_op('erase', core='Application')
341-
self.exec_op('erase', core='Network')
340+
self.exec_op('erase', core='Application', kind='all')
341+
self.exec_op('erase', core='Network', kind='all')
342342

343343
# Manage SUIT artifacts.
344344
# This logic should be executed only once per build.

0 commit comments

Comments
 (0)