Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nrfconnect] Updated nRF Connect SDK to 2.3.0 #25432

Merged
merged 8 commits into from
Mar 7, 2023

Conversation

kkasperczyk-no
Copy link
Contributor

Regular update of nRF Connect SDK version to 2.3.0 including:

  • recommended version bump
  • docker image number update in github workflows
  • nrfconnect platform alignment
  • several updates and bug fixes in nrfconnect Wi-Fi platform

@github-actions
Copy link

github-actions bot commented Mar 2, 2023

PR #25432: Size comparison from b12e3e8 to 2ee56e1

Increases (7 builds for bl602, cc13x2_26x2, cc32xx, esp32, psoc6, telink)
platform target config section b12e3e8 2ee56e1 change % change
bl602 lighting-app bl602 .text 1026860 1026862 2 0.0
cc13x2_26x2 shell LP_CC2652R7 (read/write) 180944 180952 8 0.0
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20262923 2026292 1 0.0
esp32 all-clusters-app c3devkit (read only) 1050864 1050866 2 0.0
.flash.text 1050864 1050866 2 0.0
psoc6 all-clusters-minimal cy8ckit_062s2_43012 .debug_info 27524722 27524723 1 0.0
telink light-switch-app tlsr9518adk80d (read/write) 872436 872444 8 0.0
text 593460 593462 2 0.0
lock-app tlsr9518adk80d (read/write) 910600 910608 8 0.0
text 607082 607086 4 0.0
Decreases (14 builds for bl602, bl702, cc13x2_26x2, efr32, psoc6, qpg, telink)
platform target config section b12e3e8 2ee56e1 change % change
bl602 lighting-app bl602+rpc .text 1057796 1057794 -2 -0.0
bl702 lighting-app bl702 .debug_info 40601128 40601127 -1 -0.0
.text 956150 956148 -2 -0.0
bl702+rpc .debug_info 45013160 45013159 -1 -0.0
.text 1030922 1030920 -2 -0.0
cc13x2_26x2 shell LP_CC2652R7 (read only) 672198 672190 -8 -0.0
.text 586456 586448 -8 -0.0
efr32 lighting-app BRD4187C (read/write) 1014784 1014776 -8 -0.0
.text 837376 837368 -8 -0.0
lock-app BRD4161A+wf200 (read/write) 1058016 1058008 -8 -0.0
.text 903168 903160 -8 -0.0
psoc6 lock cy8ckit_062s2_43012 .debug_info 23118161 23118159 -2 -0.0
qpg lock-app qpg6105+debug (read/write) 1118892 1118884 -8 -0.0
.text 565992 565984 -8 -0.0
telink all-clusters-minimal-app tlsr9518adk80d (read/write) 952548 952540 -8 -0.0
text 649046 649044 -2 -0.0
contact-sensor-app tlsr9518adk80d text 579324 579320 -4 -0.0
lighting-app tlsr9518adk80d text 659780 659778 -2 -0.0
lighting-app-rpc tlsr9518adk80d text 659780 659778 -2 -0.0
pump-app tlsr9518adk80d text 585100 585098 -2 -0.0
temperature-measurement-app tlsr9518adk80d text 570854 570852 -2 -0.0
Full report (45 builds for bl602, bl702, cc13x2_26x2, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, psoc6, qpg, telink)
platform target config section b12e3e8 2ee56e1 change % change
bl602 lighting-app bl602 (read/write) 1350806 1350806 0 0.0
.bss 94690 94690 0 0.0
.data 9744 9744 0 0.0
.text 1026860 1026862 2 0.0
bl602+rpc (read/write) 1396254 1396254 0 0.0
.bss 102738 102738 0 0.0
.data 10136 10136 0 0.0
.text 1057796 1057794 -2 -0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1189075 1189075 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 292 292 0 0.0
.bss 69785 69785 0 0.0
.bss_psram 30064 30064 0 0.0
.comment 48 48 0 0.0
.data 4072 4072 0 0.0
.debug_abbrev 1551870 1551870 0 0.0
.debug_aranges 134304 134304 0 0.0
.debug_frame 492456 492456 0 0.0
.debug_info 40601128 40601127 -1 -0.0
.debug_line 5278983 5278983 0 0.0
.debug_loc 3418290 3418290 0 0.0
.debug_ranges 372480 372480 0 0.0
.debug_str 3580726 3580726 0 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 107904 107904 0 0.0
.rsvd 2960 2960 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 574866 574866 0 0.0
.symtab 173744 173744 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
956150 956148 -2 -0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1279055 1279055 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 292 292 0 0.0
.bss 77833 77833 0 0.0
.bss_psram 30320 30320 0 0.0
.comment 48 48 0 0.0
.data 4616 4616 0 0.0
.debug_abbrev 1700065 1700065 0 0.0
.debug_aranges 142544 142544 0 0.0
.debug_frame 520144 520144 0 0.0
.debug_info 45013160 45013159 -1 -0.0
.debug_line 5677745 5677745 0 0.0
.debug_loc 3614914 3614914 0 0.0
.debug_ranges 396256 396256 0 0.0
.debug_str 3984263 3984263 0 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 122016 122016 0 0.0
.rsvd 2960 2960 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 635883 635883 0 0.0
.symtab 192080 192080 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1030922 1030920 -2 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 680743 680743 0 0.0
(read/write) 170328 170328 0 0.0
.bss 80764 80764 0 0.0
.data 3352 3352 0 0.0
.rodata 88527 88527 0 0.0
.text 591900 591900 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 643887 643887 0 0.0
(read/write) 157432 157432 0 0.0
.bss 79964 79964 0 0.0
.data 3352 3352 0 0.0
.rodata 78399 78399 0 0.0
.text 565168 565168 0 0.0
lock-ftd LP_CC2652R7 (read only) 676991 676991 0 0.0
(read/write) 171448 171448 0 0.0
.bss 78220 78220 0 0.0
.data 3316 3316 0 0.0
.rodata 76711 76711 0 0.0
.text 599800 599800 0 0.0
lock-mtd LP_CC2652R7 (read only) 663739 663739 0 0.0
(read/write) 179956 179956 0 0.0
.bss 73476 73476 0 0.0
.data 3316 3316 0 0.0
.rodata 103523 103523 0 0.0
.text 559736 559736 0 0.0
pump-app LP_CC2652R7 (read only) 690195 690195 0 0.0
(read/write) 158988 158988 0 0.0
.bss 78196 78196 0 0.0
.data 3280 3280 0 0.0
.rodata 91083 91083 0 0.0
.text 598632 598632 0 0.0
pump-controller-app LP_CC2652R7 (read only) 675147 675147 0 0.0
(read/write) 174172 174172 0 0.0
.bss 78332 78332 0 0.0
.data 3304 3304 0 0.0
.rodata 86971 86971 0 0.0
.text 587696 587696 0 0.0
shell LP_CC2652R7 (read only) 672198 672190 -8 -0.0
(read/write) 180944 180952 8 0.0
.bss 82836 82836 0 0.0
.data 3348 3348 0 0.0
.rodata 85430 85430 0 0.0
.text 586456 586448 -8 -0.0
cc32xx lock CC3235SF_LAUNCHXL (read only) 643465 643465 0 0.0
(read/write) 203688 203688 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197088 197088 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 930213 930213 0 0.0
.debug_aranges 87336 87336 0 0.0
.debug_frame 300024 300024 0 0.0
.debug_info 20262923 2026292 1 0.0
.debug_line 2657815 2657815 0 0.0
.debug_loc 2800026 2800026 0 0.0
.debug_ranges 282240 282240 0 0.0
.debug_str 3023883 3023883 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105929 105929 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 378514 378514 0 0.0
.symtab 256560 256560 0 0.0
.text 0 0 0 0.0
535412 535412 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 586426 586426 0 0.0
.app_xip_area 463316 463316 0 0.0
.bss 65552 65552 0 0.0
.data 740 740 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 590394 590394 0 0.0
.app_xip_area 461988 461988 0 0.0
.bss 70840 70840 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 551654 551654 0 0.0
.app_xip_area 434040 434040 0 0.0
.bss 60096 60096 0 0.0
.data 696 696 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1031456 1031456 0 0.0
.bss 181236 181236 0 0.0
.data 2048 2048 0 0.0
.text 848152 848152 0 0.0
BRD4187C (read/write) 1014784 1014776 -8 -0.0
.bss 150128 150128 0 0.0
.data 2684 2684 0 0.0
.text 837376 837368 -8 -0.0
lock-app BRD4161A+wf200 (read/write) 1058016 1058008 -8 -0.0
.bss 152772 152772 0 0.0
.data 2056 2056 0 0.0
.text 903168 903160 -8 -0.0
window-app BRD4187C (read/write) 1130408 1130408 0 0.0
.bss 134552 134552 0 0.0
.data 2576 2576 0 0.0
.text 968684 968684 0 0.0
esp32 all-clusters-app c3devkit (read only) 1050864 1050866 2 0.0
(read/write) 1585690 1585690 0 0.0
.dram0.bss 77824 77824 0 0.0
.dram0.data 13752 13752 0 0.0
.flash.rodata 222352 222352 0 0.0
.flash.text 1050864 1050866 2 0.0
.iram0.text 72896 72896 0 0.0
m5stack (read only) 1102463 1102463 0 0.0
(read/write) 501755 501755 0 0.0
.dram0.bss 82864 82864 0 0.0
.dram0.data 34040 34040 0 0.0
.flash.rodata 251080 251080 0 0.0
.flash.text 1097079 1097079 0 0.0
.iram0.text 124855 124855 0 0.0
k32w contact k32w0+release (read/write) 671068 671068 0 0.0
.bss 65276 65276 0 0.0
.data 2204 2204 0 0.0
.text 572188 572188 0 0.0
light k32w0+release (read/write) 670120 670120 0 0.0
.bss 64948 64948 0 0.0
.data 2192 2192 0 0.0
.text 571580 571580 0 0.0
lock k32w0+release (read/write) 626564 626564 0 0.0
.bss 63084 63084 0 0.0
.data 2136 2136 0 0.0
.text 546328 546328 0 0.0
linux chip-tool-ipv6only arm64 (read only) 12138436 12138436 0 0.0
(read/write) 733448 733448 0 0.0
.bss 34296 34296 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 675552 675552 0 0.0
.dynamic 560 560 0 0.0
.got 15376 15376 0 0.0
.init 24 24 0 0.0
.init_array 216 216 0 0.0
.rodata 587188 587188 0 0.0
.text 9810628 9810628 0 0.0
thermostat-no-ble arm64 (read only) 2519284 2519284 0 0.0
(read/write) 145208 145208 0 0.0
.bss 56344 56344 0 0.0
.data 1784 1784 0 0.0
.data.rel.ro 77688 77688 0 0.0
.dynamic 560 560 0 0.0
.got 5336 5336 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 150704 150704 0 0.0
.text 2106272 2106272 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2467384 2467384 0 0.0
.bss 215804 215804 0 0.0
.data 5880 5880 0 0.0
.text 1430028 1430028 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841000 841000 0 0.0
(read/write) 1761964 1761964 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 189704 189704 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2640 2640 0 0.0
.debug_abbrev 1253561 1253561 0 0.0
.debug_aranges 111456 111456 0 0.0
.debug_frame 374624 374624 0 0.0
.debug_info 27980258 27980258 0 0.0
.debug_line 3792840 3792840 0 0.0
.debug_loc 3696008 3696008 0 0.0
.debug_ranges 364136 364136 0 0.0
.debug_str 3533116 3533116 0 0.0
.heap 841000 841000 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 581588 581588 0 0.0
.symtab 425936 425936 0 0.0
.text 0 0 0 0.0
1561232 1561232 0 0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 841808 841808 0 0.0
(read/write) 1702164 1702164 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188904 188904 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2632 2632 0 0.0
.debug_abbrev 1238894 1238894 0 0.0
.debug_aranges 110688 110688 0 0.0
.debug_frame 376960 376960 0 0.0
.debug_info 27524722 27524723 1 0.0
.debug_line 3800339 3800339 0 0.0
.debug_loc 3679209 3679209 0 0.0
.debug_ranges 362072 362072 0 0.0
.debug_str 3520238 3520238 0 0.0
.heap 841808 841808 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 541297 541297 0 0.0
.symtab 410848 410848 0 0.0
.text 1502240 1502240 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 850072 850072 0 0.0
(read/write) 1615876 1615876 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 180808 180808 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2464 2464 0 0.0
.debug_abbrev 1074249 1074249 0 0.0
.debug_aranges 102896 102896 0 0.0
.debug_frame 347248 347248 0 0.0
.debug_info 22866192 22866192 0 0.0
.debug_line 3353108 3353108 0 0.0
.debug_loc 3354490 3354490 0 0.0
.debug_ranges 320592 320592 0 0.0
.debug_str 3319000 3319000 0 0.0
.heap 850072 850072 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 477014 477014 0 0.0
.symtab 378832 378832 0 0.0
.text 1424216 1424216 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 845096 845096 0 0.0
(read/write) 1649740 1649740 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 185768 185768 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2480 2480 0 0.0
.debug_abbrev 1076193 1076193 0 0.0
.debug_aranges 103296 103296 0 0.0
.debug_frame 349008 349008 0 0.0
.debug_info 23118161 23118159 -2 -0.0
.debug_line 3355375 3355375 0 0.0
.debug_loc 3379185 3379185 0 0.0
.debug_ranges 323144 323144 0 0.0
.debug_str 3337811 3337811 0 0.0
.heap 845096 845096 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 480738 480738 0 0.0
.symtab 381008 381008 0 0.0
.text 1453104 1453104 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1151684 1151684 0 0.0
.bss 99804 99804 0 0.0
.data 852 852 0 0.0
.text 598780 598780 0 0.0
lock-app qpg6105+debug (read/write) 1118892 1118884 -8 -0.0
.bss 96292 96292 0 0.0
.data 864 864 0 0.0
.text 565992 565984 -8 -0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1017332 1017332 0 0.0
bss 97760 97760 0 0.0
text 687788 687788 0 0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 952548 952540 -8 -0.0
bss 96812 96812 0 0.0
text 649046 649044 -2 -0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 856580 856580 0 0.0
bss 88976 88976 0 0.0
text 579324 579320 -4 -0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 872436 872444 8 0.0
bss 89064 89064 0 0.0
text 593460 593462 2 0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 951004 951004 0 0.0
bss 97184 97184 0 0.0
text 659780 659778 -2 -0.0
lighting-app-rpc tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 951004 951004 0 0.0
bss 97184 97184 0 0.0
text 659780 659778 -2 -0.0
lock-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 910600 910608 8 0.0
bss 89628 89628 0 0.0
text 607082 607086 4 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 884004 884004 0 0.0
bss 89988 89988 0 0.0
text 603364 603364 0 0.0
pump-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 862052 862052 0 0.0
bss 89092 89092 0 0.0
text 585100 585098 -2 -0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 849304 849304 0 0.0
bss 88892 88892 0 0.0
text 575420 575420 0 0.0
temperature-measurement-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 845076 845076 0 0.0
bss 88752 88752 0 0.0
text 570854 570852 -2 -0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 876588 876588 0 0.0
bss 90456 90456 0 0.0
text 594992 594992 0 0.0

