Skip to content

Commit 958e508

Browse files
committed
Merge branch 'master' of https://github.com/project-chip/connectedhomeip into bump_CI_images
2 parents e3c969a + 9d56786 commit 958e508

File tree

128 files changed

+1535
-2070
lines changed

Some content is hidden

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

128 files changed

+1535
-2070
lines changed

.github/workflows/chef.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
platform: telink
111111
# - name: Update Zephyr to specific revision (for developers purpose)
112112
# shell: bash
113-
# run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py 0e8032dfef7e02498f34ba0b5d5d2df71a62adb1"
113+
# run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py ab81a585fca6a83b30e1f4e58a021113d6a3acb8"
114114
- name: CI Examples Telink
115115
shell: bash
116116
run: |

.github/workflows/examples-efr32.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
name: EFR32
3434

3535
env:
36-
SILABS_BOARD: BRD4161A
36+
SILABS_BOARD: BRD4187C
3737
BUILD_TYPE: gn_efr32
3838

3939
runs-on: ubuntu-latest

.github/workflows/examples-telink.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
gh-context: ${{ toJson(github) }}
5858

5959
# - name: Update Zephyr to specific revision (for developers purpose)
60-
# run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py 0e8032dfef7e02498f34ba0b5d5d2df71a62adb1"
60+
# run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py ab81a585fca6a83b30e1f4e58a021113d6a3acb8"
6161

6262
- name: Build example Telink (B92 retention) Air Quality Sensor App
6363
run: |

.github/workflows/release_artifacts.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ jobs:
5858
efr32:
5959
name: EFR32
6060
env:
61-
SILABS_BOARD: BRD4161A
62-
BUILD_DIRECTORY: out/lock_app_debug/BRD4161A
61+
SILABS_BOARD: BRD4187C
62+
BUILD_DIRECTORY: out/lock_app_debug/BRD4187C
6363

6464
runs-on: ubuntu-latest
6565

.github/workflows/tests.yaml

+38-37
Large diffs are not rendered by default.

.vscode/tasks.json

+12-48
Original file line numberDiff line numberDiff line change
@@ -557,54 +557,18 @@
557557
"bouffalolab-xt-zb6-devkit-light",
558558
"bouffalolab-xt-zb6-devkit-light-rpc-115200",
559559
"bouffalolab-bl706-night-light-light",
560-
"efr32-brd4161a-light",
561-
"efr32-brd4163a-light",
562-
"efr32-brd4164a-light",
563-
"efr32-brd4166a-light",
564-
"efr32-brd4170a-light",
565-
"efr32-brd4186a-light",
566-
"efr32-brd4187a-light",
567-
"efr32-brd4304a-light",
568-
"efr32-brd4161a-light-rpc",
569-
"efr32-brd4163a-light-rpc",
570-
"efr32-brd4164a-light-rpc",
571-
"efr32-brd4166a-light-rpc",
572-
"efr32-brd4170a-light-rpc",
573-
"efr32-brd4186a-light-rpc",
574-
"efr32-brd4187a-light-rpc",
575-
"efr32-brd4304a-light-rpc",
576-
"efr32-brd4161a-lock",
577-
"efr32-brd4163a-lock",
578-
"efr32-brd4164a-lock",
579-
"efr32-brd4166a-lock",
580-
"efr32-brd4170a-lock",
581-
"efr32-brd4186a-lock",
582-
"efr32-brd4187a-lock",
583-
"efr32-brd4304a-lock",
584-
"efr32-brd4161a-unit-test",
585-
"efr32-brd4163a-unit-test",
586-
"efr32-brd4164a-unit-test",
587-
"efr32-brd4166a-unit-test",
588-
"efr32-brd4170a-unit-test",
589-
"efr32-brd4186a-unit-test",
590-
"efr32-brd4187a-unit-test",
591-
"efr32-brd4304a-unit-test",
592-
"efr32-brd4161a-switch",
593-
"efr32-brd4163a-switch",
594-
"efr32-brd4164a-switch",
595-
"efr32-brd4166a-switch",
596-
"efr32-brd4170a-switch",
597-
"efr32-brd4186a-switch",
598-
"efr32-brd4187a-switch",
599-
"efr32-brd4304a-switch",
600-
"efr32-brd4161a-window-covering",
601-
"efr32-brd4163a-window-covering",
602-
"efr32-brd4164a-window-covering",
603-
"efr32-brd4166a-window-covering",
604-
"efr32-brd4170a-window-covering",
605-
"efr32-brd4186a-window-covering",
606-
"efr32-brd4187a-window-covering",
607-
"efr32-brd4304a-window-covering",
560+
"efr32-brd4186c-light",
561+
"efr32-brd4186c-light-rpc",
562+
"efr32-brd4186c-lock",
563+
"efr32-brd4186c-unit-test",
564+
"efr32-brd4186c-switch",
565+
"efr32-brd4186c-window-covering",
566+
"efr32-brd4187c-light",
567+
"efr32-brd4187c-light-rpc",
568+
"efr32-brd4187c-lock",
569+
"efr32-brd4187c-unit-test",
570+
"efr32-brd4187c-switch",
571+
"efr32-brd4187c-window-covering",
608572
"efr32-brd4338a-light-wifi-917_soc-skip_rps_generation",
609573
"esp32-c3devkit-all-clusters",
610574
"esp32-devkitc-all-clusters",

