diff mbox series

[meta-zephyr,4/6] zephyr-bsp: add support for mps3-an547

Message ID 20221007141203.16632-4-jon.mason@arm.com
State New
Headers show
Series [meta-zephyr,1/6] zephyr-bsp: add support for qemu-cortex-a9 | expand

Commit Message

Jon Mason Oct. 7, 2022, 2:12 p.m. UTC
Signed-off-by: Jon Mason <jon.mason@arm.com>
---
 .gitlab-ci.yml                               |  7 +++++++
 ci/mps3-an547.yml                            |  6 ++++++
 meta-zephyr-bsp/conf/machine/mps3-an547.conf | 20 ++++++++++++++++++++
 3 files changed, 33 insertions(+)
 create mode 100644 ci/mps3-an547.yml
 create mode 100644 meta-zephyr-bsp/conf/machine/mps3-an547.conf
diff mbox series

Patch

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9c6ac3b..538f4ff 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -91,6 +91,13 @@  mps2-an521:
       - TOOLCHAIN: [default, zephyr-toolchain]
         TESTING: testimage
 
+mps3-an547:
+  extends: .build
+  parallel:
+    matrix:
+      - TOOLCHAIN: [default, zephyr-toolchain]
+        TESTING: testimage
+
 nrf52840-mdk-usb-dongle:
   extends: .build
 
diff --git a/ci/mps3-an547.yml b/ci/mps3-an547.yml
new file mode 100644
index 0000000..372ec04
--- /dev/null
+++ b/ci/mps3-an547.yml
@@ -0,0 +1,6 @@ 
+header:
+  version: 11
+  includes:
+    - ci/base.yml
+
+machine: mps3-an547
diff --git a/meta-zephyr-bsp/conf/machine/mps3-an547.conf b/meta-zephyr-bsp/conf/machine/mps3-an547.conf
new file mode 100644
index 0000000..185c425
--- /dev/null
+++ b/meta-zephyr-bsp/conf/machine/mps3-an547.conf
@@ -0,0 +1,20 @@ 
+#@TYPE: Machine
+#@NAME: mps3-an547
+#@DESCRIPTION: Machine for Zephyr BOARD mps3-an547
+
+DEFAULTTUNE ?= "armv8-1m-main"
+require conf/machine/include/qemu.inc
+require conf/machine/include/arm/armv8-1m/tune-cortexm55.inc
+
+TCLIBC = "newlib"
+
+# For runqemu
+QB_SYSTEM_NAME = "qemu-system-arm"
+QB_MACHINE = "-machine mps3-an547"
+QB_CPU = "-cpu cortex-m55"
+QB_GRAPHICS = "-nographic -vga none"
+QB_OPT_APPEND = "-icount shift=7,align=off,sleep=off -rtc clock=vm"
+
+# Zephyr RTOS settings
+ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
+ARCH:mps3-an547 = "arm"