aboutsummaryrefslogtreecommitdiffstats
path: root/meta-zephyr-bsp/conf/machine/qemu-x86.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-zephyr-bsp/conf/machine/qemu-x86.conf')
-rw-r--r--meta-zephyr-bsp/conf/machine/qemu-x86.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-zephyr-bsp/conf/machine/qemu-x86.conf b/meta-zephyr-bsp/conf/machine/qemu-x86.conf
new file mode 100644
index 0000000..ae7716c
--- /dev/null
+++ b/meta-zephyr-bsp/conf/machine/qemu-x86.conf
@@ -0,0 +1,17 @@
+#@TYPE: Machine
+#@NAME: qemu-x86
+#@DESCRIPTION: Machine for Zephyr BOARD qemu_x86
+
+require conf/machine/include/qemu.inc
+require conf/machine/${X86_TUNE_DIR}/tune-i586.inc
+
+ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
+
+# For runqemu
+QB_SYSTEM_NAME = "qemu-system-i386"
+QB_MACHINE = "-machine type=pc-q35-2.10"
+QB_OPT_APPEND = "-nographic -no-acpi"
+QB_CPU:x86 = "-cpu qemu32,+nx,+pae"
+QB_CPU_KVM:x86 = "-cpu kvm32"
+
+ARCH:qemu-x86 = "x86"