@github-actions
Copy link

github-actions bot commented Mar 3, 2023

PR #25432: Size comparison from af3fdc5 to 5bf181b

Decreases (1 build for cc32xx)
platform target config section af3fdc5 5bf181b change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20262928 20262927 -1 -0.0
Full report (1 build for cc32xx)
platform target config section af3fdc5 5bf181b change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 643465 643465 0 0.0
(read/write) 203688 203688 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197088 197088 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 930213 930213 0 0.0
.debug_aranges 87336 87336 0 0.0
.debug_frame 300024 300024 0 0.0
.debug_info 20262928 20262927 -1 -0.0
.debug_line 2657820 2657820 0 0.0
.debug_loc 2800026 2800026 0 0.0
.debug_ranges 282240 282240 0 0.0
.debug_str 3023883 3023883 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105929 105929 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 378514 378514 0 0.0
.symtab 256560 256560 0 0.0
.text 535412 535412 0 0.0

@github-actions
Copy link

github-actions bot commented Mar 3, 2023

PR #25432: Size comparison from af3fdc5 to 00d3aaf

Decreases (1 build for cc32xx)
platform target config section af3fdc5 00d3aaf change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20262928 20262927 -1 -0.0
Full report (1 build for cc32xx)
platform target config section af3fdc5 00d3aaf change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 643465 643465 0 0.0
(read/write) 203688 203688 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197088 197088 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 930213 930213 0 0.0
.debug_aranges 87336 87336 0 0.0
.debug_frame 300024 300024 0 0.0
.debug_info 20262928 20262927 -1 -0.0
.debug_line 2657820 2657820 0 0.0
.debug_loc 2800026 2800026 0 0.0
.debug_ranges 282240 282240 0 0.0
.debug_str 3023883 3023883 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105929 105929 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 378514 378514 0 0.0
.symtab 256560 256560 0 0.0
.text 535412 535412 0 0.0

