69cc659c92
stm32cubeprogrammer runner takes a --reset-mode argument to specify the type of reset used in the flashing process. Though, argparse default configuration in python allows shortened command arguments and it happened that --reset was used on most boards instead of --reset-mode. This argparse configuration is being changed in order to prevent shortened command args (see #53495). As a consequence all board configs using --reset should be updated to use the full length version. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
7 lines
181 B
CMake
7 lines
181 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
|
|
|
|
include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
|
|
|