1# SPDX-License-Identifier: Apache-2.0
2
3if(CONFIG_BOARD_ARTY_A7_DESIGNSTART_FPGA_CORTEX_M1)
4  board_runner_args(openocd "--use-elf" "--config=${BOARD_DIR}/support/openocd_arty_a7_arm_designstart_m1.cfg")
5  board_runner_args(jlink "--device=Cortex-M1" "--reset-after-load")
6elseif(CONFIG_BOARD_ARTY_A7_DESIGNSTART_FPGA_CORTEX_M3)
7  board_runner_args(openocd "--use-elf" "--config=${BOARD_DIR}/support/openocd_arty_a7_arm_designstart_m3.cfg")
8  board_runner_args(jlink "--device=Cortex-M3" "--reset-after-load")
9endif()
10
11include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
12include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
13