Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llext: Use relocatable by default for xtensa #85190

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions subsys/llext/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ if LLEXT
choice LLEXT_BINARY_TYPE
prompt "Binary object type for llext"
default LLEXT_TYPE_ELF_OBJECT if ARM || ARM64
default LLEXT_TYPE_ELF_SHAREDLIB if XTENSA
default LLEXT_TYPE_ELF_RELOCATABLE if RISCV
default LLEXT_TYPE_ELF_RELOCATABLE if XTENSA || RISCV
help
Object type for llext

Expand Down
12 changes: 12 additions & 0 deletions tests/subsys/llext/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,18 @@ tests:
extra_conf_files: ['no_mem_protection.conf']
extra_configs:
- CONFIG_LLEXT_STORAGE_WRITABLE=y
llext.writable_dynamic:
arch_allow:
- xtensa
toolchain_exclude:
- xt-clang
integration_platforms:
- qemu_xtensa/dc233c # Xtensa ISA
filter: not CONFIG_MPU and not CONFIG_MMU
extra_conf_files: ['no_mem_protection.conf']
extra_configs:
- CONFIG_LLEXT_STORAGE_WRITABLE=y
- CONFIG_LLEXT_TYPE_ELF_SHAREDLIB=y
llext.writable_relocatable:
arch_allow:
- arm
Expand Down
Loading