aboutsummaryrefslogtreecommitdiffstats
path: root/meta-zephyr-bsp/conf/machine/qemu-nios2.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-zephyr-bsp/conf/machine/qemu-nios2.conf')
-rw-r--r--meta-zephyr-bsp/conf/machine/qemu-nios2.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-zephyr-bsp/conf/machine/qemu-nios2.conf b/meta-zephyr-bsp/conf/machine/qemu-nios2.conf
new file mode 100644
index 0000000..de20320
--- /dev/null
+++ b/meta-zephyr-bsp/conf/machine/qemu-nios2.conf
@@ -0,0 +1,16 @@
+#@TYPE: Machine
+#@NAME: qemu-nios2
+#@DESCRIPTION: Machine for Zephyr BOARD qemu_nios2
+
+require conf/machine/include/qemu.inc
+require conf/machine/include/tune-nios2.inc
+
+ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
+
+# For runqemu
+QB_SYSTEM_NAME = "qemu-system-nios2"
+QB_MACHINE = "-machine altera_10m50_zephyr"
+QB_OPT_APPEND = "-nographic"
+QB_CPU = "-cpu nios2"
+
+ARCH:qemu-nios2 = "nios2"