Skip to content

Commit

Permalink
sysbuild: fix multi image flash
Browse files Browse the repository at this point in the history
A `west flash` with STLink must not implicitly perform a mass erase on its own.

If a flash erase is required, the option has to be passed manually.

zephyrproject-rtos#69582
  • Loading branch information
AlexFabre authored Jun 20, 2024
1 parent e96cfe0 commit 74be529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boards/st/stm32h573i_dk/board.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: Apache-2.0

board_runner_args(stm32cubeprogrammer "--erase" "--port=swd" "--reset-mode=hw")
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
board_runner_args(pyocd "--target=stm32h573iikx")

include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
Expand Down

0 comments on commit 74be529

Please sign in to comment.