boards: st: stm32h573i_dk: Add support for probe-rs

Allow flashing the STM32H573II chip found on the STM32H573I-DK board
using the probe-rs runner.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
This commit is contained in:
Tim Pambor 2025-04-18 12:56:25 +02:00 committed by Benjamin Cabé
commit ef7892dc24

View file

@ -10,6 +10,8 @@ endif()
board_runner_args(pyocd "--target=stm32h573iikx") board_runner_args(pyocd "--target=stm32h573iikx")
board_runner_args(probe_rs "--chip=STM32H573II")
board_runner_args(openocd "--tcl-port=6666") board_runner_args(openocd "--tcl-port=6666")
board_runner_args(openocd --cmd-pre-init "gdb_report_data_abort enable") board_runner_args(openocd --cmd-pre-init "gdb_report_data_abort enable")
board_runner_args(openocd "--no-halt") board_runner_args(openocd "--no-halt")
@ -17,5 +19,6 @@ board_runner_args(openocd "--no-halt")
# keep first # keep first
include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake) include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake) include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/probe-rs.board.cmake)
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
# FIXME: official openocd runner not yet available. # FIXME: official openocd runner not yet available.