zephyr/cmake/emu/custom.cmake
Yong Cong Sin 9239599277 twister: add support for custom emulator in simulator
Enable the possibility for boards to implement a custom `run` target in
its board.cmake to run any arbitrary commands. This is helpful for devs
who would like to add support for proprietary simulator to their boards
that can't be upstreamed.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
2023-08-02 17:35:26 +02:00

9 lines
398 B
CMake

# SPDX-License-Identifier: Apache-2.0
#
# ${ZEPHYR_BASE}/CMakeLists.txt looks for ${ZEPHYR_BASE}/cmake/emu/${EMU_PLATFORM}.cmake
# when building the `run` target. Create this placeholder file so it doesn't complain.
# The real 'run' custom_target should be defined in `board.cmake` instead.
#
# See https://docs.zephyrproject.org/latest/develop/test/twister.html#running-tests-on-custom-emulator
#