mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-16 15:01:55 +00:00
TSIM3 is a LEON processor and system simulator. This commit allows using TSIM sanitycheck and the make run target. TSIM parameters can be further specified in the board configuration using TSIM and TSIM_SYS. Signed-off-by: Martin Åberg <martin.aberg@gaisler.com>
14 lines
263 B
CMake
14 lines
263 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
set(TSIM_FLAGS -e run -e exit)
|
|
|
|
add_custom_target(run
|
|
COMMAND
|
|
${TSIM}
|
|
${TSIM_SYS}
|
|
${TSIM_FLAGS}
|
|
${APPLICATION_BINARY_DIR}/zephyr/${KERNEL_ELF_NAME}
|
|
WORKING_DIRECTORY ${APPLICATION_BINARY_DIR}
|
|
USES_TERMINAL
|
|
)
|