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

1 .. 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
41 Zephyr application - even on different machines, using only the EDK. At the
43 different teams, using the EDK provided by the application developer.
45 Building the EDK
48 To build the EDK, use the ``llext-edk`` target. For example:
50 .. zephyr-app-commands::
51 :zephyr-app: samples/subsys/llext/edk/app
53 :goals: build llext-edk
54 :west-args: -p=always
57 Copy the EDK to some place and extract it:
59 .. code-block:: console
61 mkdir /tmp/edk
62 cp build/zephyr/llext-edk.tar.xz /tmp/edk
63 cd /tmp/edk
64 tar -xf llext-edk.tar.xz
68 .. code-block:: console
70 export LLEXT_EDK_INSTALL_DIR=/tmp/edk/llext-edk
72 This variable is used by the extensions to find the EDK.
80 .. code-block:: console
82 export ZEPHYR_SDK_INSTALL_DIR=</path/to/zephyr-sdk>
87 .. code-block:: console
89 cmake -B build
90 make -C build
95 .. code-block:: console
97 cmake -B build -DLLEXT_EDK_INSTALL_DIR=/tmp/edk/llext-edk
98 make -C build
105 .. zephyr-app-commands::
106 :zephyr-app: samples/subsys/llext/edk/app
109 :west-args: -p=always
114 .. code-block:: console
119 [k-ext1]Waiting sem
121 [k-ext1]Waiting event
133 [k-ext1]Got event, giving sem
134 [k-ext1]Got sem, reading channel
135 [k-ext1]Read val: 0
136 [k-ext1]Waiting sem