1# SPDX-License-Identifier: Apache-2.0 2# Copyright (c) 2020 Alexander Kozhinov <ak.alexander.kozhinov@gmail.com> 3 4# keep first 5board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw") 6board_runner_args(jlink "--device=STM32H745ZI" "--speed=4000") 7if(CONFIG_BOARD_NUCLEO_H745ZI_Q_STM32H745XX_M7) 8board_runner_args(openocd --target-handle=_CHIPNAME.cpu0) 9elseif(CONFIG_BOARD_NUCLEO_H745ZI_Q_STM32H745XX_M4) 10board_runner_args(openocd --target-handle=_CHIPNAME.cpu1) 11endif() 12 13# keep first 14include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake) 15include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) 16include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) 17