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