Skip to content

Commit e0fbbd3

Browse files
[nrf toup][nrfconnect] Fix building with custom factory data impl
Include the implementation of the GenericDeviceInstanceInfoProvider class in the nRFConnect's DeviceInstanceInfoProviderImpl.cpp file in case of using a custom factory data provider. Signed-off-by: Arkadiusz Balys <[email protected]>
1 parent 9704f6b commit e0fbbd3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/platform/nrfconnect/DeviceInstanceInfoProviderImpl.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@
1919
#include "DeviceInstanceInfoProviderImpl.h"
2020
#include <lib/support/BytesToHex.h>
2121

22+
// Include the implementation of the GenericDeviceInstanceInfoProvider class in the file in case of using a custom
23+
// factory data provider.
24+
#if defined(CONFIG_CHIP_FACTORY_DATA_CUSTOM_BACKEND)
25+
#include <platform/internal/GenericDeviceInstanceInfoProvider.ipp>
26+
#endif
27+
2228
namespace chip {
2329
namespace DeviceLayer {
2430

0 commit comments

Comments
 (0)