config/telink/chip-module/CMakeLists.txt

+16-15
Original file line numberDiff line numberDiff line change
@@ -95,39 +95,40 @@ matter_add_gn_arg_bool ("chip_logging" CONFIG_LOG)
9595
matter_add_gn_arg_bool ("chip_enable_openthread" CONFIG_NET_L2_OPENTHREAD)
9696
matter_add_gn_arg_bool ("chip_openthread_ftd" CONFIG_OPENTHREAD_FTD)
9797
matter_add_gn_arg_bool ("chip_config_network_layer_ble" CONFIG_BT)
98-
matter_add_gn_arg_bool ("chip_inet_config_enable_ipv4" CONFIG_NET_IPV4)
98+
matter_add_gn_arg_bool ("chip_inet_config_enable_ipv4" CONFIG_CHIP_IPV4)
9999
matter_add_gn_arg_bool ("chip_enable_nfc" CONFIG_CHIP_NFC_COMMISSIONING)
100100
matter_add_gn_arg_bool ("chip_enable_ota_requestor" CONFIG_CHIP_OTA_REQUESTOR)
101-
matter_add_gn_arg_bool ("chip_inet_config_enable_tcp_endpoint" CONFIG_CHIP_BUILD_TESTS)
101+
matter_add_gn_arg_bool ("chip_inet_config_enable_tcp_endpoint" FALSE)
102102
matter_add_gn_arg_bool ("chip_error_logging" CONFIG_MATTER_LOG_LEVEL GREATER_EQUAL 1)
103103
matter_add_gn_arg_bool ("chip_progress_logging" CONFIG_MATTER_LOG_LEVEL GREATER_EQUAL 3)
104104
matter_add_gn_arg_bool ("chip_detail_logging" CONFIG_MATTER_LOG_LEVEL GREATER_EQUAL 4)
105105
matter_add_gn_arg_bool ("chip_automation_logging" FALSE)
106106
matter_add_gn_arg_bool ("chip_enable_wifi" CONFIG_WIFI_W91)
107107
matter_add_gn_arg_bool ("chip_enable_icd_server" CONFIG_CHIP_ENABLE_ICD_SUPPORT)
108+
matter_add_gn_arg_bool ("chip_enable_factory_data" CONFIG_CHIP_FACTORY_DATA)
109+
matter_add_gn_arg_bool ("chip_mdns_minimal" CONFIG_WIFI_W91)
110+
matter_add_gn_arg_bool ("chip_mdns_platform" CONFIG_NET_L2_OPENTHREAD)
108111

