1# SPDX-License-Identifier: Apache-2.0 2set(SUPPORTED_EMU_PLATFORMS nsim) 3 4if(NOT (CONFIG_SOC_NSIM_HS_SMP OR CONFIG_SOC_NSIM_HS6X_SMP OR CONFIG_SOC_NSIM_HS5X_SMP)) 5 board_set_flasher_ifnset(arc-nsim) 6 board_set_debugger_ifnset(arc-nsim) 7 8 set(NSIM_PROPS "${BOARD}.props") 9 board_runner_args(arc-nsim "--props=${NSIM_PROPS}") 10endif() 11 12string(REPLACE "nsim" "mdb" MDB_ARGS "${BOARD}.args") 13 14board_runner_args(mdb-nsim "--cores=${CONFIG_MP_MAX_NUM_CPUS}" "--nsim_args=${MDB_ARGS}") 15board_runner_args(mdb-hw "--cores=${CONFIG_MP_MAX_NUM_CPUS}") 16 17board_finalize_runner_args(arc-nsim) 18include(${ZEPHYR_BASE}/boards/common/mdb-nsim.board.cmake) 19include(${ZEPHYR_BASE}/boards/common/mdb-hw.board.cmake) 20