zephyr/samples/subsys/llext/modules/sample.yaml

38 lines
1.1 KiB
YAML
Raw Normal View History

common:
tags: llext
platform_allow:
- qemu_cortex_a9 # ARM Cortex-A9 (ARMv7-A ISA)
- qemu_cortex_r5 # ARM Cortex-R5 (ARMv7-R ISA)
- qemu_cortex_a53 # ARM Cortex-A53 (ARMv8-A ISA)
- mps2/an385 # ARM Cortex-M3 (ARMv7-M ISA)
- mps2/an521/cpu0 # ARM Cortex-M33 (ARMv8-M ISA)
- qemu_xtensa
integration_platforms:
- qemu_xtensa
- mps2/an385
- qemu_cortex_a53
harness: console
sample:
name: CONFIG_MODULES test
description: Call code directly and from extensions
tests:
sample.llext.modules.module_build:
extra_configs:
- CONFIG_HELLO_WORLD_MODE=m
# Disabling MPU is the most compatible option. If the target supports
# CONFIG_USERSPACE, that should be preferred as it has many additional
# security benefits.
- arch:arm:CONFIG_ARM_MPU=n
- arch:arm:CONFIG_ARM_AARCH32_MMU=n
harness_config:
type: one_line
regex:
- "Hello, world, from an llext!"
sample.llext.modules.builtin_build:
harness_config:
type: one_line
regex:
- "Hello, world, from the main binary!"