You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: getting_started/loadable_modules/lmdk_user_guide.rst
+84-3Lines changed: 84 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,86 @@ What is LMDK
8
8
9
9
LMDK(Loadable Module Development Kit) is a standalone package required to build loadable module. It is independent from SOF FW but contains necessary data structures to interact with it.
Latest headers pack is being deployed with FW and its versioning is keept in sof\src\include\module\module\api_ver.h . Every change in headers must be marked in that header(todo: automation).
16
+
Creating deployment header pack is done by calling:
17
+
18
+
.. code-block:: bash
19
+
20
+
$ python scripts/lmdk/header_pack.py
21
+
22
+
These headers should be extracted in include directory of lmdk with the same include path as it is in the sof project.
Good example how to prepare module for using lmdk exported headers is included dummy module.
41
+
42
+
How to prepare MODULE to be loadable
43
+
************************************
44
+
45
+
Loadable modules are using functions provided by native_system_services which are narrowed to only neccesary and safe functions. For example all dynamic allocations are done on strict size local heap_mem
0 commit comments