| # SPDX-License-Identifier: Apache-2.0 |
| |
| # keep first |
| board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw") |
| if(CONFIG_XIP AND (CONFIG_STM32_MEMMAP OR CONFIG_BOOTLOADER_MCUBOOT)) |
| board_runner_args(stm32cubeprogrammer "--extload=MX66UW1G45G_STM32H7S78-DK.stldr") |
| endif() |
| |
| board_runner_args(openocd --target-handle=_CHIPNAME.cpu0) |
| |
| board_runner_args(pyocd "--target=stm32h7s7l8hxh") |
| board_runner_args(pyocd "--flash-opt=-O reset_type=hw") |
| board_runner_args(pyocd "--flash-opt=-O connect_mode=under-reset") |
| |
| # keep first |
| include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake) |
| include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake) |
| include(${ZEPHYR_BASE}/boards/common/openocd-stm32.board.cmake) |