2019-07-25 16:44:41 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2020-02-18 16:00:56 +08:00
|
|
|
board_runner_args(openocd "--use-elf")
|
2020-09-04 09:23:33 +08:00
|
|
|
|
|
|
|
if(${CONFIG_MP_NUM_CPUS} EQUAL 2)
|
|
|
|
board_runner_args(openocd "--config=${CMAKE_CURRENT_LIST_DIR}/support/openocd-2-cores.cfg")
|
|
|
|
endif()
|
|
|
|
|
2020-10-08 03:12:42 +08:00
|
|
|
board_runner_args(mdb-hw "--jtag=digilent" "--cores=${CONFIG_MP_NUM_CPUS}")
|
2020-02-07 17:28:32 +08:00
|
|
|
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
|
2020-10-08 03:12:42 +08:00
|
|
|
include(${ZEPHYR_BASE}/boards/common/mdb-hw.board.cmake)
|