Skip to content

Commit 434be86

Browse files
authored
Merge branch 'master' into ResolveLinker_ReenableCI
2 parents 8050bdc + 6434c50 commit 434be86

File tree

76 files changed

+23136
-6684
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+23136
-6684
lines changed

config/esp32/components/chip/CMakeLists.txt

+13
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,10 @@ if (CONFIG_SEC_CERT_DAC_PROVIDER)
260260
chip_gn_arg_append("chip_use_secure_cert_dac_provider" "true")
261261
endif()
262262

263+
if (CONFIG_ENABLE_ESP_INSIGHTS_TRACE)
264+
chip_gn_arg_append("matter_enable_esp_insights_trace" "true")
265+
endif()
266+
263267
if (CONFIG_USE_ESP32_ECDSA_PERIPHERAL)
264268
chip_gn_arg_append("chip_use_esp32_ecdsa_peripheral" "true")
265269
endif()
@@ -367,6 +371,10 @@ target_include_directories(${COMPONENT_LIB} INTERFACE
367371
"${CHIP_ROOT}/config/esp32/${CONFIG_CHIP_EXTERNAL_PLATFORM_DIR}/../../"
368372
)
369373

374+
if (CONFIG_ENABLE_ESP_INSIGHTS_TRACE)
375+
target_include_directories(${COMPONENT_LIB} INTERFACE "${CHIP_ROOT}/src/tracing/esp32_trace/include")
376+
endif()
377+
370378
idf_component_get_property(mbedtls_lib mbedtls COMPONENT_LIB)
371379

372380
idf_build_get_property(idf_target IDF_TARGET)
@@ -422,6 +430,11 @@ if (CONFIG_SEC_CERT_DAC_PROVIDER)
422430
list(APPEND chip_libraries $<TARGET_FILE:${esp32_secure_cert_mgr_lib}>)
423431
endif()
424432

433+
if (CONFIG_ENABLE_ESP_INSIGHTS_TRACE)
434+
idf_component_get_property(esp_insights_lib espressif__esp_insights COMPONENT_LIB)
435+
list(APPEND chip_libraries $<TARGET_FILE:${esp_insights_lib}>)
436+
endif()
437+
425438
idf_component_get_property(lwip_lib lwip COMPONENT_LIB)
426439
list(APPEND chip_libraries $<TARGET_FILE:${lwip_lib}>)
427440

config/esp32/components/chip/Kconfig

+9
Original file line numberDiff line numberDiff line change
@@ -798,6 +798,15 @@ menu "CHIP Device Layer"
798798
then this option gets enabled.
799799
Also, please disable ESP_SECURE_CERT_DS_PERIPHERAL from the menuconfig when this option is disabled
800800

801+
config ENABLE_ESP_INSIGHTS_TRACE
802+
bool "Enable Matter ESP Insights"
803+
depends on ESP_INSIGHTS_ENABLED
804+
default y
805+
help
806+
ESP Insights is a remote diagnostics solution to monitor the health of ESP devices in the field.
807+
Enabling the above option will enable the esp32 specific tracing functionality and report the
808+
diagnostic information to the insights cloud.
809+
801810
endmenu
802811

803812

config/esp32/components/chip/idf_component.yml

+4
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@ dependencies:
1515
version: "2.0.3"
1616
rules:
1717
- if: "idf_version >=4.4"
18+
19+
espressif/esp_insights:
20+
version: "1.0.1"
21+
require: public

examples/all-clusters-app/esp32/sdkconfig_m5stack_rpc.defaults

+2
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,5 @@ CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH=y
8080

8181
# to avoid dram overflow, reduce the critical loggin buffer to 1K
8282
CONFIG_EVENT_LOGGING_CRIT_BUFFER_SIZE=1024
83+
84+
CONFIG_DIAG_USE_EXTERNAL_LOG_WRAP=y

