2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2020-02-18 16:00:56 +08:00
|
|
|
board_runner_args(openocd "--use-elf")
|
boards: enable mdb runner for arc boards
* current supported boards:
* emsk, iotdk, nsim, emsdp, hsdk.
* for the unsupported future boards, pls take a
reference of supported boards' board.cmake.
* mdb runner is required and the default runner for SMP
case, e.g., HSDK and nsim_hs_smp.
* other ARC boards can also choose to use mdb by
setting runner as mdb, e.g. west flash --runner mdb.
* with mdb runner, user can make a debug through mdb gui
* with arc_nsim or opencod runner (default runner), user
can make a debug through gdb cmdline.
Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
2020-04-29 16:00:06 +08:00
|
|
|
board_runner_args(mdb "--jtag=digilent")
|
2020-02-07 17:28:32 +08:00
|
|
|
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
|
boards: enable mdb runner for arc boards
* current supported boards:
* emsk, iotdk, nsim, emsdp, hsdk.
* for the unsupported future boards, pls take a
reference of supported boards' board.cmake.
* mdb runner is required and the default runner for SMP
case, e.g., HSDK and nsim_hs_smp.
* other ARC boards can also choose to use mdb by
setting runner as mdb, e.g. west flash --runner mdb.
* with mdb runner, user can make a debug through mdb gui
* with arc_nsim or opencod runner (default runner), user
can make a debug through gdb cmdline.
Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
2020-04-29 16:00:06 +08:00
|
|
|
include(${ZEPHYR_BASE}/boards/common/mdb.board.cmake)
|