Build matter sample FAILED on newest NCS SDK 2.7.0

Hi,

In VS code,

I created a new application by "copy a sample", the path is C:\ncs\v2.7.0\projects\light_bulb, and the build process failed.

But the build process is successful if I build the sample directly in the original folder C:\ncs\v2.7.0\nrf\samples\matter\light_bulb.

This build problem does not happen on SDK 2.6.1.

Best regards,

Aaron Deng

Parents Reply Children
  • Hi Charlie,

    Thank you for the response,
    After checking the option 'sysbuild', the build process is successful.


    Another question, where is the boundary of SDK?
    My project is located at "ncs\v2.7.0\projects", is it outside the SDK?

  • I do not think so. You can verify sysbuild from building log, "sysbuild_default" is the keyword when sysbuild is used.

    Building matter_lock
    west build --build-dir /opt/nordic/ncs/v2.7.0/nrf/matter_lock/build /opt/nordic/ncs/v2.7.0/nrf/matter_lock --pristine --board nrf5340dk/nrf5340/cpuapp -- -DNCS_TOOLCHAIN_VERSION=NONE
    -- west build: generating a build system
    Loading Zephyr module(s) (Zephyr base): sysbuild_default
    -- Found Python3: /opt/nordic/ncs/toolchains/f8037e9b83/opt/[email protected]/bin/python3.9 (found suitable version "3.9.6", minimum required is "3.8") found components: Interpreter 
    -- Cache files will be written to: /Users/cs/Library/Caches/zephyr

    I think inside the SDK means nrf folder. You can find the following definition in nrf/CMakeLists.txt

    zephyr_get(NCS_RUNNER_${runner_ext} SYSBUILD)
    Best regards,
    Charlie
Related