nRF Studio (VC Code) don´t work with Matter Examples

I'm using nRF Studio Visual Studio Code. (SDK and Toolchain v.2.7.0) with the nRF7002 Development Kit.
The Blinky example have worked fine and also the other things as shown in the Video tutorials.

However, I am unable to generate a Matter example (LightBulb) on this basis, both under Windows and MacOS.
The same errors always occur: Kconfig warnings and Cmake errors. What's going wrong here? I ask for help.

  • Yes, I find that strange too. I use Chrome as a browser and the file is approx. 4.5 kByte in size.

  • The upload didn't work either (bad url). 
    I have now copied the two jpg files (screenshots)
    directly into the post, which apparently worked.
  • Okay, do you also get a CMake error below the "aborting due to Kconfig warnings" message in your log? The reason is that all these lines above seem to be malformed, and after a certain point the build will be aborted. You likely have some incorrect formatting in these. A space where it shouldn't be for example. Anything indicating as such if you open the Kconfig file on your end?

    You could also try building the sample in-tree instead of moving it outside to your own project space in case something wrong happened when generating the application. What is the full path to your application for example?

    Best regards,

    Simon

  • no, at this point I don't get a CMake error message. I'm wondering why the lines 
    are not correct (malformed), because after the correct bulid&flash of the Blinky example,
    I only loaded the Matter LightBulb example and apart from the new prj.conf file, I didn't
    click anything else and certainly didn't configure anything manually (kconfig..).

    Unfortunately, I don't understand what you mean by in-tree building instead of outside
    the project building. The project path is as shown in the screenshot (c:/nordicprogs/light_bulb). Thank you for your patience and support.
  • Try opening an existing example and choose the Matter Light Bulb application in the location where it is, so we can confirm that there's nothing wrong with the path you have, even though it seems short and correct. I built the sample at the following path without any issues on my end. C:\ncs\v2.7.0\nrf\samples\matter\light_bulb

    Can you also check which version of J-Link you have installed on your computer. J-Link v7.94i should be sufficient.

    Best regards,

    Simon

Related