zephyr/boards/intel/ish/board.cmake
Anas Nashif 2c4e43a7bf intel_ish: add support for running with simics
Add support for running this platform with simics.

Originally authored by: Maureen Helm

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-09-12 14:49:21 +02:00

14 lines
479 B
CMake

# SPDX-License-Identifier: Apache-2.0
set(SUPPORTED_EMU_PLATFORMS simics)
if(CONFIG_BOARD_INTEL_ISH_5_8_0)
board_emu_args(simics "project=$ENV{SIMICS_PROJECT}")
board_emu_args(simics "zephyr_elf=${APPLICATION_BINARY_DIR}/zephyr/${KERNEL_ELF_NAME}")
board_emu_args(simics "zephyr_start_address=${CONFIG_SRAM_BASE_ADDRESS}")
include(${ZEPHYR_BASE}/boards/common/simics.board.cmake)
endif()
board_set_flasher_ifnset(misc-flasher)
board_finalize_runner_args(misc-flasher)