diff --git a/ci/musca-s1.yml b/ci/musca-s1.yml index 29f289a3..523a2350 100644 --- a/ci/musca-s1.yml +++ b/ci/musca-s1.yml @@ -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 diff --git a/meta-arm-bsp/conf/machine/musca-s1.conf b/meta-arm-bsp/conf/machine/musca-s1.conf index be15c60e..d18c06c2 100644 --- a/meta-arm-bsp/conf/machine/musca-s1.conf +++ b/meta-arm-bsp/conf/machine/musca-s1.conf @@ -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"