mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-04 19:39:31 +00:00
Support 'make run' with this target rather than using 'flash' which might be confusing. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
13 lines
296 B
CMake
13 lines
296 B
CMake
set(EMU_PLATFORM nsim)
|
|
|
|
set(BOARD_FLASH_RUNNER arc-nsim)
|
|
set(BOARD_DEBUG_RUNNER arc-nsim)
|
|
|
|
if(${CONFIG_SOC_NSIM_EM})
|
|
board_runner_args(arc-nsim "--props=nsim.props")
|
|
elseif(${CONFIG_SOC_NSIM_SEM})
|
|
board_runner_args(arc-nsim "--props=nsim_sem.props")
|
|
endif()
|
|
|
|
board_finalize_runner_args(arc-nsim)
|