2024-06-08 01:10:55 +08:00
|
|
|
common:
|
|
|
|
tags: llext
|
2024-08-28 16:55:07 +08:00
|
|
|
platform_allow:
|
2024-06-19 01:08:35 +08:00
|
|
|
- qemu_cortex_a9 # ARM Cortex-A9 (ARMv7-A ISA)
|
|
|
|
- qemu_cortex_r5 # ARM Cortex-R5 (ARMv7-R ISA)
|
2024-09-04 01:49:39 +08:00
|
|
|
- qemu_cortex_a53 # ARM Cortex-A53 (ARMv8-A ISA)
|
2024-06-19 01:08:35 +08:00
|
|
|
- mps2/an385 # ARM Cortex-M3 (ARMv7-M ISA)
|
|
|
|
- mps2/an521/cpu0 # ARM Cortex-M33 (ARMv8-M ISA)
|
2024-06-13 01:01:28 +08:00
|
|
|
- qemu_xtensa/dc233c
|
2024-08-28 16:55:07 +08:00
|
|
|
integration_platforms:
|
2024-06-13 01:01:28 +08:00
|
|
|
- qemu_xtensa/dc233c
|
2024-08-28 16:55:07 +08:00
|
|
|
- mps2/an385
|
2024-09-04 01:49:39 +08:00
|
|
|
- qemu_cortex_a53
|
2024-06-08 01:10:55 +08:00
|
|
|
harness: console
|
2024-06-19 01:08:35 +08:00
|
|
|
|
2024-06-08 01:10:55 +08:00
|
|
|
sample:
|
|
|
|
name: CONFIG_MODULES test
|
|
|
|
description: Call code directly and from extensions
|
2024-06-19 01:08:35 +08:00
|
|
|
|
2024-06-08 01:10:55 +08:00
|
|
|
tests:
|
|
|
|
sample.llext.modules.module_build:
|
|
|
|
extra_configs:
|
2024-08-28 00:00:24 +08:00
|
|
|
- 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.
|
2024-06-08 01:10:55 +08:00
|
|
|
- arch:arm:CONFIG_ARM_MPU=n
|
2024-06-19 01:08:35 +08:00
|
|
|
- arch:arm:CONFIG_ARM_AARCH32_MMU=n
|
2024-06-08 01:10:55 +08:00
|
|
|
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!"
|