Skip to content

Commit 4df602a

Browse files
MaureenHelmutzig
authored andcommitted
boot: zephyr: Fix pyocd board runner args
The pyocd runner in zephyr changed its arguments slightly when it converted to the new unified pyocd tool with subcommands. Change the board runner args here similarly so we can use 'west flash' again for the zephyr bootloader. Signed-off-by: Maureen Helm <[email protected]>
1 parent 0e0c488 commit 4df602a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boot/zephyr/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ endif()
5252
macro(app_set_runner_args)
5353
if(CONFIG_ZEPHYR_TRY_MASS_ERASE)
5454
board_runner_args(dfu-util "--dfuse-modifiers=force:mass-erase")
55-
board_runner_args(pyocd "--flashtool-opt=-ce")
55+
board_runner_args(pyocd "--flash-opt=-e=chip")
5656
board_runner_args(nrfjprog "--erase")
5757
endif()
5858
endmacro()

0 commit comments

Comments
 (0)