1# SPDX-License-Identifier: Apache-2.0
2
3# keep first
4if(CONFIG_STM32_MEMMAP)
5board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
6board_runner_args(stm32cubeprogrammer "--extload=MT25TL01G_STM32H750B-DISCO.stldr")
7else()
8board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw" )
9endif()
10
11board_runner_args(jlink "--device=STM32H735IG" "--speed=4000")
12board_runner_args(openocd --target-handle=_CHIPNAME.cpu0)
13
14# keep first
15include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
16include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
17include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
18