diff mbox series

[meta-zephyr,5/6] zephyr-bsp: add support for v2m-musca-b1

Message ID 20221007141203.16632-5-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                                |  3 +++
 ci/v2m-musca-b1.yml                           | 10 ++++++++
 .../conf/machine/v2m-musca-b1.conf            | 25 +++++++++++++++++++
 3 files changed, 38 insertions(+)
 create mode 100644 ci/v2m-musca-b1.yml
 create mode 100644 meta-zephyr-bsp/conf/machine/v2m-musca-b1.conf
diff mbox series

Patch

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 538f4ff..e3b15ad 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -147,3 +147,6 @@  qemu-x86:
 
 stm32mp157c-dk2:
   extends: .build
+
+v2m-musca-b1:
+  extends: .build
diff --git a/ci/v2m-musca-b1.yml b/ci/v2m-musca-b1.yml
new file mode 100644
index 0000000..a867c4c
--- /dev/null
+++ b/ci/v2m-musca-b1.yml
@@ -0,0 +1,10 @@ 
+header:
+  version: 11
+  includes:
+    - ci/base.yml
+
+local_conf_header:
+  nonbuilding_tests: |
+    ZEPHYRTESTS:remove = "common sleep poll device queue"
+
+machine: v2m-musca-b1
diff --git a/meta-zephyr-bsp/conf/machine/v2m-musca-b1.conf b/meta-zephyr-bsp/conf/machine/v2m-musca-b1.conf
new file mode 100644
index 0000000..171e899
--- /dev/null
+++ b/meta-zephyr-bsp/conf/machine/v2m-musca-b1.conf
@@ -0,0 +1,25 @@ 
+# Configuration for Musca-B1 development board
+
+#@TYPE: Machine
+#@NAME: Musca-B1 machine
+#@DESCRIPTION: Machine configuration for Musca-B1
+
+DEFAULTTUNE ?= "armv8m-main"
+require conf/machine/include/arm/armv8-m/tune-cortexm33.inc
+
+# GLIBC will not work with Cortex-M.
+TCLIBC = "newlib"
+
+# For runqemu
+IMAGE_FSTYPES += "ext4"
+IMAGE_CLASSES += "qemuboot"
+QB_SYSTEM_NAME = "qemu-system-arm"
+QB_MACHINE = "-machine musca-b1"
+QB_CPU = "-cpu cortex-m33"
+QB_GRAPHICS = "-nographic -vga none"
+QB_MEM = "512k"
+
+# Zephyr RTOS settings
+ZEPHYR_BOARD = "v2m_musca_b1"
+ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
+ARCH:musca-b1 = "arm"