@github-actions
Copy link

github-actions bot commented Mar 3, 2023

PR #25432: Size comparison from af3fdc5 to 033f03c

Increases (4 builds for bl702, cc13x2_26x2, psoc6)
platform target config section af3fdc5 033f03c change % change
bl702 lighting-app bl702+rpc .debug_info 45024686 45024687 1 0.0
.text 1031086 1031088 2 0.0
cc13x2_26x2 lock-mtd LP_CC2652R7 (read/write) 179956 179964 8 0.0
psoc6 all-clusters-minimal cy8ckit_062s2_43012 .debug_info 27524728 27524730 2 0.0
light cy8ckit_062s2_43012 .debug_info 22866199 22866200 1 0.0
Decreases (4 builds for bl602, cc13x2_26x2, psoc6, qpg)
platform target config section af3fdc5 033f03c change % change
bl602 lighting-app bl602 .text 1026860 1026858 -2 -0.0
cc13x2_26x2 lock-mtd LP_CC2652R7 (read only) 663739 663731 -8 -0.0
.text 559736 559728 -8 -0.0
psoc6 lock cy8ckit_062s2_43012 .debug_info 23118166 23118165 -1 -0.0
qpg lock-app qpg6105+debug (read/write) 1118892 1118884 -8 -0.0
.text 565992 565984 -8 -0.0
Full report (27 builds for bl602, bl702, cc13x2_26x2, cc32xx, cyw30739, k32w, linux, mbed, psoc6, qpg)
platform target config section af3fdc5 033f03c change % change
bl602 lighting-app bl602 (read/write) 1350806 1350806 0 0.0
.bss 94690 94690 0 0.0
.data 9744 9744 0 0.0
.text 1026860 1026858 -2 -0.0
bl602+rpc (read/write) 1396246 1396246 0 0.0
.bss 102738 102738 0 0.0
.data 10136 10136 0 0.0
.text 1057792 1057792 0 0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1189355 1189355 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 292 292 0 0.0
.bss 69793 69793 0 0.0
.bss_psram 30064 30064 0 0.0
.comment 48 48 0 0.0
.data 4072 4072 0 0.0
.debug_abbrev 1552037 1552037 0 0.0
.debug_aranges 134312 134312 0 0.0
.debug_frame 492504 492504 0 0.0
.debug_info 4061261 4061261 0 0.0
.debug_line 5280107 5280107 0 0.0
.debug_loc 3418447 3418447 0 0.0
.debug_ranges 372488 372488 0 0.0
.debug_str 3581489 3581489 0 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 107904 107904 0 0.0
.rsvd 2960 2960 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 575121 575121 0 0.0
.symtab 173776 173776 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
956420 956420 0 0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1279223 1279223 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 292 292 0 0.0
.bss 77841 77841 0 0.0
.bss_psram 30320 30320 0 0.0
.comment 48 48 0 0.0
.data 4616 4616 0 0.0
.debug_abbrev 1700340 1700340 0 0.0
.debug_aranges 142552 142552 0 0.0
.debug_frame 520192 520192 0 0.0
.debug_info 45024686 45024687 1 0.0
.debug_line 5678869 5678869 0 0.0
.debug_loc 3615116 3615116 0 0.0
.debug_ranges 396264 396264 0 0.0
.debug_str 3985026 3985026 0 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 122016 122016 0 0.0
.rsvd 2960 2960 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 636010 636010 0 0.0
.symtab 192096 192096 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1031086 1031088 2 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 680743 680743 0 0.0
(read/write) 170328 170328 0 0.0
.bss 80764 80764 0 0.0
.data 3352 3352 0 0.0
.rodata 88527 88527 0 0.0
.text 591900 591900 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 643887 643887 0 0.0
(read/write) 157432 157432 0 0.0
.bss 79964 79964 0 0.0
.data 3352 3352 0 0.0
.rodata 78399 78399 0 0.0
.text 565168 565168 0 0.0
lock-ftd LP_CC2652R7 (read only) 677167 677167 0 0.0
(read/write) 171280 171280 0 0.0
.bss 78228 78228 0 0.0
.data 3316 3316 0 0.0
.rodata 76711 76711 0 0.0
.text 599976 599976 0 0.0
lock-mtd LP_CC2652R7 (read only) 663739 663731 -8 -0.0
(read/write) 179956 179964 8 0.0
.bss 73476 73476 0 0.0
.data 3316 3316 0 0.0
.rodata 103523 103523 0 0.0
.text 559736 559728 -8 -0.0
pump-app LP_CC2652R7 (read only) 690363 690363 0 0.0
(read/write) 158828 158828 0 0.0
.bss 78204 78204 0 0.0
.data 3280 3280 0 0.0
.rodata 91083 91083 0 0.0
.text 598800 598800 0 0.0
pump-controller-app LP_CC2652R7 (read only) 675315 675315 0 0.0
(read/write) 174012 174012 0 0.0
.bss 78340 78340 0 0.0
.data 3304 3304 0 0.0
.rodata 86971 86971 0 0.0
.text 587864 587864 0 0.0
shell LP_CC2652R7 (read only) 672198 672198 0 0.0
(read/write) 180944 180944 0 0.0
.bss 82836 82836 0 0.0
.data 3348 3348 0 0.0
.rodata 85430 85430 0 0.0
.text 586456 586456 0 0.0
cc32xx lock CC3235SF_LAUNCHXL (read only) 643465 643465 0 0.0
(read/write) 203688 203688 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197088 197088 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 930213 930213 0 0.0
.debug_aranges 87336 87336 0 0.0
.debug_frame 300024 300024 0 0.0
.debug_info 20262928 20262928 0 0.0
.debug_line 2657820 2657820 0 0.0
.debug_loc 2800026 2800026 0 0.0
.debug_ranges 282240 282240 0 0.0
.debug_str 3023883 3023883 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105929 105929 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 378514 378514 0 0.0
.symtab 256560 256560 0 0.0
.text 0 0 0 0.0
535412 535412 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 586602 586602 0 0.0
.app_xip_area 463484 463484 0 0.0
.bss 65560 65560 0 0.0
.data 740 740 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 590570 590570 0 0.0
.app_xip_area 462156 462156 0 0.0
.bss 70848 70848 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 551654 551654 0 0.0
.app_xip_area 434040 434040 0 0.0
.bss 60096 60096 0 0.0
.data 696 696 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
k32w contact k32w0+release (read/write) 671068 671068 0 0.0
.bss 65276 65276 0 0.0
.data 2204 2204 0 0.0
.text 572188 572188 0 0.0
light k32w0+release (read/write) 670120 670120 0 0.0
.bss 64948 64948 0 0.0
.data 2192 2192 0 0.0
.text 571580 571580 0 0.0
lock k32w0+release (read/write) 626564 626564 0 0.0
.bss 63084 63084 0 0.0
.data 2136 2136 0 0.0
.text 546328 546328 0 0.0
linux chip-tool-ipv6only arm64 (read only) 12138436 12138436 0 0.0
(read/write) 733448 733448 0 0.0
.bss 34296 34296 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 675552 675552 0 0.0
.dynamic 560 560 0 0.0
.got 15376 15376 0 0.0
.init 24 24 0 0.0
.init_array 216 216 0 0.0
.rodata 587188 587188 0 0.0
.text 9810628 9810628 0 0.0
thermostat-no-ble arm64 (read only) 2520500 2520500 0 0.0
(read/write) 145224 145224 0 0.0
.bss 56344 56344 0 0.0
.data 1784 1784 0 0.0
.data.rel.ro 77688 77688 0 0.0
.dynamic 560 560 0 0.0
.got 5360 5360 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 150784 150784 0 0.0
.text 2107328 2107328 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2467384 2467384 0 0.0
.bss 215804 215804 0 0.0
.data 5880 5880 0 0.0
.text 1430028 1430028 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 0 0 0 0.0
(read only) 841000 841000 0 0.0
(read/write) 1761964 1761964 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 189704 189704 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2640 2640 0 0.0
.debug_abbrev 1253561 1253561 0 0.0
.debug_aranges 111456 111456 0 0.0
.debug_frame 374624 374624 0 0.0
.debug_info 27980264 27980264 0 0.0
.debug_line 3792847 3792847 0 0.0
.debug_loc 3696008 3696008 0 0.0
.debug_ranges 364136 364136 0 0.0
.debug_str 3533116 3533116 0 0.0
.heap 841000 841000 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 581588 581588 0 0.0
.symtab 425936 425936 0 0.0
.text 1561232 1561232 0 0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 0 0 0 0.0
(read only) 841808 841808 0 0.0
(read/write) 1702164 1702164 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188904 188904 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2632 2632 0 0.0
.debug_abbrev 1238894 1238894 0 0.0
.debug_aranges 110688 110688 0 0.0
.debug_frame 376960 376960 0 0.0
.debug_info 27524728 27524730 2 0.0
.debug_line 3800346 3800346 0 0.0
.debug_loc 3679209 3679209 0 0.0
.debug_ranges 362072 362072 0 0.0
.debug_str 3520238 3520238 0 0.0
.heap 841808 841808 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 541297 541297 0 0.0
.symtab 410848 410848 0 0.0
.text 1502240 1502240 0 0.0
.zero.table 8 8 0 0.0
light cy8ckit_062s2_43012 0 0 0 0.0
(read only) 850072 850072 0 0.0
(read/write) 1615876 1615876 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 180808 180808 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2464 2464 0 0.0
.debug_abbrev 1074249 1074249 0 0.0
.debug_aranges 102896 102896 0 0.0
.debug_frame 347248 347248 0 0.0
.debug_info 22866199 22866200 1 0.0
.debug_line 3353115 3353115 0 0.0
.debug_loc 3354490 3354490 0 0.0
.debug_ranges 320592 320592 0 0.0
.debug_str 3319000 3319000 0 0.0
.heap 850072 850072 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 477014 477014 0 0.0
.symtab 378832 378832 0 0.0
.text 1424216 1424216 0 0.0
.zero.table 8 8 0 0.0
lock cy8ckit_062s2_43012 0 0 0 0.0
(read only) 845096 845096 0 0.0
(read/write) 1649740 1649740 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 185768 185768 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2480 2480 0 0.0
.debug_abbrev 1076193 1076193 0 0.0
.debug_aranges 103296 103296 0 0.0
.debug_frame 349008 349008 0 0.0
.debug_info 23118166 23118165 -1 -0.0
.debug_line 3355382 3355382 0 0.0
.debug_loc 3379185 3379185 0 0.0
.debug_ranges 323144 323144 0 0.0
.debug_str 3337811 3337811 0 0.0
.heap 845096 845096 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 480738 480738 0 0.0
.symtab 381008 381008 0 0.0
.text 1453104 1453104 0 0.0
.zero.table 8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1151852 1151852 0 0.0
.bss 99812 99812 0 0.0
.data 852 852 0 0.0
.text 598948 598948 0 0.0
lock-app qpg6105+debug (read/write) 1118892 1118884 -8 -0.0
.bss 96292 96292 0 0.0
.data 864 864 0 0.0
.text 565992 565984 -8 -0.0

