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

Matter: Pre Compiled Examples

Hi,

I am trying to work on Matter light examples and tried to flash the firmware as it came. However, I am getting this error:

"[m[Kopening dependency file D:/WorkSpace/xxxxx/Nordic/NCS/v1.6.0-rc2/nrf/samples/matter/light_bulb/build_nrf52840dk_nrf52840/modules\nrfxlib\nrfxlib\nrf_security\src\mbedtls\CMakeFiles\mbedcrypto_base_vanilla.dir\D_\WorkSpace\xxxxx\Nordic\NCS\v1.6.0-rc2\mbedtls\library\psa_crypto_slot_management.c.obj.d: No such file or directory"

NCS Version: 1.6.0-rc2

Board: 52840-DK

Toolchain: 1.6.0

I just installed the NCS using the nRFConnect Windows application. May I know what's causing this and how to fix it?

  • Hi Karl,

    Could you also try this again in ncs v.1.5.1? 1.6 is still only a release candidate, and 1.5.1 is the latest sdk version that we still recommend that you use.

    unfortunately, Matter samples aren't available in NCS 1.5.1.

    Could you also confirm for me that you have the "Clean directory" option set, when opening the example?

    After doing this, the error changed to: "Error starting process modules\nrfxlib\nrfxlib\nrf_security\src\CMakeFiles\mbedcrypto.dir\post-build.bat".

    I tried running this batch file using the command prompt and was unsuccessful.

    However, opening the same from the file explorer, I could run this file. Although the command prompt, as expected, closed rather quickly before I could take a screenshot.

    I also tried installing NCS in a different laptop and have the exact same error. This answer from DevZone says it may be something related to unsupported characters in the path. However, I couldn't find anything weird in this path: "D:\Test\v1.6.0-rc2\nrf\samples\matter\light_switch\build_nrf52840dk_nrf52840\modules\nrfxlib\nrfxlib\nrf_security\src\CMakeFiles\mbedcrypto.dir"

    I'm starting to think that there may be some problem with the path setting in the project options. Would you like me to change any variables under project options?

  • Hello,

    tejaChintalapati said:
    unfortunately, Matter samples aren't available in NCS 1.5.1.

    My apologies, I should have been more explicit here. In NCS 1.5.1 the matter examples are located in the connectedhomeip sample folder : v1.5.1\nrf\samples\connectedhomeip
    The project's name change to Matter happened in the time after the release of v1.5, which is why it in v1.5 still uses the old name.
    Please try the same example in v1.5.1, located in \connectedhomeip and let me know if you then face the same issue.

    If the issue persists is v1.5.1 I will request an internal examination of this by our Matter development team.

    Best regards,
    Karl

  • Hi Karl,

    Please try the same example in v1.5.1, located in \connectedhomeip and let me know if you then face the same issue.

    Samples in NCS 1.5.1 compiled without a hitch!

    Are there any additions/subtractions in features/functionality from 1.5.1 to 1.6-RC2 for matter examples?

    Shall I wait for 1.6 to come and revisit this issue then?

  • tejaChintalapati said:
    Samples in NCS 1.5.1 compiled without a hitch!

    Great, I am happy to hear that!

    tejaChintalapati said:

    Are there any additions/subtractions in features/functionality from 1.5.1 to 1.6-RC2 for matter examples?

    Shall I wait for 1.6 to come and revisit this issue then?

    There are some general changes to the Matter framework inherited from the upstream Matter repository, which you can read about in the v1.6 Release notes. To my knowledge there is no difference in the application examples directly, so you may just as well begin developing your firmware with v1.5.1 and then upgrade to v1.6 once that releases.

    Best regards,
    Karl

  • you may just as well begin developing your firmware with v1.5.1 and then upgrade to v1.6 once that releases.

    Fantastic! I'll just get started with this and get my hands dirty.

    Thanks for the help, Karl. Appreciate it. Slight smile

Related