This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Using nrfxlib in cmake project.

Hi,

I was try to import modul nrfxlib in extising cmake project. My IDE is Eclipse CDT. Version of Zephyr is 2.4.0. Reason to do that, was testing SoftDevice BLE functionality.

I was import library as ZEPHYR_MODULE and select SoftDevice with CONFIG_BT_LL_SOFTDEVICE_DEFAULT=y. While compile everything is Ok. But linker does not found "bt_rand", and "bt_encrypt_le" functions.

What must be also enabled this this functions will be compiled?

If I disable CONFIG_BT_LL_SOFTDEVICE_DEFAULT everything is Ok.

Thanks in advance.

Parents Reply
  • Hi,

    I'm using cmake for build system. And as I know NCS use west in front of cmake. West is not compatible with Eclipse CDT.

    I could try to do, but I'm prepare with your help to import nrfxlib into clasic Zephyr project. I think most of users will like that.

    I can send you prj.conf file and CMakeList.txt file.

    I'm also discover that CONFIG_NORDIC_SECURITY_BACKEND must be enabled. But then MbedTLS module must be included. And here is another problem. Nrfxlib could not find mbedtls modul. It will be nice and more transparent that Zephyr moduls is used for nrfxlib.

    Best regards,

    Robert 

Children
Related