82 lines
2.4 KiB
YAML
82 lines
2.4 KiB
YAML
common:
|
|
tags: llext
|
|
arch_allow:
|
|
- arm
|
|
- xtensa
|
|
platform_exclude:
|
|
- numaker_pfm_m487 # See #63167
|
|
- qemu_cortex_r5 # unsupported relocations
|
|
|
|
tests:
|
|
# While there is in practice no value in compiling subsys/llext/*.c
|
|
# without actually running it to load some extension, let's keep it in
|
|
# good shape and ready to be used by additional architectures in the
|
|
# future.
|
|
llext.simple.loader_build:
|
|
build_only: true
|
|
# How to override the above and allow ANY arch?
|
|
arch_allow: arm arm64 x86 x86_64 xtensa posix
|
|
|
|
llext.simple.readonly:
|
|
arch_exclude: xtensa # for now
|
|
filter: not CONFIG_MPU and not CONFIG_MMU and not CONFIG_SOC_SERIES_S32ZE
|
|
extra_configs:
|
|
- arch:arm:CONFIG_ARM_MPU=n
|
|
- CONFIG_LLEXT_STORAGE_WRITABLE=n
|
|
llext.simple.readonly_mpu:
|
|
min_ram: 128
|
|
arch_exclude: xtensa # for now
|
|
filter: CONFIG_ARCH_HAS_USERSPACE
|
|
extra_configs:
|
|
- CONFIG_USERSPACE=y
|
|
- CONFIG_LLEXT_STORAGE_WRITABLE=n
|
|
llext.simple.writable:
|
|
filter: not CONFIG_MPU and not CONFIG_MMU and not CONFIG_SOC_SERIES_S32ZE
|
|
extra_configs:
|
|
- arch:arm:CONFIG_ARM_MPU=n
|
|
- CONFIG_LLEXT_STORAGE_WRITABLE=y
|
|
llext.simple.modules_enabled_writable:
|
|
filter: not CONFIG_MPU and not CONFIG_MMU
|
|
platform_key:
|
|
- simulation
|
|
- arch
|
|
platform_exclude:
|
|
- qemu_cortex_a9 # MMU
|
|
extra_configs:
|
|
- arch:arm:CONFIG_ARM_MPU=n
|
|
- CONFIG_MODULES=y
|
|
- CONFIG_LLEXT_STORAGE_WRITABLE=y
|
|
- CONFIG_LLEXT_TEST_HELLO=m
|
|
llext.simple.modules_enabled_writable_relocatable:
|
|
arch_exclude: arm arm64
|
|
filter: not CONFIG_MPU and not CONFIG_MMU
|
|
integration_platforms:
|
|
- qemu_xtensa
|
|
extra_configs:
|
|
- CONFIG_MODULES=y
|
|
- CONFIG_LLEXT_STORAGE_WRITABLE=y
|
|
- CONFIG_LLEXT_TYPE_ELF_RELOCATABLE=y
|
|
- CONFIG_LLEXT_TEST_HELLO=m
|
|
llext.simple.modules_enabled_readonly:
|
|
filter: not CONFIG_MPU and not CONFIG_MMU
|
|
arch_exclude: xtensa # for now
|
|
platform_key:
|
|
- simulation
|
|
- arch
|
|
platform_exclude:
|
|
- qemu_cortex_a9 # MMU
|
|
extra_configs:
|
|
- arch:arm:CONFIG_ARM_MPU=n
|
|
- CONFIG_MODULES=y
|
|
- CONFIG_LLEXT_TEST_HELLO=m
|
|
llext.simple.modules_enabled_readonly_mpu:
|
|
filter: CONFIG_ARCH_HAS_USERSPACE
|
|
arch_exclude: xtensa # for now
|
|
platform_key:
|
|
- simulation
|
|
- arch
|
|
extra_configs:
|
|
- CONFIG_USERSPACE=y
|
|
- CONFIG_MODULES=y
|
|
- CONFIG_LLEXT_TEST_HELLO=m
|