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

Error while building program: Light Switch Provisioner for Mesh Ble

Hello Everyone need some help

I am using nRF52840 board for mesh development and made use of Light Switch Example which contain Provisioner, Client and Server. I am getting the following error. I have mesh SDK version 2.2.0 and NRF5 SDK version 15.0 and 15.1

Parents Reply
  • Hi,

    I downloaded the nRF5 SDK v15.0.0 and the nRF5 SDK for Mesh v2.2.0.
    Then unzipped both to the same folder, as it seems you did.
    Tried the nrf5_SDK_for_Mesh_v2.2.0_src\examples\light_switch\provisioner\light_switch_provisioner_nrf52840_xxAA_s140_6.0.0.emProject example
    And it builds without issues.

    The only thing I can think of is if one or both of the SDKs have ended up inside an extra folder with the same name, so that the SDK files are located under:

    nRF\nRF5_SDK_15.0.0_a53641a\nRF5_SDK_15.0.0_a53641a\

    and under

    nRF\nrf5_SDK_for_Mesh_v2.2.0_src\nrf5_SDK_for_Mesh_v2.2.0_src\

    If that is the case, please move the SDK files and folders one level out, so that they read:

    nRF\nRF5_SDK_15.0.0_a53641a\components\
    nRF\nRF5_SDK_15.0.0_a53641a\config\
    nRF\nRF5_SDK_15.0.0_a53641a\documentation\
    etc.

    and

    nRF\nrf5_SDK_for_Mesh_v2.2.0_src\bin\
    nRF\nrf5_SDK_for_Mesh_v2.2.0_src\CMake\
    nRF\nrf5_SDK_for_Mesh_v2.2.0_src\doc\
    etc.

    Apart from that, I have no idea why the files are not found.

    Can you confirm this is the unchanged example from the SDK?
    What version of Segger Embedded Studio are you using?
    Do you still get the exact same error?

    Regards,
    Terje

Children
Related