2022-12-16 14:28:24 +01:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2024-09-07 15:22:33 +02:00
|
|
|
# keep first
|
2024-05-29 11:09:05 +02:00
|
|
|
if(CONFIG_STM32_MEMMAP)
|
|
|
|
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
|
|
|
|
board_runner_args(stm32cubeprogrammer "--extload=MX25LM51245G_STM32H573I-DK-RevB-SFIx.stldr")
|
|
|
|
else()
|
2024-06-20 13:06:02 +02:00
|
|
|
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw")
|
2024-05-29 11:09:05 +02:00
|
|
|
endif()
|
|
|
|
|
2024-02-13 16:50:55 +01:00
|
|
|
board_runner_args(pyocd "--target=stm32h573iikx")
|
2022-12-16 14:28:24 +01:00
|
|
|
|
2024-06-19 17:18:21 +02: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")
|
|
|
|
|
2024-09-07 15:22:33 +02:00
|
|
|
# keep first
|
2022-12-16 14:28:24 +01:00
|
|
|
include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake)
|
2024-02-13 16:50:55 +01:00
|
|
|
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
|
2024-06-19 17:18:21 +02:00
|
|
|
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
|
|
|
|
# FIXME: official openocd runner not yet available.
|