1# SPDX-License-Identifier: Apache-2.0
2
3set(SUPPORTED_EMU_PLATFORMS qemu)
4
5if(CONFIG_BOARD_QEMU_XTENSA)
6  set(QEMU_CPU_TYPE_${ARCH} ${CONFIG_SOC})
7
8  set(QEMU_FLAGS_${ARCH}
9    -machine sim -semihosting -nographic -cpu ${CONFIG_SOC}
10  )
11endif()
12
13# TODO: Support debug
14# board_set_debugger_ifnset(qemu)
15# debugserver: QEMU_EXTRA_FLAGS += -s -S
16# debugserver: qemu
17