Issues compiling DECT NR+ examples for evaluation

I've tried to compile "hello_dect" example using v2.6.1 toolchain and v2.7.0-rc-2 SDK. The sample code is present so I assume the SDK is correct version.

However it fails with this error:

fatal error: nrf_modem_dect_phy.h: No such file or directory


File is present in filesystem, I am using NRF Connect Desktop on Windows with VSCode. Tried reinstalling with cleaning J-link installation, appdata content etc but the issue still persists. Other samples doesn't use any custom settings in CMakeLissts so I assume  nrf_modem_dect_phy.h should be passed in include path to the compiler out of the box.

What am I doing wrong and what are possible solutions? I have option to run linux version of tools via WSL but not sure about USB support there.

Parents
  • Hi

    Using the NCS v2.6.1. toolchain with a 2.7.0-rc version of the SDK won't fly I'm afraid, and is very likely why you're seeing this issue. I'm afraid you need the toolchain to match the major version of the NCS you're using.

    Best regards,

    Simon

  • Managed to install both 2.7.0-rc2 SDK and toolchain, made pristine build but the issue persists


    C:/ncs/v2.7.0-rc2/nrf/samples/dect/dect_phy/hello_dect/src/main.c:9:10: fatal error: nrf_modem_dect_phy.h: No such file or directory
        9 | #include <nrf_modem_dect_phy.h>
          |          ^~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    [23/105] Building C object zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.7.0-rc2-2/nrfxlib/crypto/nrf_cc310_platform/src/nrf_cc3xx_platform_mutex_zephyr.c.obj
    ninja: build stopped: subcommand failed.

Reply
  • Managed to install both 2.7.0-rc2 SDK and toolchain, made pristine build but the issue persists


    C:/ncs/v2.7.0-rc2/nrf/samples/dect/dect_phy/hello_dect/src/main.c:9:10: fatal error: nrf_modem_dect_phy.h: No such file or directory
        9 | #include <nrf_modem_dect_phy.h>
          |          ^~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    [23/105] Building C object zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.7.0-rc2-2/nrfxlib/crypto/nrf_cc310_platform/src/nrf_cc3xx_platform_mutex_zephyr.c.obj
    ninja: build stopped: subcommand failed.

Children
No Data
Related