Compilation not possible with Occupancy cluster enabled (Matter)

Hi,

I am working with the Matter Light Bulb sample. I have come across a problem where I can not compile my firmware if I implement the occupancy sensor cluster using the ZAP-Tool.

When I toggle this option to enabled, the compilation fails.

This is the error I receive:

/home/install/ncs/toolchains/7795df4459/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: app/libapp.a(util.cpp.obj): in function `emberAfInit()':
/home/install/ncs/v2.5.0/modules/lib/matter/src/app/util/util.cpp:111: undefined reference to `MatterOccupancySensingPluginServerInitCallback()'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /home/install/ncs/toolchains/7795df4459/usr/local/bin/cmake --build /home/install/nrf_apps/light_bulb_2.5.0/build

For me this error was reproducible on both the 2.5.0 and the 2.6.0 SDK in the same way, even after reinstalling. I am building for a nrf52840-DK

Do I need to implement any callbacks before I can compile this cluster? I tried with the temperature cluster and it compiled without any problems.

I appreciate the help.

Parents Reply Children
No Data
Related