boards: nucleo_wb55rg: Use stm32cubeprogrammer as default runner

When playing with PM related applications, stm32cubeprogrammer is
useful to allow flashing even when SoC is in Stop mode.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
This commit is contained in:
Erwan Gouriou 2023-10-02 15:10:08 +02:00 committed by Carles Cufí
parent 7d63942c31
commit 0d42acadb4

View file

@ -2,6 +2,6 @@
board_runner_args(pyocd "--target=stm32wb55rgvx") board_runner_args(pyocd "--target=stm32wb55rgvx")
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw") board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake) include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)