Building llext-edk with NCS 2.9 and 3.0 failing due to unknown target "llext-edk"

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

Parents
  • Hi,

    This feature is very much Zephyr and very little Nordic so I don't know how much support there is for using it with Nordic devices other than it existing in the downstream fork of Zephyr that we have in the SDK.

    Could you try to see if you're able to compile and run the steps using standalone Zephyr upstream?

    You might also want to investigate the Zephyr discord forums and see if there's any other users who's been testing LLEXT with Nordic and Non-nordic devices. Searches on the Devzone forums results in very few hits at least. 

    Kind regards,
    Andreas

Reply
  • Hi,

    This feature is very much Zephyr and very little Nordic so I don't know how much support there is for using it with Nordic devices other than it existing in the downstream fork of Zephyr that we have in the SDK.

    Could you try to see if you're able to compile and run the steps using standalone Zephyr upstream?

    You might also want to investigate the Zephyr discord forums and see if there's any other users who's been testing LLEXT with Nordic and Non-nordic devices. Searches on the Devzone forums results in very few hits at least. 

    Kind regards,
    Andreas

Children
No Data
Related