109112
if (CONFIG_CHIP_ENABLE_ICD_SUPPORT)
110-
matter_add_gn_arg_bool ("chip_enable_icd_lit" CONFIG_CHIP_ICD_LIT_SUPPORT)
111-
matter_add_gn_arg_bool ("chip_enable_icd_checkin" CONFIG_CHIP_ICD_CHECK_IN_SUPPORT)
112-
matter_add_gn_arg_bool ("chip_enable_icd_user_active_mode_trigger" CONFIG_CHIP_ICD_UAT_SUPPORT)
113+
matter_add_gn_arg_bool ("chip_enable_icd_lit" CONFIG_CHIP_ICD_LIT_SUPPORT)
114+
matter_add_gn_arg_bool ("chip_enable_icd_checkin" CONFIG_CHIP_ICD_CHECK_IN_SUPPORT)
115+
matter_add_gn_arg_bool ("chip_enable_icd_user_active_mode_trigger" CONFIG_CHIP_ICD_UAT_SUPPORT)
113116
endif()
114117

115-
if (CONFIG_CHIP_FACTORY_DATA)
116-
matter_add_gn_arg_bool ("chip_use_transitional_commissionable_data_provider" "false")
117-
matter_add_gn_arg_bool ("chip_enable_factory_data" "true")
118-
elseif (CONFIG_CHIP_FACTORY_DATA_CUSTOM_BACKEND)
119-
matter_add_gn_arg_bool ("chip_use_transitional_commissionable_data_provider" "false")
118+
if (CONFIG_CHIP_FACTORY_DATA OR CONFIG_CHIP_FACTORY_DATA_CUSTOM_BACKEND)
119+
matter_add_gn_arg_bool("chip_use_transitional_commissionable_data_provider" FALSE)
120+
matter_add_gn_arg_bool("chip_use_transitional_device_instance_info_provider" FALSE)
120121
endif()
121122

122123
if (CONFIG_CHIP_ROTATING_DEVICE_ID)
123-
matter_add_gn_arg_bool("chip_enable_rotating_device_id" "true")
124-
matter_add_gn_arg_bool("chip_enable_additional_data_advertising" "true")
124+
matter_add_gn_arg_bool("chip_enable_rotating_device_id" TRUE)
125+
matter_add_gn_arg_bool("chip_enable_additional_data_advertising" TRUE)
125126
endif()
126127

127-
if (CONFIG_NET_L2_OPENTHREAD)
128-
matter_add_gn_arg_string("chip_mdns" "platform")
129-
elseif(CONFIG_WIFI_W91)
128+
if(CONFIG_WIFI_W91)
130129
matter_add_gn_arg_string("chip_mdns" "minimal")
130+
elseif (CONFIG_NET_L2_OPENTHREAD)
131+
matter_add_gn_arg_string("chip_mdns" "platform")
131132
else()
132133
matter_add_gn_arg_string("chip_mdns" "none")
133134
endif()

config/telink/chip-module/Kconfig

+10-1
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,18 @@ config CHIP_LOG_SIZE_OPTIMIZATION
178178
full configuration enabled by this option in the
179179
platform/telink/CHIPPlatformConfig.h file.
180180

181+
config CHIP_IPV4
182+
bool "IPv4 support for Matter"
183+
default n
184+
depends on NET_IPV4
185+
help
186+
If disabled, it allows to build Telink SDK application
187+
with IPv4 support independently of the Matter stack still
188+
running over IPv6.
189+
181190
config CHIP_BUTTON_MANAGER_IRQ_MODE
182191
bool "Use GPIO in an IRQ mode instead of polling the GPIO"
183-
default PM || BOARD_TLSR9118BDK40D
192+
default PM
184193
help
185194
Use GPIO in an IRQ mode to avoid button polling loop and extend the battery lifetime by waking up by GPIO event.
186195
GPIO events are working only with GPIO IRQ. This option changes button matrix configuration.

config/telink/chip-module/Kconfig.defaults

+26-6
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ choice LOG_MODE
3434
endchoice
3535

3636
choice MATTER_LOG_LEVEL_CHOICE
37-
default MATTER_LOG_LEVEL_INF
37+
default MATTER_LOG_LEVEL_DBG
3838
endchoice
3939

4040
config CHIP_APP_LOG_LEVEL
41-
default 3 # info
41+
default 4 # debug
4242

