1# Copyright (c) 2022 Byte-Lab d.o.o. <dev@byte-lab.com> 2# SPDX-License-Identifier: Apache-2.0 3 4# keep first 5if(CONFIG_STM32_MEMMAP) 6board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw") 7board_runner_args(stm32cubeprogrammer "--extload=MX25LM51245G_STM32H7B3I-DISCO.stldr") 8else() 9board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw" ) 10endif() 11 12board_runner_args(jlink "--device=STM32H7B3LI" "--speed=4000") 13board_runner_args(openocd --target-handle=_CHIPNAME.cpu0) 14 15# keep first 16include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake) 17include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) 18include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) 19