kkasperczyk-no and others added 8 commits March 7, 2023 13:21
Removed a workaround regarding IPC priority, which is
not needed anymore in Matter samples.
With nRF Connect SDK 2.3.0 mcumgr API changed and DFU over SMP
implementation required updating.
Bumped recommended nRF Connect SDK version to 2.3.0
and bring in list of commits including mainly Wi-Fi
support fixes:

1. Implemented most of the Wi-Fi DiagnosticDataProvider.

Added PHY statistics:
  * multicast RX/TX
  * unicast RX/TX
  * beacons lost/TX

Signed-off-by: Marcin Kajor <[email protected]>

2. wifi: map supplicant WiFi version into what Matter expects

This is needed to return proper Wi-Fi version code to the Matter
controller when querying wifinetworkdiagnostic cluster.

Signed-off-by: Marcin Kajor <[email protected]>

3. Fix the 'disconnected' status appearing after scan is issued.

Restore the connection state which was set before requesting scan.
Note that the connection was not really dropped, only the status
reporting was broken.

Signed-off-by: Marcin Kajor <[email protected]>

4. Fix ram_report and rom_report

Stop filtering out gdwarf-4 when passing flags from Zephyr
to Matter's GN build system. Older pyelftools versions are
not able to parse DWARF5 format, so ram and rom report
would not be generated.

