Skip to contentSkip to conversation

arm-bsp: add zephyr for musca-s1

PATCH Applied Jon Mason 2 participants 2 messages Dec 16, 2021

lore
Share & tools
lore

Jon Mason

author
#0 lore raw

PATCH 1/1 arm-bsp: add zephyr for musca-s1

Zephyr supports musca-s1 boards. Add support in the machine config file and the relevant CI entries to build it.

---
 ci/musca-s1.yml                         |  4 +++-
 meta-arm-bsp/conf/machine/musca-s1.conf | 15 +++++++++++++++
 2 files changed, 18 insertions(+), 1 deletion(-)
ci/musca-s1.yml +3 -1
index 29f289a..523a235 100644
@@ -2,9 +2,11 @@ header:
   version: 11
   includes:
     - ci/base.yml
-    - ci/meta-openembedded.yml
+    - ci/meta-zephyr.yml
+
 
 machine: musca-s1
 
 target:
   - trusted-firmware-m
+  - zephyr-philosophers
meta-arm-bsp/conf/machine/musca-s1.conf +15 -0
index be15c60..d18c06c 100644
@@ -9,4 +9,19 @@ 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-s1"
+QB_CPU = "-cpu cortex-m33"
+QB_OPT_APPEND = "-nographic -vga none"
+QB_MEM = "512k"
+QB_RNG = ""
+
+# Zephyr RTOS settings
+ZEPHYR_BOARD = "v2m_musca_s1"
+ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
+ARCH:musca-s1 = "arm"
+
 TFM_PLATFORM = "arm/musca_s1"
Signature · 1 line
2.17.1
Applied
#1 lore raw
Quoted 4 lines · Jon Mason

Zephyr supports musca-s1 boards. Add support in the machine config file and the relevant CI entries to build it.

Applied, thanks!

[1/1] arm-bsp: add zephyr for musca-s1

      commit: f028dc0e8b97f4d271e29b62ef403a6a63be72cb

Best regards,

Signature · 1 line
Jon Mason <[email protected]>