Commit 4df602ae authored by Maureen Helm's avatar Maureen Helm Committed by Fabio Utzig
Browse files

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: default avatarMaureen Helm <maureen.helm@nxp.com>
parent 0e0c488a
Loading
Loading
Loading
Loading
+1 −1
Changes for boot/zephyr/CMakeLists.txt: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ endif()
macro(app_set_runner_args)
  if(CONFIG_ZEPHYR_TRY_MASS_ERASE)
    board_runner_args(dfu-util "--dfuse-modifiers=force:mass-erase")
    board_runner_args(pyocd "--flashtool-opt=-ce")
    board_runner_args(pyocd "--flash-opt=-e=chip")
    board_runner_args(nrfjprog "--erase")
  endif()
endmacro()