Lines Matching +full:llext +full:- +full:edk

1 .. 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.
41 It can be compiled to :file:`build/hello_world.llext` using the Zephyr build
44 .. code-block:: console
46 $ ninja -C build -vvv hello_world_ext
48 On a host machine with the Zephyr SDK and the ``arm-zephyr-eabi`` toolchain in
51 .. code-block:: console
53 …$ arm-zephyr-eabi-gcc -mlong-calls -mthumb -c -o build/hello_world.llext samples/subsys/llext/shel…
57 LLEXT by default only imports symbols that have been explicitly exported by
60 :ref:`LLEXT EDK <llext_build_edk>`.
69 to a hex string usable by the ``llext load_hex`` shell command:
71 .. code-block:: console
73 $ arm-zephyr-eabi-objdump -r -d -x build/hello_world.llext
75 hello_world.elf: file format elf32-littlearm
140 $ xxd -p build/hello_world.llext | tr -d '\n'
146 found. At load time LLEXT replaces the values in the ``.text`` section with
154 All the LLEXT system related commands are available as sub-commands of
155 ``llext``, and can be seen with ``llext help``:
157 .. code-block:: console
159 uart:~$ llext help
160 llext - Loadable extension commands
175 .. code-block:: console
177 …uart:~$ llext load_hex hello_world 7f454c460101010000000000000000000100280001000000000000000000000…
183 .. code-block:: console
185 uart:~$ llext call_fn hello_world hello_world