1# Copyright (c) 2019 Lexmark International, Inc.
2#
3# SPDX-License-Identifier: Apache-2.0
4
5set(SUPPORTED_EMU_PLATFORMS qemu)
6set(QEMU_ARCH xilinx-aarch64)
7
8set(QEMU_CPU_TYPE_${ARCH} cortex-r5)
9set(QEMU_FLAGS_${ARCH}
10  -nographic
11  -machine arm-generic-fdt
12  -dtb ${ZEPHYR_BASE}/boards/${ARCH}/${BOARD}/fdt-single_arch-zcu102-arm.dtb
13  )
14
15set(QEMU_KERNEL_OPTION
16  "-device;loader,file=\$<TARGET_FILE:\${logical_target_for_zephyr_elf}>,cpu-num=4"
17  "-device;loader,addr=0xff5e023c,data=0x80008fde,data-len=4"
18  "-device;loader,addr=0xff9a0000,data=0x80000218,data-len=4"
19  )
20
21board_set_debugger_ifnset(qemu)
22