4343
config LOG_DEFAULT_LEVEL
4444
default 1 # error
@@ -108,7 +108,6 @@ config GPIO
108108
# Bluetooth Low Energy configs
109109

110110
config BT
111-
default n if BOARD_TLSR9118BDK40D
112111
default y
113112

114113
if BT
@@ -138,10 +137,12 @@ config BT_BUF_ACL_TX_SIZE
138137
default 251
139138

140139
config BT_RX_STACK_SIZE
141-
default 810
140+
default 810 if BT_B9X
141+
default 2048 if BT_W91
142142

143143
config BT_HCI_TX_STACK_SIZE
144-
default 640
144+
default 640 if BT_B9X
145+
default 2048 if BT_W91
145146

146147
config BT_DEVICE_NAME_GATT_WRITABLE
147148
bool
@@ -300,13 +301,32 @@ config CHIP_WIFI
300301
select WIFI_W91
301302
select WIFI
302303
select NET_STATISTICS
303-
select NET_L2_ETHERNET
304304
select NET_IPV6_ND # enable Neighbor Discovery to handle Router Advertisements
305305
select NET_IPV6_NBR_CACHE
306306
select NET_STATISTICS_USER_API
307+
# select NET_IPV4 # TODO: remove IPv4 when IPv6 will be ready (see CHIP_IPV4)
308+
# select NET_CONFIG_NEED_IPV4
309+
# select NET_DHCPV4
307310

308311
if CHIP_WIFI
309312

313+
config DEFAULT_WIFI_SSID
314+
string "Default WiFi SSID"
315+
depends on CHIP_WIFI
316+
default ""
317+
help
318+
The SSID of network to connect to if no WiFi station configuration exists in NV storage
319+
at the time the device boots.
320+
This option is for testing only and should be disabled in production releases
321+
322+
config DEFAULT_WIFI_PASSWORD
323+
string "Default WiFi Password"
324+
depends on CHIP_WIFI
325+
default ""
326+
help
327+
The password for the default WiFi network.
328+
This option is for testing only and should be disabled in production releases.
329+
310330
config CHIP_WIFI_CONNECTION_RECOVERY_MINIMUM_INTERVAL
311331
int "Define the minimum connection recovery time interval in milliseconds"
312332
depends on CHIP_WIFI

examples/chef/sample_app_util/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ The list of platforms supported here (as of writing this) are:
9696

9797
```
9898
m5stack
99-
brd4161a
99+
brd4187c
100100
nrf52840dk
101101
linux_x86
102102
```
@@ -105,7 +105,7 @@ For example, here are some valid names:
105105

106106
```
107107
m5stack_rootnode_humiditysensor_pv0comNKyT
108-
brd4161a_rootnode_humiditysensor_pv0comNKyT
108+
brd4187c_rootnode_humiditysensor_pv0comNKyT
109109
nrf52840dk_rootnode_humiditysensor_pv0comNKyT
110110
linux_x86_rootnode_humiditysensor_pv0comNKyT
111111
```

examples/light-switch-app/silabs/README.md

+3-25
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Matter EFR32 Light Switch Example
22

3-
An example showing the use of CHIP on the Silicon Labs EFR32 MG12 and MG24.
3+
An example showing the use of CHIP on the Silicon Labs EFR32 MG24.
44

55
<hr>
66

