When I try to use factory partition for commissioning, I turned off 'Enable Test Setup Parameters' option. But during building, ninja make an error. Error contents is below. How can I resolve this ?
In file included from ../../../../../esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/include/platform/CHIPDeviceConfig.h:53,
from ../../../../../esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/include/platform/CHIPDeviceLayer.h:21,
from ../../../../../esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/include/platform/internal/CHIPDeviceLayerInternal.h:22,
from ../../../../../esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/platform/ESP32/ConnectivityManagerImpl.cpp:20:
../../../../../esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/platform/ESP32/CHIPDevicePlatformConfig.h:127:53: error: "CONFIG_ENABLE_TEST_SETUP_PARAMS" is not defined, evaluates to 0 [-Werror=undef]
127 | #define CHIP_DEVICE_CONFIG_ENABLE_TEST_SETUP_PARAMS CONFIG_ENABLE_TEST_SETUP_PARAMS
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../../esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/include/platform/CHIPDeviceConfig.h:1214:5: note: in expansion of macro 'CHIP_DEVICE_CONFIG_ENABLE_TEST_SETUP_PARAMS'
1214 | #if CHIP_DEVICE_CONFIG_ENABLE_TEST_SETUP_PARAMS
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: note: unrecognized command-line option '-Wno-unknown-warning-option' may have been intended to silence earlier diagnostics
cc1plus: all warnings being treated as errors
[27/203] c++ obj/third_party/connectedhomeip/src...tials/libCredentials.GroupDataProviderImpl.cpp.o
ninja: build stopped: subcommand failed.
ESP-MATTER light example - CONFIG_ENABLE_TEST_SETUP_PARAMS error
Who is online
Users browsing this forum: No registered users and 29 guests