Skip to content

Commit 6f3da40

Browse files
committed
fixed external platform crash due to device instance info
1 parent 91bf33f commit 6f3da40

File tree

1 file changed

+2
-0
lines changed
  • examples/common/external_platform

1 file changed

+2
-0
lines changed

examples/common/external_platform/BUILD.gn

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ declare_args() {
2121
# By default use default/example implementation of CommissionableDataProvider,
2222
# DeviceAttestationCredentialsProvider and DeviceInstanceInfoProvider
2323
chip_use_transitional_commissionable_data_provider = true
24+
chip_use_transitional_device_instance_info_provider = true
2425
chip_use_factory_data_provider = false
2526
chip_use_device_info_provider = false
2627
chip_config_software_version_number = 0
@@ -48,6 +49,7 @@ buildconfig_header("custom_buildconfig") {
4849
"CHIP_DEVICE_LAYER_TARGET_ESP32=1",
4950
"CHIP_DEVICE_LAYER_TARGET=ESP32_custom",
5051
"CHIP_USE_TRANSITIONAL_COMMISSIONABLE_DATA_PROVIDER=1",
52+
"CHIP_USE_TRANSITIONAL_DEVICE_INSTANCE_INFO_PROVIDER=1",
5153
"BLE_PLATFORM_CONFIG_INCLUDE=<platform/ESP32_custom/BlePlatformConfig.h>",
5254
"CHIP_DEVICE_PLATFORM_CONFIG_INCLUDE=<platform/ESP32_custom/CHIPDevicePlatformConfig.h>",
5355
"CHIP_PLATFORM_CONFIG_INCLUDE=<platform/ESP32_custom/CHIPPlatformConfig.h>",

0 commit comments

Comments
 (0)