Home
last modified time | relevance | path

Searched +full:llext +full:- +full:edk (Results 1 – 20 of 20) sorted by relevance

/Zephyr-latest/subsys/llext/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
4 menuconfig LLEXT config
12 if LLEXT
15 prompt "Binary object type for llext"
20 Object type for llext
27 llext subsystem. A single compiler invocation is used to
28 generate the object file. Currently not supported on RISC-V.
34 binary object type for the llext subsystem. These object files
42 the llext subsystem. The usual linking process is used to
48 int "llext heap memory size in kilobytes"
[all …]
/Zephyr-latest/samples/subsys/llext/edk/
DREADME.rst1 .. zephyr:code-sample:: llext-edk
2 :name: Linkable loadable extensions EDK
3 :relevant-api: llext_apis
6 LLEXT EDK (Extension Development Kit).
11 This sample demonstrates how to use the Zephyr LLEXT EDK (Extension Development
26 providing some level of isolation - although the kernel one still has access
29 Note that the kernel extension is only available when the EDK is built with
33 The application is built using the Zephyr build system. The EDK is built using
34 the Zephyr build system as well, via ``llext-edk`` target. The EDK is then
38 during build time, which is not really practical. This sample is about the EDK
[all …]
/Zephyr-latest/samples/subsys/llext/edk/app/
Dsample.yaml3 - llext
4 - edk
6 - arm
9 description: EDK sample application
10 name: EDK sample application
12 sample.edk.app:
15 - edk
16 - llext
/Zephyr-latest/tests/misc/llext-edk/pytest/
Dtest_edk.py3 # SPDX-License-Identifier: Apache-2.0
30 # Can we build the edk?
34 "-b",
36 "-t",
37 "llext-edk",
38 "--build-dir",
44 # Install the edk to a temporary location
46 # Copy the edk to the temporary directory using python methods
47 logger.debug(f"Copying llext-edk.tar.xz to {tempdir}")
48 edk_path = Path(unlaunched_dut.device_config.build_dir) / "zephyr/llext-edk.tar.xz"
[all …]
/Zephyr-latest/doc/services/llext/
Dbuild.rst4 The LLEXT subsystem allows for the creation of extensions that can be loaded
19 application. This can be done using the `LLEXT Extension Development Kit
32 ----------------------
39 .. code-block:: cmake
43 OUTPUT <ext_file.llext>
49 - ``<target_name>`` is the name of the final CMake target that will result in
50 the LLEXT binary being created;
51 - ``<ext_file.llext>`` is the name of the output file that will contain the
53 - ``<src1> [<src2>...]`` is the list of source files that will be compiled to
79 --------------------------
[all …]
Dconfig.rst4 The following Kconfig options are available for the LLEXT subsystem:
9 ----------
11 The LLEXT subsystem needs a static heap to be allocated for extension related
16 Size of the LLEXT heap in kilobytes.
27 ---------------
29 The LLEXT subsystem supports loading different types of extensions; the type
34 Build and expect relocatable files as binary object type for the LLEXT
41 object type for the LLEXT subsystem. These object files are generated
46 Build and expect shared libraries as binary object type for the LLEXT
57 --------------------
[all …]
/Zephyr-latest/cmake/
Dllext-edk.cmake2 # SPDX-License-Identifier: Apache-2.0
5 # build an llext extension. It does so by copying all headers accessible from
16 # - cmake application source-dir
17 # - cmake board name
18 # - cmake board qualifiers
19 # - cmake board revision
20 # - cmake llext-edk cflags
21 # - cmake llext-edk file
22 # - cmake llext-edk include-dirs
23 # - west topdir
[all …]
/Zephyr-latest/samples/subsys/llext/edk/ext2/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
11 # Include EDK CFLAGS
18 set(CMAKE_C_FLAGS ${LLEXT_CFLAGS} "-c")
22 ${PROJECT_BINARY_DIR}/${PROJECT_NAME}.llext
25 -o ${PROJECT_BINARY_DIR}/${PROJECT_NAME}.llext
27 COMMAND xxd -ip ${PROJECT_NAME}.llext
31 add_custom_target(ext2 ALL DEPENDS ${PROJECT_BINARY_DIR}/ext2.llext)
/Zephyr-latest/samples/subsys/llext/edk/ext1/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
11 # Include EDK CFLAGS
19 add_compile_options("-c")
26 ${PROJECT_BINARY_DIR}/${PROJECT_NAME}.llext
29 -o ${PROJECT_BINARY_DIR}/${PROJECT_NAME}.llext
31 COMMAND xxd -ip ${PROJECT_NAME}.llext
35 add_custom_target(ext1 ALL DEPENDS ${PROJECT_BINARY_DIR}/ext1.llext)
/Zephyr-latest/samples/subsys/llext/edk/ext3/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
11 # Include EDK CFLAGS
19 add_compile_options("-c")
26 ${PROJECT_BINARY_DIR}/${PROJECT_NAME}.llext
29 -o ${PROJECT_BINARY_DIR}/${PROJECT_NAME}.llext
31 COMMAND xxd -ip ${PROJECT_NAME}.llext
35 add_custom_target(ext3 ALL DEPENDS ${PROJECT_BINARY_DIR}/ext3.llext)
/Zephyr-latest/samples/subsys/llext/edk/k-ext1/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
11 # Include EDK CFLAGS
19 add_compile_options("-c")
26 ${PROJECT_BINARY_DIR}/${PROJECT_NAME}.llext
29 -o ${PROJECT_BINARY_DIR}/${PROJECT_NAME}.llext
31 COMMAND xxd -ip ${PROJECT_NAME}.llext
35 add_custom_target(kext1 ALL DEPENDS ${PROJECT_BINARY_DIR}/kext1.llext)
/Zephyr-latest/cmake/usage/
Dusage.cmake1 # SPDX-License-Identifier: Apache-2.0
8 set(verbose "-v")
14 message(" clean - Remove most generated files but keep configuration and backup files")
15 message(" pristine - Remove all files in the build directory")
18 message(" menuconfig - Update .config using a console-based interface")
19 message(" guiconfig - Update .config using a graphical interface")
22 message(" all - Build a zephyr application")
23 message(" run - Build a zephyr application and run it if the board supports emulation")
24 message(" flash - Run \"west flash\"")
25 message(" debug - Run \"west debug\"")
[all …]
/Zephyr-latest/samples/subsys/llext/edk/app/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/llext/llext.h>
10 #include <zephyr/llext/buf_loader.h>
18 * EDK. If others are not built, this will just fail.
24 # pragma message "Extension 1 not built, assuming EDK build."
40 #include "../../k-ext1/build/kext1.inc"
66 struct llext *ext;
70 static const void * const load(const char *name, struct llext **ext, void *buf, in load()
80 return llext_find_sym(&(*ext)->exp_tab, "start"); in load()
86 static void unload(struct llext **ext) in unload()
[all …]
/Zephyr-latest/samples/subsys/llext/shell_loader/
DREADME.rst1 .. zephyr:code-sample:: llext-shell-loader
3 :relevant-api: llext_apis
10 This example provides shell access to the :ref:`llext` system and provides the
16 A board with a supported LLEXT architecture and shell capable console. The
18 to any LLEXT-supported target.
25 .. zephyr-app-commands::
26 :zephyr-app: samples/subsys/llext/shell_loader
35 :zephyr_file:`tests/subsys/llext/no_mem_protection.conf`.
38 :zephyr_file:`samples/subsys/llext/shell_loader/hello_world.c`, which can be
39 used to test the LLEXT features.
[all …]
/Zephyr-latest/scripts/schemas/
Dbuild-schema.yml1 # SPDX-License-Identifier: Apache-2.0
18 source-dir:
20 configuration-dir:
35 - type: str
42 - type: str
43 user-files:
46 - type: str
47 extra-user-files:
50 - type: str
51 include-dirs:
[all …]
/Zephyr-latest/
DCMakeLists.txt1 # SPDX-License-Identifier: Apache-2.0
5 # Note that this is *NOT* the top-level CMakeLists.txt. That's in the
26 # and https://cmake.org/pipermail/cmake/2019-May/thread.html#69496
36 # -fmacro-prefix-map=${ZEPHYR_BASE}=
57 # - device dependencies structs must be generated (CONFIG_DEVICE_DEPS=y)
58 # - ISR tables must be generated (CONFIG_GEN_ISR_TABLES=y)
59 # - Kernel objects hash tables (CONFIG_USERSPACE=y)
60 # - Application memory partitions (CONFIG_USERSPACE=y)
66 # - zephyr_pre0: linker sections may resize / addresses may relocate
67 # - zephyr_pre1: All linker section sizes are fixed, addresses cannot change
[all …]
DMAINTAINERS.yml45 # files-regex:
56 # files-exclude:
59 # files-regex-exclude:
60 # Like 'files-regex', but any matching files will be excluded from the
63 # description: >-
64 # Plain-English description. Describe what the system is about, from an
68 # All areas must have a 'files' and/or 'files-regex' key. The other keys are
72 # this would be sub-areas which add extra fields (for ex. more `collaborators`
73 # who work only in that sub-area) to other areas.
98 # Collaborators: <list of sub-maintainers>
[all …]
D.ruff-excludes.toml1 # SPDX-License-Identifier: Apache-2.0
6 [lint.per-file-ignores]
8 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
9 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
12 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
13 "UP030", # https://docs.astral.sh/ruff/rules/format-literals
14 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
17 "I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
18 "UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
19 "UP034", # https://docs.astral.sh/ruff/rules/extraneous-parentheses
[all …]
/Zephyr-latest/cmake/modules/
Dextensions.cmake1 # SPDX-License-Identifier: Apache-2.0
14 # 1. Zephyr-aware extensions
21 # 2. Kconfig-aware extensions
23 # 3. CMake-generic extensions
37 # 7 Linkable loadable extensions (llext)
40 # 7.3 llext helper functions
44 # 1. Zephyr-aware extensions
49 # "zephyr". zephyr is a catch-all CMake library for source files that
52 # [0] https://cmake.org/cmake/help/latest/manual/cmake-buildsystem.7.html
66 # As a very high-level introduction here are two call graphs that are
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-3.7.rst10 This release is the last non-maintenance 3.x release and, as such, will be the next
18 * A long-awaited :ref:`HTTP Server <http_server_interface>` library, and associated service API,
21 * :ref:`POSIX support <posix_support>` has been extended, with most Options of the IEEE 1003-2017
25 * Bluetooth Host has been extended with support for the Nordic UART Service (NUS), Hands-free Audio
29 :ref:`read-then-decode approach <sensor-read-and-decode>` that enables more types of sensors and
31 * A new :ref:`LLEXT Extension Developer Kit (EDK) <llext_build_edk>` makes it easier to develop and
35 * Trusted Firmware-M (TF-M) 2.1.0 and Mbed TLS 3.6.0 have been integrated into Zephyr.
39 1588) allows to synchronize time across devices with sub-microsecond accuracy.
52 * 1-Wire
64 * Added support for Linkable Loadable Extensions (LLEXT).
[all …]