1# Copyright (c) 2023 STMicroelectronics
2# SPDX-License-Identifier: Apache-2.0
3
4# keep first
5board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
6
7board_runner_args(openocd "--tcl-port=6666")
8board_runner_args(openocd --cmd-pre-init "gdb_report_data_abort enable")
9board_runner_args(openocd "--no-halt")
10
11# keep first
12include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
13include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
14