I am currently trying to get LLEXTs to work on the nRF5340 Audio DK. I was able to compile an llext and load it successfully, using the cmake features, However, I would like to build the extension separately and therefore need the llext-edk to work. I tried building my app as well as the edk example with both NCS 2.9 and the NCS 3.0 preview. Both are building the app just fine, but when I call west build -t llext-edk
, I get the following error:
-- west build: running target llext-edk ninja: error: unknown target 'llext-edk' FATAL ERROR: command exited with status 1: /opt/homebrew/bin/cmake --build /EmbeddedApps/EmbeddedAppsPoC/build --target llext-edk
I also tried to build for the qemu_cortex_r5 board just like in the example, but that didn't change anything. In my app I enabled LLEXT like this in the prj.conf:
CONFIG_LLEXT=y
CONFIG_LLEXT_HEAP_SIZE=256
CONFIG_LLEXT_TYPE_ELF_OBJECT=y
Is the llext-edk even supported at this moment as the documentation and the example suggest? Any help is greatly appreciated. Thanks in advance