Signed-off-by: Damian Krolik <[email protected]>

5. wifi: fixed the connection callback initialization

This fixes the misbehavior when attempting to establish a connection
with the network that is not added to the networkcommissioning cluster.

Signed-off-by: Marcin Kajor <[email protected]>

6. Fixed the timeout when connecting to the WPA3 secured AP.

Set the WiFi MFP (management frame protection) as at least optional.
The current WiFi driver does not support this parameter within the
scan result, so it must the hard coded for the time being
(made it mandatory for secure associations, just in case).

Signed-off-by: Marcin Kajor <[email protected]>

7. Switch to statically allocated heap

* Use malloc/free replacements based on statically allocated
Zephyr's sys_heap to provide better control of RAM usage.

*  Fixed hard fault once advertising mdns records

In mDNS code there isn't a check that would verify if
memory was allocated successfully. In case heap is too small
the application will fall into hard fault due to usage of
non-allocated memory.

* Increased heap size for Wi-Fi.

Empirically it was measured that heap size needed to pass the
Wi-Fi commissioning is ~25k. To be on the safe side let's set it
to 28k.

8. Disabled NFC thread callback

NFC lib introduced new callbacks that are not needed by the
Matter samples and increase flash usage.

9. Update required MCUmgr config

Updates required MCUmgr configuration for zephyr upmerge changes.