@@ -79,22 +79,6 @@ Silicon Labs platform.
7979
> [Hardware Requirements](https://github.com/SiliconLabs/matter/blob/latest/docs/silabs/general/HARDWARE_REQUIREMENTS.md)
8080
> in the Silicon Labs Matter Github Repo
8181
82-
MG12 boards:
83-
84-
- BRD4161A / SLWSTK6000B / Wireless Starter Kit / 2.4GHz@19dBm
85-
- BRD4162A / SLWSTK6000B / Wireless Starter Kit / 2.4GHz@10dBm
86-
- BRD4163A / SLWSTK6000B / Wireless Starter Kit / 2.4GHz@10dBm,
87-
868MHz@19dBm
88-
- BRD4164A / SLWSTK6000B / Wireless Starter Kit / 2.4GHz@19dBm
89-
- BRD4166A / SLTB004A / Thunderboard Sense 2 / 2.4GHz@10dBm
90-
- BRD4170A / SLWSTK6000B / Multiband Wireless Starter Kit / 2.4GHz@19dBm,
91-
915MHz@19dBm
92-
- BRD4304A / SLWSTK6000B / MGM12P Module / 2.4GHz@19dBm
93-
94-
MG21 boards: Currently not supported due to RAM limitation.
95-
96-
- BRD4180A / SLWSTK6006A / Wireless Starter Kit / 2.4GHz@20dBm
97-
9882
MG24 boards :
9983

10084
- BRD2601B / SLWSTK6000B / Wireless Starter Kit / 2.4GHz@10dBm
@@ -212,17 +196,11 @@ combination with JLinkRTTClient as follows:
212196

213197
- Run the JLinkExe tool with arguments to autoconnect to the WSTK board:
214198

215-
For MG12 use:
216-
217-
$ JLinkExe -device EFR32MG12PXXXF1024 -if JTAG -speed 4000 -autoconnect 1
218-
219-
For MG21 use:
220-
221-
$ JLinkExe -device EFR32MG21AXXXF1024 -if SWD -speed 4000 -autoconnect 1
222-
223199
For MG24 use:
224200

201+
```
225202
$ JLinkExe -device EFR32MG24AXXXF1536 -if SWD -speed 4000 -autoconnect 1
203+
```
226204

227205
- In a second terminal, run the JLinkRTTClient to view logs:
228206

examples/lighting-app/silabs/README.md

+5-23
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Matter EFR32 Lighting Example
22

3-
An example showing the use of CHIP on the Silicon Labs EFR32 MG12 and MG24.
3+
An example showing the use of CHIP on the Silicon Labs EFR32 MG24.
44

55
<hr>
66

@@ -73,22 +73,6 @@ Silicon Labs platform.
7373
> [Hardware Requirements](https://github.com/SiliconLabs/matter/blob/latest/docs/silabs/general/HARDWARE_REQUIREMENTS.md)
7474
> in the Silicon Labs Matter Github Repo
7575
76-
MG12 boards:
77-
78-
- BRD4161A / SLWSTK6000B / Wireless Starter Kit / 2.4GHz@19dBm
79-
- BRD4162A / SLWSTK6000B / Wireless Starter Kit / 2.4GHz@10dBm
80-
- BRD4163A / SLWSTK6000B / Wireless Starter Kit / 2.4GHz@10dBm,
81-
868MHz@19dBm
82-
- BRD4164A / SLWSTK6000B / Wireless Starter Kit / 2.4GHz@19dBm
83-
- BRD4166A / SLTB004A / Thunderboard Sense 2 / 2.4GHz@10dBm
84-
- BRD4170A / SLWSTK6000B / Multiband Wireless Starter Kit / 2.4GHz@19dBm,
85-
915MHz@19dBm
86-
- BRD4304A / SLWSTK6000B / MGM12P Module / 2.4GHz@19dBm
87-
88-
MG21 boards: Currently not supported due to RAM limitation.
89-
90-
- BRD4180A / SLWSTK6006A / Wireless Starter Kit / 2.4GHz@20dBm
91-
9276
MG24 boards :
9377

9478
- BRD2601B / SLWSTK6000B / Wireless Starter Kit / 2.4GHz@10dBm
@@ -202,13 +186,11 @@ combination with JLinkRTTClient as follows:
202186

203187
- Run the JLinkExe tool with arguments to autoconnect to the WSTK board:
204188

205-
For MG12 use:
206-
207-
$ JLinkExe -device EFR32MG12PXXXF1024 -if JTAG -speed 4000 -autoconnect 1
208-
209-
For MG21 use:
189+
For MG24 use:
210190

211-
$ JLinkExe -device EFR32MG21AXXXF1024 -if SWD -speed 4000 -autoconnect 1
191+
```
192+
$ JLinkExe -device EFR32MG24AXXXF1536 -if SWD -speed 4000 -autoconnect 1
193+
```
212194

213195
- In a second terminal, run the JLinkRTTClient to view logs:
214196

0 commit comments

Comments
 (0)