diff mbox series

[meta-zephyr,master,3/5] machine: mps2/mps3: add missing QEMU and Zephyr board settings

Message ID 20260208214430.1048640-4-charles.embedded@gmail.com
State New
Headers show
Series Update QEMU machine configs and README | expand

Commit Message

Charles Dias Feb. 8, 2026, 9:44 p.m. UTC
From: Charles Dias <charlesdias.cd@outlook.com>

Update MPS2 and MPS3 machine configurations:

- Add ZEPHYR_BOARD with the current Zephyr board identifiers
  (mps2/an385, mps2/an521/cpu0, mps3/corstone300/an547).
- Add QB_RNG = "" to disable virtio-rng, which is unsupported on
  these machines.
- Add QB_MEM to explicitly set memory (16 MB for mps2-an385,
  2048 MB for mps3-an547; mps2-an521 already had it).

Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
---
 meta-zephyr-bsp/conf/machine/mps2-an385.conf | 3 +++
 meta-zephyr-bsp/conf/machine/mps2-an521.conf | 2 ++
 meta-zephyr-bsp/conf/machine/mps3-an547.conf | 3 +++
 3 files changed, 8 insertions(+)
diff mbox series

Patch

diff --git a/meta-zephyr-bsp/conf/machine/mps2-an385.conf b/meta-zephyr-bsp/conf/machine/mps2-an385.conf
index 081c6dd..173acce 100644
--- a/meta-zephyr-bsp/conf/machine/mps2-an385.conf
+++ b/meta-zephyr-bsp/conf/machine/mps2-an385.conf
@@ -11,8 +11,11 @@  TCLIBC = "newlib"
 QB_SYSTEM_NAME = "qemu-system-arm"
 QB_MACHINE = "-machine mps2-an385"
 QB_CPU = "-cpu cortex-m3"
+QB_MEM = "-m 16"
 QB_GRAPHICS = "-vga none"
 QB_OPT_APPEND = "-icount shift=7,align=off,sleep=off -rtc clock=vm"
+QB_RNG = ""
 
 # Zephyr RTOS settings
+ZEPHYR_BOARD = "mps2/an385"
 ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
diff --git a/meta-zephyr-bsp/conf/machine/mps2-an521.conf b/meta-zephyr-bsp/conf/machine/mps2-an521.conf
index ebf8256..138ae01 100644
--- a/meta-zephyr-bsp/conf/machine/mps2-an521.conf
+++ b/meta-zephyr-bsp/conf/machine/mps2-an521.conf
@@ -15,6 +15,8 @@  QB_CPU = "-cpu cortex-m33"
 QB_MEM = "-m 16"
 QB_GRAPHICS = "-vga none"
 QB_OPT_APPEND = "-icount shift=7,align=off,sleep=off -rtc clock=vm"
+QB_RNG = ""
 
 # Zephyr RTOS settings
+ZEPHYR_BOARD = "mps2/an521/cpu0"
 ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
diff --git a/meta-zephyr-bsp/conf/machine/mps3-an547.conf b/meta-zephyr-bsp/conf/machine/mps3-an547.conf
index ad8c687..64f91c6 100644
--- a/meta-zephyr-bsp/conf/machine/mps3-an547.conf
+++ b/meta-zephyr-bsp/conf/machine/mps3-an547.conf
@@ -12,8 +12,11 @@  TCLIBC = "newlib"
 QB_SYSTEM_NAME = "qemu-system-arm"
 QB_MACHINE = "-machine mps3-an547"
 QB_CPU = "-cpu cortex-m55"
+QB_MEM = "-m 2048"
 QB_GRAPHICS = "-vga none"
 QB_OPT_APPEND = "-icount shift=7,align=off,sleep=off -rtc clock=vm"
+QB_RNG = ""
 
 # Zephyr RTOS settings
+ZEPHYR_BOARD = "mps3/corstone300/an547"
 ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"