boards: nucleo_h753zi: add pyOCD support

This patch adds pyOCD runner configuration for
the nucleo_h753zi board.

Signed-off-by: Mirai SHINJO <oss@mshinjo.com>
This commit is contained in:
Mirai SHINJO 2025-05-18 22:19:50 -04:00 committed by Benjamin Cabé
commit 438ed6d74a

View file

@ -4,8 +4,10 @@
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw") board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
board_runner_args(jlink "--device=STM32H753ZI" "--speed=4000") board_runner_args(jlink "--device=STM32H753ZI" "--speed=4000")
board_runner_args(openocd --target-handle=_CHIPNAME.cpu0) board_runner_args(openocd --target-handle=_CHIPNAME.cpu0)
board_runner_args(pyocd "--target=stm32h753zitx")
# 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/openocd-stm32.board.cmake) include(${ZEPHYR_BASE}/boards/common/openocd-stm32.board.cmake)
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)