Hi, I have reviewed the light_bulb app code in NCS2.8.0(include src code/CMakeLists.txt/prj.conf and so on)。
But I can't find where the path of matter is included, could you please tell me?
BR
Chuan
Hi, I have reviewed the light_bulb app code in NCS2.8.0(include src code/CMakeLists.txt/prj.conf and so on)。
But I can't find where the path of matter is included, could you please tell me?
BR
Chuan
Hi,
SDK_PATH/modules/lib/matter/
Here https://github.com/nrfconnect/sdk-connectedhomeip is stored.
Regards,
Sigurd Hellesvik
Hi,
SDK_PATH/modules/lib/matter/
Here https://github.com/nrfconnect/sdk-connectedhomeip is stored.
Regards,
Sigurd Hellesvik
Yes, I have found it, but I don't know how the project(ex: light_bulb) include the matter path, Could you answer this question?
That is an unusual question. Maybe it helps for me to know the context. What are you trying to do that makes you need this path?
I want to create a project in NCS2.8.0, while my cmake file as blow:
cmake_minimum_required(VERSION 3.13.1) # Set Zephyr project find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(my_matter_project) # Set Matter SDK path set(MATTER_SDK_DIR /path/to/matter) # Include Matter CMake file include(${MATTER_SDK_DIR}/config/nrfconnect/app/CMakeLists.txt) # Add source file target_sources(app PRIVATE src/main.c)
But when I build this demo, it popup "undefined CONFIG_CHIP", so I think I have not add matter code to my project.
Could you give me some help? thx
BR
Chuan
Our Matter samples does not use this cmake file, so I do not think it is generally needed for Matter. You see they enable CONFIG_CHIP in prj.conf.
If you still want to set this MATTER_SDK_DIR we can try to make that work?
Just one thing first: I cannot find the CMakeLists.txt file you are referring to: https://github.com/nrfconnect/sdk-connectedhomeip/tree/master/config/nrfconnect/app.