2023-11-08 20:17:05 +08:00
|
|
|
# Copyright (c) 2023 STMicroelectronics
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2024-06-20 19:06:02 +08:00
|
|
|
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
|
2023-11-08 20:17:05 +08:00
|
|
|
|
2023-11-11 01:00:47 +08:00
|
|
|
board_runner_args(openocd "--tcl-port=6666")
|
|
|
|
board_runner_args(openocd --cmd-pre-init "gdb_report_data_abort enable")
|
|
|
|
board_runner_args(openocd "--no-halt")
|
|
|
|
|
2023-11-08 20:17:05 +08:00
|
|
|
include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
|
2023-11-11 01:00:47 +08:00
|
|
|
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
|