1# SPDX-License-Identifier: Apache-2.0
2
3# keep first
4board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
5board_runner_args(jlink "--device=STM32H755ZI" "--speed=3300")
6if(CONFIG_BOARD_NUCLEO_H755ZI_Q_STM32H755XX_M7)
7  board_runner_args(openocd --target-handle=_CHIPNAME.cpu0)
8elseif(CONFIG_BOARD_NUCLEO_H755ZI_Q_STM32H755XX_M4)
9  board_runner_args(openocd --target-handle=_CHIPNAME.cpu1)
10endif()
11
12# keep first
13include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
14include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
15include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
16