Hi Nordic Team,
I am using a matter lock sample code for my application development and modifying a sample lock application for power source cluster support for the matter lock application.
Changes: Enable serve and client for Power Source.
(1)
(2)
After above done two changes using zap tool and generated file.
When I compile code, got below error. Please suggest solution.
Board: nRF52840-DK
SDK: 2.7.0
Error:
d:/nrf_sdk/toolchains/ce3b5ff664/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(util.cpp.obj): in function `emberAfInit()':
D:/nRF_SDK/v2.7.0/modules/lib/matter/src/app/util/util.cpp:85: undefined reference to `MatterPowerSourcePluginServerInitCallback()'
D:/nRF_SDK/v2.7.0/modules/lib/matter/src/app/util/util.cpp:85: undefined reference to `MatterPowerSourcePluginServerInitCallback()'
Thanks,
Himansu