zephyr/subsys/llext/Kconfig
Luca Burelli 2c7ea1dde5 llext: autoselect CACHE_MANAGEMENT on supported targets
Targets that have a data cache must enable CACHE_MANAGEMENT to allow the
llext API to flush it when loading an extension. This patch forces the
flag to be enabled when the target has a data cache.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
2023-12-13 15:22:07 +00:00

42 lines
1004 B
Plaintext

# Copyright (c) 2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
menuconfig LLEXT
bool "Linkable loadable extensions"
select CACHE_MANAGEMENT if DCACHE
help
Enable the linkable loadable extension subsystem
if LLEXT
config LLEXT_HEAP_SIZE
int "llext heap memory size in kilobytes"
default 8
help
Heap size in kilobytes available to llext for dynamic allocation
config LLEXT_SHELL
bool "llext shell commands"
depends on SHELL
help
Manage llext with shell commands for loading, unloading, and introspection
config LLEXT_SHELL_MAX_SIZE
int "Maximum size of llext in bytes"
depends on LLEXT_SHELL
default 8192
help
When loading llext with shell it is stored in a temporary buffer of this size
config LLEXT_STORAGE_WRITABLE
bool "llext storage is writable"
help
Select if LLEXT storage is writable, i.e. if extensions are stored in
RAM and can be modified in place
module = LLEXT
module-str = llext
source "subsys/logging/Kconfig.template.log_config"
endif