examples/all-clusters-minimal-app/esp32/sdkconfig_m5stack_rpc.defaults

+2
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,5 @@ CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH=y
8080

8181
# to avoid dram overflow, reduce the critical loggin buffer to 1K
8282
CONFIG_EVENT_LOGGING_CRIT_BUFFER_SIZE=1024
83+
84+
CONFIG_DIAG_USE_EXTERNAL_LOG_WRAP=y

examples/chef/esp32/sdkconfig_rpc.defaults

+2
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,5 @@ CONFIG_MBEDTLS_HKDF_C=y
6161

6262
# IRAM optimizations
6363
CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH=y
64+
65+
CONFIG_DIAG_USE_EXTERNAL_LOG_WRAP=y

examples/chip-tool/py_matter_chip_tool_adapter/matter_chip_tool_adapter/encoder.py

+2
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,8 @@ def __get_arguments(self, request):
284284
arguments, request.min_interval, "min-interval")
285285
arguments = self.__maybe_add(
286286
arguments, request.max_interval, "max-interval")
287+
arguments = self.__maybe_add(
288+
arguments, request.keep_subscriptions, "keepSubscriptions")
287289
arguments = self.__maybe_add(arguments, request.timed_interaction_timeout_ms,
288290
"timedInteractionTimeoutMs")
289291
arguments = self.__maybe_add(

examples/chip-tool/templates/commands.zapt

+11-4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
#include <type_traits>
88

99
#include <app-common/zap-generated/cluster-objects.h>
10+
#include <app-common/zap-generated/ids/Clusters.h>
11+
#include <app-common/zap-generated/ids/Commands.h>
1012
#include <commands/clusters/ComplexArgument.h>
1113
#include <commands/clusters/ClusterCommand.h>
1214
#include <commands/clusters/ReportCommand.h>
@@ -40,16 +42,21 @@ public:
4042

4143
CHIP_ERROR SendCommand(chip::DeviceProxy * device, std::vector<chip::EndpointId> endpointIds) override
4244
{
43-
ChipLogProgress(chipTool, "Sending cluster ({{asHex parent.code 8}}) command ({{asHex code 8}}) on endpoint %u", endpointIds.at(0));
45+
constexpr chip::ClusterId clusterId = chip::app::Clusters::{{asUpperCamelCase parent.name}}::Id;
46+
constexpr chip::CommandId commandId = chip::app::Clusters::{{asUpperCamelCase parent.name}}::Commands::{{asUpperCamelCase name}}::Id;
4447

45-
return ClusterCommand::SendCommand(device, endpointIds.at(0), {{asHex parent.code 8}}, {{asHex code 8}}, mRequest);
48+
ChipLogProgress(chipTool, "Sending cluster (0x%08" PRIX32 ") command (0x%08" PRIX32 ") on endpoint %u", clusterId, commandId, endpointIds.at(0));
49+
return ClusterCommand::SendCommand(device, endpointIds.at(0), clusterId, commandId, mRequest);
4650
}
4751

4852
CHIP_ERROR SendGroupCommand(chip::GroupId groupId, chip::FabricIndex fabricIndex) override
4953
{
50-
ChipLogProgress(chipTool, "Sending cluster ({{asHex parent.code 8}}) command ({{asHex code 8}}) on Group %u", groupId);
54+
constexpr chip::ClusterId clusterId = chip::app::Clusters::{{asUpperCamelCase parent.name}}::Id;
55+
constexpr chip::CommandId commandId = chip::app::Clusters::{{asUpperCamelCase parent.name}}::Commands::{{asUpperCamelCase name}}::Id;
5156

52-
return ClusterCommand::SendGroupCommand(groupId, fabricIndex, {{asHex parent.code 8}}, {{asHex code 8}}, mRequest);
57+
ChipLogProgress(chipTool, "Sending cluster (0x%08" PRIX32 ") command (0x%08" PRIX32 ") on Group %u", clusterId, commandId, groupId);
58+
59+
return ClusterCommand::SendGroupCommand(groupId, fabricIndex, clusterId, commandId, mRequest);
5360
}
5461

5562
private:

examples/darwin-framework-tool/templates/commands.zapt

+18-4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
#include <commands/clusters/ReportCommandBridge.h>
1515
#include <commands/clusters/WriteAttributeCommandBridge.h>
1616
#include <app-common/zap-generated/cluster-objects.h>
17+
#include <app-common/zap-generated/ids/Clusters.h>
18+
#include <app-common/zap-generated/ids/Commands.h>
1719

1820
{{> clusters_header}}
1921

@@ -52,7 +54,10 @@ public:
5254

5355
CHIP_ERROR SendCommand(MTRBaseDevice * device, chip::EndpointId endpointId) override
5456
{
55-
ChipLogProgress(chipTool, "Sending cluster ({{asHex parent.code 8}}) command ({{asHex code 8}}) on endpoint %u", endpointId);
57+
constexpr chip::ClusterId clusterId = chip::app::Clusters::{{asUpperCamelCase parent.name}}::Id;
58+
constexpr chip::CommandId commandId = chip::app::Clusters::{{asUpperCamelCase parent.name}}::Commands::{{asUpperCamelCase name}}::Id;
59+
60+
ChipLogProgress(chipTool, "Sending cluster (0x%08" PRIX32 ") command (0x%08" PRIX32 ") on endpoint %u", clusterId, commandId, endpointId);
5661

5762
dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL);
5863
__auto_type * cluster = [[MTRBaseCluster{{asUpperCamelCase parent.name preserveAcronyms=true}} alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue];
@@ -127,7 +132,10 @@ public:
127132

128133
CHIP_ERROR SendCommand(MTRBaseDevice * device, chip::EndpointId endpointId) override
129134
{
130-
ChipLogProgress(chipTool, "Sending cluster ({{asHex parent.code 8}}) ReadAttribute ({{asHex code 8}}) on endpoint %u", endpointId);
135+
constexpr chip::ClusterId clusterId = chip::app::Clusters::{{asUpperCamelCase parent.name}}::Id;
136+
constexpr chip::AttributeId attributeId = chip::app::Clusters::{{asUpperCamelCase parent.name}}::Attributes::{{asUpperCamelCase name}}::Id;
137+
138+
ChipLogProgress(chipTool, "Sending cluster (0x%08" PRIX32 ") ReadAttribute (0x%08" PRIX32 ") on endpoint %u", endpointId, clusterId, attributeId);
131139

132140
dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL);
133141
__auto_type * cluster = [[MTRBase{{>cluster}} alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue];
@@ -180,7 +188,10 @@ public:
180188

181189
CHIP_ERROR SendCommand(MTRBaseDevice * device, chip::EndpointId endpointId) override
182190
{
183-
ChipLogProgress(chipTool, "Sending cluster ({{asHex parent.code 8}}) WriteAttribute ({{asHex code 8}}) on endpoint %u", endpointId);
191+
constexpr chip::ClusterId clusterId = chip::app::Clusters::{{asUpperCamelCase parent.name}}::Id;
192+
constexpr chip::AttributeId attributeId = chip::app::Clusters::{{asUpperCamelCase parent.name}}::Attributes::{{asUpperCamelCase name}}::Id;
193+
194+
ChipLogProgress(chipTool, "Sending cluster (0x%08" PRIX32 ") WriteAttribute (0x%08" PRIX32 ") on endpoint %u", clusterId, attributeId, endpointId);
184195
dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL);
185196
__auto_type * cluster = [[MTRBase{{>cluster}} alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue];
186197
__auto_type * params = [[MTRWriteParams alloc] init];
@@ -234,7 +245,10 @@ public:
234245

235246
CHIP_ERROR SendCommand(MTRBaseDevice * device, chip::EndpointId endpointId) override
236247
{
237-
ChipLogProgress(chipTool, "Sending cluster ({{asHex parent.code 8}}) ReportAttribute ({{asHex code 8}}) on endpoint %u", endpointId);
248+
constexpr chip::ClusterId clusterId = chip::app::Clusters::{{asUpperCamelCase parent.name}}::Id;
249+
constexpr chip::CommandId attributeId = chip::app::Clusters::{{asUpperCamelCase parent.name}}::Attributes::{{asUpperCamelCase name}}::Id;
250+
251+
ChipLogProgress(chipTool, "Sending cluster (0x%08" PRIX32 ") ReportAttribute (0x%08" PRIX32 ") on endpoint %u", clusterId, attributeId, endpointId);
238252
dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL);
239253
__auto_type * cluster = [[MTRBase{{>cluster}} alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue];
240254
__auto_type * params = [[MTRSubscribeParams alloc] initWithMinInterval:@(mMinInterval) maxInterval:@(mMaxInterval)];

examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairCodeCommand.kt

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ package com.matter.controller.commands.pairing
2020
import chip.devicecontroller.ChipDeviceController
2121
import com.matter.controller.commands.common.CredentialsIssuer
2222

23-
class PairCodeCommand(controller: ChipDeviceController, credsIssue: CredentialsIssuer?) :
23+
class PairCodeCommand(val controller: ChipDeviceController, credsIssue: CredentialsIssuer?) :
2424
PairingCommand(controller, "code", credsIssue, PairingModeType.CODE, PairingNetworkType.NONE) {
2525
override fun runCommand() {
2626
currentCommissioner()
@@ -34,5 +34,7 @@ class PairCodeCommand(controller: ChipDeviceController, credsIssue: CredentialsI
3434
)
3535
currentCommissioner().setCompletionListener(this)
3636
waitCompleteMs(getTimeoutMillis())
37+
38+
println("Commissioner Node ID : ${controller.getControllerNodeId()}")
3739
}
3840
}

examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairOnNetworkLongCommand.kt

+6-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ import com.matter.controller.commands.common.CredentialsIssuer
2222

2323
private const val MATTER_PORT = 5540
2424

25-
class PairOnNetworkLongCommand(controller: ChipDeviceController, credsIssue: CredentialsIssuer?) :
25+
class PairOnNetworkLongCommand(
26+
val controller: ChipDeviceController,
27+
credsIssue: CredentialsIssuer?
28+
) :
2629
PairingCommand(
2730
controller,
2831
"onnetwork-long",
@@ -43,5 +46,7 @@ class PairOnNetworkLongCommand(controller: ChipDeviceController, credsIssue: Cre
4346
)
4447
currentCommissioner().setCompletionListener(this)
4548
waitCompleteMs(getTimeoutMillis())
49+
50+
println("Commissioner Node ID : ${controller.getControllerNodeId()}")
4651
}
4752
}

examples/lighting-app/esp32/README.md

+19
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,25 @@ and refer
88
[building and commissioning](../../../docs/guides/esp32/build_app_and_commission.md)
99
guides to get started.
1010

11+
### Enabling ESP-Insights:
12+
13+
- Before building the app, enable the option: ESP_INSIGHTS_ENABLED through
14+
menuconfig.
15+
16+
- Create a file named insights_auth_key.txt in the main directory of the
17+
example.
18+
19+
- Follow the steps
20+
present[here](https://github.com/espressif/esp-insights/blob/main/examples/README.md#set-up-esp-insights-account)
21+
to set up an insights_account and the auth key created while setting it up
22+
will be used in the example.
23+
24+
- Download the auth key and copy Auth Key to the example
25+
26+
```
27+
cp /path/to/auth/key.txt path/to/connectedhomeip/examples/lighting-app/esp32/main/insights_auth_key.txt
28+
```
29+
1130
---
1231

1332
- [Cluster Control](#cluster-control)

examples/lighting-app/esp32/main/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ include("${CHIP_ROOT}/build/chip/esp32/esp32_codegen.cmake")
106106
chip_app_component_codegen("${CHIP_ROOT}/examples/lighting-app/lighting-common/lighting-app.matter")
107107
chip_app_component_zapgen("${CHIP_ROOT}/examples/lighting-app/lighting-common/lighting-app.zap")
108108

109+
if (CONFIG_ENABLE_ESP_INSIGHTS_TRACE)
110+
target_add_binary_data(${COMPONENT_TARGET} "insights_auth_key.txt" TEXT)
111+
endif()
112+
109113
set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 17)
110114
target_compile_options(${COMPONENT_LIB} PRIVATE "-DCHIP_HAVE_CONFIG_H")
111115
target_compile_options(${COMPONENT_LIB} PUBLIC

examples/lighting-app/esp32/main/main.cpp

+23
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,20 @@
5959
#include <platform/ESP32/ESP32SecureCertDACProvider.h>
6060
#endif
6161

62+
#if CONFIG_ENABLE_ESP_INSIGHTS_TRACE
63+
#include <esp_insights.h>
64+
#endif
65+
6266
using namespace ::chip;
6367
using namespace ::chip::Credentials;
6468
using namespace ::chip::DeviceManager;
6569
using namespace ::chip::DeviceLayer;
6670

71+
#if CONFIG_ENABLE_ESP_INSIGHTS_TRACE
72+
extern const char insights_auth_key_start[] asm("_binary_insights_auth_key_txt_start");
73+
extern const char insights_auth_key_end[] asm("_binary_insights_auth_key_txt_end");
74+
#endif
75+
6776
static const char * TAG = "light-app";
6877

6978
static AppDeviceCallbacks EchoCallbacks;
@@ -125,6 +134,20 @@ extern "C" void app_main()
125134
chip::rpc::Init();
126135
#endif
127136

137+
#if CONFIG_ENABLE_ESP_INSIGHTS_TRACE
138+
esp_insights_config_t config = {
139+
.log_type = ESP_DIAG_LOG_TYPE_ERROR | ESP_DIAG_LOG_TYPE_WARNING | ESP_DIAG_LOG_TYPE_EVENT,
140+
.auth_key = insights_auth_key_start,
141+
};
142+
143+
esp_err_t ret = esp_insights_init(&config);
144+
145+
if (ret != ESP_OK)
146+
{
147+
ESP_LOGE(TAG, "Failed to initialize ESP Insights, err:0x%x", ret);
148+
}
149+
#endif
150+
128151
ESP_LOGI(TAG, "==================================================");
129152
ESP_LOGI(TAG, "chip-esp32-light-example starting");
130153
ESP_LOGI(TAG, "==================================================");

examples/lighting-app/esp32/sdkconfig_rpc.defaults

+2
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,5 @@ CONFIG_ENABLE_PW_RPC=y
5353

5454
# Enable HKDF in mbedtls
5555
CONFIG_MBEDTLS_HKDF_C=y
56+
57+
CONFIG_DIAG_USE_EXTERNAL_LOG_WRAP=y

examples/ota-requestor-app/esp32/sdkconfig_m5stack_rpc.defaults

+2
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,5 @@ CONFIG_ENABLE_PW_RPC=y
7373

7474
# Enable HKDF in mbedtls
7575
CONFIG_MBEDTLS_HKDF_C=y
76+
77+
CONFIG_DIAG_USE_EXTERNAL_LOG_WRAP=y

examples/ota-requestor-app/esp32/sdkconfig_rpc.defaults

+2
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,5 @@ CONFIG_ENABLE_PW_RPC=y
6666

6767
# Enable HKDF in mbedtls
6868
CONFIG_MBEDTLS_HKDF_C=y
69+
70+
CONFIG_DIAG_USE_EXTERNAL_LOG_WRAP=y

examples/pigweed-app/esp32/sdkconfig.defaults

+2
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,5 @@ CONFIG_DEVICE_PRODUCT_ID=0x800B
4343

4444
# Enable HKDF in mbedtls
4545
CONFIG_MBEDTLS_HKDF_C=y
46+
47+
CONFIG_DIAG_USE_EXTERNAL_LOG_WRAP=y

examples/platform/esp32/PigweedLogger.cpp

+12
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
#include <pw_hdlc/encoder.h>
2424
#include <pw_stream/sys_io_stream.h>
2525

26+
#if CONFIG_ENABLE_ESP_INSIGHTS_TRACE && CONFIG_DIAG_USE_EXTERNAL_LOG_WRAP
27+
#include <esp_diagnostics.h>
28+
#endif
29+
2630
namespace PigweedLogger {
2731
namespace {
2832

@@ -126,6 +130,10 @@ extern "C" void __wrap_esp_log_write(esp_log_level_t level, const char * tag, co
126130
}
127131
#endif
128132

133+
#if CONFIG_ENABLE_ESP_INSIGHTS_TRACE && CONFIG_DIAG_USE_EXTERNAL_LOG_WRAP
134+
esp_diag_log_writev(level, tag, format, v);
135+
#endif
136+
129137
va_end(v);
130138
}
131139

@@ -153,6 +161,10 @@ extern "C" void __wrap_esp_log_writev(esp_log_level_t level, const char * tag, c
153161
PigweedLogger::putString(logResetColor, strlen(logResetColor));
154162
}
155163
#endif
164+
165+
#if CONFIG_ENABLE_ESP_INSIGHTS_TRACE && CONFIG_DIAG_USE_EXTERNAL_LOG_WRAP
166+
esp_diag_log_write(level, tag, format, v);
167+
#endif
156168
}
157169

158170
} // namespace PigweedLogger

examples/platform/silabs/FreeRTOSConfig.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ extern "C" {
108108
#include <stdint.h>
109109

110110
#ifdef SIWX_917
111-
#include "RS1xxxx_9117.h"
111+
#include "si91x_device.h"
112112
extern uint32_t SystemCoreClock;
113113
#else // For EFR32
114114
#include "RTE_Components.h"
@@ -227,9 +227,9 @@ See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */
227227
#endif // DIC
228228
#else // SL_WIFI
229229
#if SL_CONFIG_OPENTHREAD_LIB == 1
230-
#define configTOTAL_HEAP_SIZE ((size_t)(28 * 1024))
230+
#define configTOTAL_HEAP_SIZE ((size_t)(29 * 1024))
231231
#else
232-
#define configTOTAL_HEAP_SIZE ((size_t)(26 * 1024))
232+
#define configTOTAL_HEAP_SIZE ((size_t)(27 * 1024))
233233
#endif // SL_CONFIG_OPENTHREAD_LIB
234234
#endif // configTOTAL_HEAP_SIZE
235235
#endif // configTOTAL_HEAP_SIZE

examples/platform/silabs/efr32/BUILD.gn

+1-4
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,10 @@ if (chip_enable_wifi) {
6262
assert(use_rs9116 || use_wf200 || use_SiWx917)
6363
import("${chip_root}/src/platform/silabs/wifi_args.gni")
6464

65-
if (use_rs9116) {
65+
if (use_rs9116 || use_SiWx917) {
6666
wiseconnect_sdk_root =
6767
"${chip_root}/third_party/silabs/wiseconnect-wifi-bt-sdk"
6868
import("rs911x/rs911x.gni")
69-
} else if (use_SiWx917) {
70-
wisemcu_sdk_root = "${chip_root}/third_party/silabs/wisemcu-wifi-bt-sdk"
71-
import("rs911x/rs9117.gni")
7269
}
7370
if (use_wf200) {
7471
import("wf200/wf200.gni")

0 commit comments

Comments
 (0)