1#
2# Copyright (c) 2021, Weidmueller Interface GmbH & Co. KG
3# SPDX-License-Identifier: Apache-2.0
4#
5
6set(SUPPORTED_EMU_PLATFORMS qemu)
7set(QEMU_ARCH xilinx-aarch64)
8
9set(QEMU_CPU_TYPE_${ARCH} cortex-a9)
10
11set(QEMU_FLAGS_${ARCH}
12  -nographic
13  -machine arm-generic-fdt-7series
14  -dtb ${ZEPHYR_BASE}/boards/${ARCH}/${BOARD}/fdt-zynq7000s.dtb
15  )
16
17set(QEMU_KERNEL_OPTION
18  "-device;loader,file=\$<TARGET_FILE:\${logical_target_for_zephyr_elf}>,cpu-num=0"
19  )
20
21board_set_debugger_ifnset(qemu)
22