1# SPDX-License-Identifier: Apache-2.0 2 3set(SUPPORTED_EMU_PLATFORMS nsim) 4 5string(SUBSTRING "${BOARD_QUALIFIERS}" 1 -1 NSIM_BASE_FILENAME) 6string(REPLACE "/" "_" NSIM_BASE_FILENAME "${NSIM_BASE_FILENAME}") 7 8board_set_flasher_ifnset(arc-nsim) 9board_set_debugger_ifnset(arc-nsim) 10 11set(NSIM_PROPS "${NSIM_BASE_FILENAME}.props") 12board_runner_args(arc-nsim "--props=${NSIM_PROPS}") 13 14board_finalize_runner_args(arc-nsim) 15include(${ZEPHYR_BASE}/boards/common/mdb-nsim.board.cmake) 16include(${ZEPHYR_BASE}/boards/common/mdb-hw.board.cmake) 17