Signed-off-by: Jamie McCrae <[email protected]>

10. [nrfconnect] Disable unnecessary shell features

Save more flash by disabling shell wildcard, colors, stats
and kernel commands.

Signed-off-by: Damian Krolik <[email protected]>

11. Increased the default net_mgmt stack size.

Once we were hit by the net_mgmt thread stack overflow
while show casing the Matter over WiFi solution in
WiFi RF congested environment. Increase the default
stack size of net_mgmt from 768 to 1k.

Signed-off-by: Marcin Kajor <[email protected]>

12. Use generic channel when connecting.

Currently using the specific channel number does not work
reliably in WiFi driver, so use the generic channel screening.

Signed-off-by: Marcin Kajor <[email protected]>

13. Rework net_mgmt WiFi event handling to offload CHIP thread.

In the case there are many networks available, the scan result
events may saturate the CHIP work queue which has lower priority
then the net_mgmt and main threads. So, collect the scan results
in the main thread and only ping the CHIP thread when the scan is done.

Signed-off-by: Marcin Kajor <[email protected]>

14. Enable runtime PA gain control when FEM is active

Output power at the antenna port can be controlled
automatically after setting
MPSL_FEM_NRF21540_RUNTIME_PA_GAIN_CONTROL config.

After enabling it the user can use the
CONFIG_OPENTHREAD_DEFAULT_TX_POWER config to control OpenThread
radio output power.

15. [nrfconnect] Introduce the WiFi connection recovery feature

The WiFi connection recovery feature allows device re-scanning
and re-connecting to the known WiFi network after the device's reboot
and when the known SSID has not been found during the last scan.
The connection recovery interval is doubled with
every occurrence to the defined maximum value and then its value
depends on the maximum value +- the defined random jitter.

After restoring the connection, the Connection Recovery
Interval is restored to the defined minimum value after elapsing
of the defined delay to avoid frequent reconnections to a
poor link quality network.

[nrfconnect] WiFi connection recovery refinements:
  * simplify recovery time resetting (due to connection status
    reporting limitations)
  * remove CHIP_WIFI_CONNECTION_RECOVERY_RESET_DELAY (not needed now)
  * avoid duplicated recovery timeout bumps
  * always start the recovery with kConnectionRecoveryMinIntervalMs
  * fixed some edge cases and memory leaks
  * minor cleanup
  * logging refinements
  * Kconfig description fixes after tech writer review
  * Move new Kconfig definitions to the Kconfig.features

Signed-off-by: Marcin Kajor <[email protected]>

16. Fixed several Wi-Fi issues

* Disabled Wi-Fi/BLE coex as it was not stable and caused issues
in CI tests
* Increased sockets poll and net mgmt stack to fix crash on the
application boot due to no space to alloc all sockets
* Added generating kDnssdInitialized event after getting Wi-Fi
connected event to re-start mDNS server

Fix the unused variable error.

This is warning propagated to an error in the CI.

Signed-off-by: Marcin Kajor <[email protected]>

17. Mapped the WiFi security type from Zephyr to Matter

The Security type attribute was wrongly cast in the WiFi Manager.
Used switch-case-based mapping between two enum types
(Zephyr-Matter) to make sure that we properly cast between
two different types.
In Wi-Fi platform, the obsolete kDnssdPlatformInitialized
event name is used for event generation.

Updated name to kDnssdInitialized.
The Wi-Fi platform uses obsolete EMBER_ZCL macros for Wi-Fi
version and security getters.

Replaced EMBER macros with enums from WiFiNetworkDiagnostics.
* Aligned default configs
* Refactored WiFiInfo struct to use SecurityTypeEnum instead of
uint8_t.
@github-actions
Copy link

github-actions bot commented Mar 7, 2023

PR #25432: Size comparison from 2b1fcc5 to 7cd7b28

Full report (1 build for cc32xx)
platform target config section 2b1fcc5 7cd7b28 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 644425 644425 0 0.0
(read/write) 203688 203688 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197088 197088 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 930235 930235 0 0.0
.debug_aranges 87336 87336 0 0.0
.debug_frame 300028 300028 0 0.0
.debug_info 2026706 2026706 0 0.0
.debug_line 2659698 2659698 0 0.0
.debug_loc 2802749 2802749 0 0.0
.debug_ranges 282952 282952 0 0.0
.debug_str 3023892 3023892 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105929 105929 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 378514 378514 0 0.0
.symtab 256624 256624 0 0.0
.text 536372 536372 0 0.0

@Damian-Nordic Damian-Nordic merged commit 5dc7463 into project-chip:master Mar 7, 2023
@Damian-Nordic Damian-Nordic deleted the ncs_2_3_0_update branch March 7, 2023 17:02
lecndav pushed a commit to lecndav/connectedhomeip that referenced this pull request Mar 22, 2023
* [nrfconnect] Removed IPC priority workaround from overlays

Removed a workaround regarding IPC priority, which is
not needed anymore in Matter samples.

* [nrfconnect] Aligned DFU implementation to new mcumgr API

With nRF Connect SDK 2.3.0 mcumgr API changed and DFU over SMP
implementation required updating.

* [nrfconnect] Updated nRF Connect SDK to 2.3.0

Bumped recommended nRF Connect SDK version to 2.3.0
and bring in list of commits including mainly Wi-Fi
support fixes:

1. Implemented most of the Wi-Fi DiagnosticDataProvider.

Added PHY statistics:
  * multicast RX/TX
  * unicast RX/TX
  * beacons lost/TX

Signed-off-by: Marcin Kajor <[email protected]>

2. wifi: map supplicant WiFi version into what Matter expects

This is needed to return proper Wi-Fi version code to the Matter
controller when querying wifinetworkdiagnostic cluster.

Signed-off-by: Marcin Kajor <[email protected]>

3. Fix the 'disconnected' status appearing after scan is issued.

Restore the connection state which was set before requesting scan.
Note that the connection was not really dropped, only the status
reporting was broken.

Signed-off-by: Marcin Kajor <[email protected]>

4. Fix ram_report and rom_report

Stop filtering out gdwarf-4 when passing flags from Zephyr
to Matter's GN build system. Older pyelftools versions are
not able to parse DWARF5 format, so ram and rom report
would not be generated.

Signed-off-by: Damian Krolik <[email protected]>

5. wifi: fixed the connection callback initialization

This fixes the misbehavior when attempting to establish a connection
with the network that is not added to the networkcommissioning cluster.

Signed-off-by: Marcin Kajor <[email protected]>

6. Fixed the timeout when connecting to the WPA3 secured AP.

Set the WiFi MFP (management frame protection) as at least optional.
The current WiFi driver does not support this parameter within the
scan result, so it must the hard coded for the time being
(made it mandatory for secure associations, just in case).

Signed-off-by: Marcin Kajor <[email protected]>

7. Switch to statically allocated heap

* Use malloc/free replacements based on statically allocated
Zephyr's sys_heap to provide better control of RAM usage.

*  Fixed hard fault once advertising mdns records

In mDNS code there isn't a check that would verify if
memory was allocated successfully. In case heap is too small
the application will fall into hard fault due to usage of
non-allocated memory.

* Increased heap size for Wi-Fi.

Empirically it was measured that heap size needed to pass the
Wi-Fi commissioning is ~25k. To be on the safe side let's set it
to 28k.

8. Disabled NFC thread callback

NFC lib introduced new callbacks that are not needed by the
Matter samples and increase flash usage.

9. Update required MCUmgr config

Updates required MCUmgr configuration for zephyr upmerge changes.

Signed-off-by: Jamie McCrae <[email protected]>

10. [nrfconnect] Disable unnecessary shell features

Save more flash by disabling shell wildcard, colors, stats
and kernel commands.

Signed-off-by: Damian Krolik <[email protected]>

11. Increased the default net_mgmt stack size.

Once we were hit by the net_mgmt thread stack overflow
while show casing the Matter over WiFi solution in
WiFi RF congested environment. Increase the default
stack size of net_mgmt from 768 to 1k.

Signed-off-by: Marcin Kajor <[email protected]>

12. Use generic channel when connecting.

Currently using the specific channel number does not work
reliably in WiFi driver, so use the generic channel screening.

Signed-off-by: Marcin Kajor <[email protected]>

13. Rework net_mgmt WiFi event handling to offload CHIP thread.

In the case there are many networks available, the scan result
events may saturate the CHIP work queue which has lower priority
then the net_mgmt and main threads. So, collect the scan results
in the main thread and only ping the CHIP thread when the scan is done.

Signed-off-by: Marcin Kajor <[email protected]>

14. Enable runtime PA gain control when FEM is active

Output power at the antenna port can be controlled
automatically after setting
MPSL_FEM_NRF21540_RUNTIME_PA_GAIN_CONTROL config.

After enabling it the user can use the
CONFIG_OPENTHREAD_DEFAULT_TX_POWER config to control OpenThread
radio output power.

15. [nrfconnect] Introduce the WiFi connection recovery feature

The WiFi connection recovery feature allows device re-scanning
and re-connecting to the known WiFi network after the device's reboot
and when the known SSID has not been found during the last scan.
The connection recovery interval is doubled with
every occurrence to the defined maximum value and then its value
depends on the maximum value +- the defined random jitter.

After restoring the connection, the Connection Recovery
Interval is restored to the defined minimum value after elapsing
of the defined delay to avoid frequent reconnections to a
poor link quality network.

[nrfconnect] WiFi connection recovery refinements:
  * simplify recovery time resetting (due to connection status
    reporting limitations)
  * remove CHIP_WIFI_CONNECTION_RECOVERY_RESET_DELAY (not needed now)
  * avoid duplicated recovery timeout bumps
  * always start the recovery with kConnectionRecoveryMinIntervalMs
  * fixed some edge cases and memory leaks
  * minor cleanup
  * logging refinements
  * Kconfig description fixes after tech writer review
  * Move new Kconfig definitions to the Kconfig.features

Signed-off-by: Marcin Kajor <[email protected]>

16. Fixed several Wi-Fi issues

* Disabled Wi-Fi/BLE coex as it was not stable and caused issues
in CI tests
* Increased sockets poll and net mgmt stack to fix crash on the
application boot due to no space to alloc all sockets
* Added generating kDnssdInitialized event after getting Wi-Fi
connected event to re-start mDNS server

Fix the unused variable error.

This is warning propagated to an error in the CI.

Signed-off-by: Marcin Kajor <[email protected]>

17. Mapped the WiFi security type from Zephyr to Matter

The Security type attribute was wrongly cast in the WiFi Manager.
Used switch-case-based mapping between two enum types
(Zephyr-Matter) to make sure that we properly cast between
two different types.

* [nrfconnect] Fixed incorrect DNSSD event name

In Wi-Fi platform, the obsolete kDnssdPlatformInitialized
event name is used for event generation.

Updated name to kDnssdInitialized.

* [nrfconnect] Fixed Wi-Fi version and security getters

The Wi-Fi platform uses obsolete EMBER_ZCL macros for Wi-Fi
version and security getters.

Replaced EMBER macros with enums from WiFiNetworkDiagnostics.

* [nrfconnect] Fixed restyler diff in DiagnosticDataProviderImplNrf

* [nrfconnect] Addressed code review comments

* Aligned default configs
* Refactored WiFiInfo struct to use SecurityTypeEnum instead of
uint8_t.

* Fix native_posix tests

---------

Co-authored-by: Damian Krolik <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants