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] Bump nRF Connect SDK to 2.2.0 #24302

Merged
merged 17 commits into from
Jan 9, 2023

Conversation

Damian-Nordic
Copy link
Contributor

  1. Bump recommended nRF Connect SDK version to 2.2.0
  2. Bring in fixes to the platform code (mainly Wi-Fi support)
  3. Align examples with samples included in NCS 2.2.0
  4. Update workflows to use newest Docker images.

@CLAassistant
Copy link

CLAassistant commented Jan 6, 2023

CLA assistant check
All committers have signed the CLA.

@github-actions
Copy link

github-actions bot commented Jan 6, 2023

PR #24302: Size comparison from e766102 to e8bf721

Increases above 0.2%:

platform target config section e766102 e8bf721 change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1161587 1166428 4841 0.4
bss 143621 146712 3091 2.2
rodata 136176 136524 348 0.3
nrf7002dk_nrf5340_cpuapp (read/write) 1341494 1368084 26590 2.0
bss 105132 106012 880 0.8
rodata 204040 214008 9968 4.9
text 747796 762196 14400 1.9
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1108091 1112916 4825 0.4
bss 142856 145947 3091 2.2
rodata 112504 112852 348 0.3
light-switch-app nrf52840dk_nrf52840 (read/write) 1072891 1076860 3969 0.4
bss 135238 138329 3091 2.3
rodata 112104 112716 612 0.5
nrf7002dk_nrf5340_cpuapp (read/write) 1251302 1278216 26914 2.2
bss 98784 99664 880 0.9
rodata 168952 178892 9940 5.9
text 699132 713884 14752 2.1
lighting-app nrf52840dk_nrf52840+rpc (read/write) 1116767 1120184 3417 0.3
bss 145803 148686 2883 2.0
rodata 107132 107520 388 0.4
nrf52840dongle_nrf52840 (read/write) 1061223 1065076 3853 0.4
bss 153988 156811 2823 1.8
rodata 85756 86212 456 0.5
nrf5340dk_nrf5340_cpuapp rodata 109712 110308 596 0.5
nrf7002dk_nrf5340_cpuapp (read/write) 1251302 1278216 26914 2.2
bss 98784 99664 880 0.9
rodata 168952 178892 9940 5.9
text 699132 713884 14752 2.1
lock-app nrf52840dk_nrf52840 (read/write) 1108535 1112632 4097 0.4
bss 136286 139377 3091 2.3
rodata 134980 135592 612 0.5
nrf5340dk_nrf5340_cpuapp bss 133743 134209 466 0.3
rodata 127900 128552 652 0.5
nrf7002dk_nrf5340_cpuapp (read/write) 1287398 1314400 27002 2.1
bss 99866 100746 880 0.9
rodata 191884 201840 9956 5.2
text 711254 726012 14758 2.1
pigweed-app nrf52840dk_nrf52840 (read/write) 572023 575712 3689 0.6
bss 74821 77624 2803 3.7
rodata 44564 45200 636 1.4
pump-app nrf52840dk_nrf52840 (read/write) 1063995 1067964 3969 0.4
bss 135067 138158 3091 2.3
rodata 110520 111132 612 0.6
pump-controller-app nrf52840dk_nrf52840 (read/write) 1050379 1054348 3969 0.4
bss 134834 137925 3091 2.3
rodata 107000 107612 612 0.6
Increases (18 builds for bl602, bl702, esp32, nrfconnect)
platform target config section e766102 e8bf721 change % change
bl602 lighting-app bl602+rpc .text 1053114 1053116 2 0.0
bl702 lighting-app bl702+rpc .debug_info 44092235 44092236 1 0.0
.text 1033802 1033804 2 0.0
esp32 all-clusters-app c3devkit (read only) 1219576 1219578 2 0.0
.flash.text 1219576 1219578 2 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1161587 1166428 4841 0.4
bss 143621 146712 3091 2.2
rodata 136176 136524 348 0.3
text 801934 802960 1026 0.1
nrf7002dk_nrf5340_cpuapp (read/write) 1341494 1368084 26590 2.0
bss 105132 106012 880 0.8
rodata 204040 214008 9968 4.9
text 747796 762196 14400 1.9
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1108091 1112916 4825 0.4
bss 142856 145947 3091 2.2
rodata 112504 112852 348 0.3
text 772932 773948 1016 0.1
light-switch-app nrf52840dk_nrf52840 (read/write) 1072891 1076860 3969 0.4
bss 135238 138329 3091 2.3
rodata 112104 112716 612 0.5
nrf7002dk_nrf5340_cpuapp (read/write) 1251302 1278216 26914 2.2
bss 98784 99664 880 0.9
rodata 168952 178892 9940 5.9
text 699132 713884 14752 2.1
lighting-app nrf52840dk_nrf52840+rpc (read/write) 1116767 1120184 3417 0.3
bss 145803 148686 2883 2.0
rodata 107132 107520 388 0.4
nrf52840dongle_nrf52840 (read/write) 1061223 1065076 3853 0.4
bss 153988 156811 2823 1.8
rodata 85756 86212 456 0.5
text 738354 738452 98 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1063982 1064492 510 0.0
bss 143014 143296 282 0.2
rodata 109712 110308 596 0.5
nrf7002dk_nrf5340_cpuapp (read/write) 1251302 1278216 26914 2.2
bss 98784 99664 880 0.9
rodata 168952 178892 9940 5.9
text 699132 713884 14752 2.1
lock-app nrf52840dk_nrf52840 (read/write) 1108535 1112632 4097 0.4
bss 136286 139377 3091 2.3
rodata 134980 135592 612 0.5
text 757676 757692 16 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1020138 1021712 1574 0.2
bss 133743 134209 466 0.3
rodata 127900 128552 652 0.5
text 675398 675476 78 0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1287398 1314400 27002 2.1
bss 99866 100746 880 0.9
rodata 191884 201840 9956 5.2
text 711254 726012 14758 2.1
pigweed-app nrf52840dk_nrf52840 (read/write) 572023 575712 3689 0.6
bss 74821 77624 2803 3.7
rodata 44564 45200 636 1.4
pump-app nrf52840dk_nrf52840 (read/write) 1063995 1067964 3969 0.4
bss 135067 138158 3091 2.3
rodata 110520 111132 612 0.6
pump-controller-app nrf52840dk_nrf52840 (read/write) 1050379 1054348 3969 0.4
bss 134834 137925 3091 2.3
rodata 107000 107612 612 0.6
Decreases (16 builds for bl602, esp32, nrfconnect, psoc6, telink)
platform target config section e766102 e8bf721 change % change
bl602 lighting-app bl602 .text 1022164 1022162 -2 -0.0
esp32 all-clusters-app c3devkit (read/write) 1791050 1791034 -16 -0.0
.flash.rodata 248488 248472 -16 -0.0
m5stack (read/write) 564267 564263 -4 -0.0
.flash.rodata 314260 314256 -4 -0.0
nrfconnect light-switch-app nrf52840dk_nrf52840 text 745822 745708 -114 -0.0
lighting-app nrf52840dk_nrf52840+rpc text 782748 782560 -188 -0.0
nrf5340dk_nrf5340_cpuapp text 728174 727496 -678 -0.1
pigweed-app nrf52840dk_nrf52840 text 392480 392348 -132 -0.0
pump-app nrf52840dk_nrf52840 text 738696 738576 -120 -0.0
pump-controller-app nrf52840dk_nrf52840 text 728854 728740 -114 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_info 27081528 27081527 -1 -0.0
telink all-clusters-app tlsr9518adk80d (read/write) 1068740 1025524 -43216 -4.0
bss 97632 97512 -120 -0.1
text 724814 686454 -38360 -5.3
all-clusters-minimal-app tlsr9518adk80d (read/write) 1008032 964784 -43248 -4.3
bss 96856 96736 -120 -0.1
text 689964 651574 -38390 -5.6
light-switch-app tlsr9518adk80d (read/write) 929472 883260 -46212 -5.0
bss 89104 88984 -120 -0.1
text 636566 595214 -41352 -6.5
lighting-app tlsr9518adk80d (read/write) 1007440 961376 -46064 -4.6
bss 97156 97036 -120 -0.1
text 702346 661072 -41274 -5.9
ota-requestor-app tlsr9518adk80d (read/write) 943068 896860 -46208 -4.9
bss 90052 89932 -120 -0.1
text 647822 606476 -41346 -6.4
thermostat tlsr9518adk80d (read/write) 932636 886576 -46060 -4.9
bss 90496 90376 -120 -0.1
text 637272 596000 -41272 -6.5
Full report (65 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section e766102 e8bf721 change % change
bl602 lighting-app bl602 (read/write) 1344626 1344626 0 0.0
.bss 86510 86510 0 0.0
.data 9584 9584 0 0.0
.text 1022164 1022162 -2 -0.0
bl602+rpc (read/write) 1390074 1390074 0 0.0
.bss 94550 94550 0 0.0
.data 9976 9976 0 0.0
.text 1053114 1053116 2 0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1195951 1195951 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 66590 66590 0 0.0
.bss_psram 30048 30048 0 0.0
.comment 48 48 0 0.0
.data 4048 4048 0 0.0
.debug_abbrev 1534627 1534627 0 0.0
.debug_aranges 132552 132552 0 0.0
.debug_frame 486644 486644 0 0.0
.debug_info 39725271 39725271 0 0.0
.debug_line 5219470 5219470 0 0.0
.debug_loc 3392838 3392838 0 0.0
.debug_ranges 371904 371904 0 0.0
.debug_str 3503942 3503942 0 0.0
.hbn 509 509 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 116400 116400 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 569359 569359 0 0.0
.symtab 172000 172000 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
957006 957006 0 0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1288003 1288003 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 74622 74622 0 0.0
.bss_psram 30304 30304 0 0.0
.comment 48 48 0 0.0
.data 4600 4600 0 0.0
.debug_abbrev 1682752 1682752 0 0.0
.debug_aranges 140680 140680 0 0.0
.debug_frame 514176 514176 0 0.0
.debug_info 44092235 44092236 1 0.0
.debug_line 5616003 5616003 0 0.0
.debug_loc 3588130 3588130 0 0.0
.debug_ranges 395512 395512 0 0.0
.debug_str 3906477 3906477 0 0.0
.hbn 509 509 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 130848 130848 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 629948 629948 0 0.0
.symtab 190336 190336 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1033802 1033804 2 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 678283 678283 0 0.0
(read/write) 173164 173164 0 0.0
.bss 81140 81140 0 0.0
.data 3380 3380 0 0.0
.rodata 89995 89995 0 0.0
.text 587976 587976 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 642643 642643 0 0.0
(read/write) 157916 157916 0 0.0
.bss 80420 80420 0 0.0
.data 3380 3380 0 0.0
.rodata 79139 79139 0 0.0
.text 563184 563184 0 0.0
lock-ftd LP_CC2652R7 (read only) 675711 675711 0 0.0
(read/write) 173296 173296 0 0.0
.bss 78788 78788 0 0.0
.data 3304 3304 0 0.0
.rodata 77415 77415 0 0.0
.text 597816 597816 0 0.0
lock-mtd LP_CC2652R7 (read only) 660819 660819 0 0.0
(read/write) 183452 183452 0 0.0
.bss 74052 74052 0 0.0
.data 3304 3304 0 0.0
.rodata 103507 103507 0 0.0
.text 556832 556832 0 0.0
pump-app LP_CC2652R7 (read only) 689015 689015 0 0.0
(read/write) 160728 160728 0 0.0
.bss 78756 78756 0 0.0
.data 3268 3268 0 0.0
.rodata 91103 91103 0 0.0
.text 597428 597428 0 0.0
pump-controller-app LP_CC2652R7 (read only) 672811 672811 0 0.0
(read/write) 177036 177036 0 0.0
.bss 78860 78860 0 0.0
.data 3292 3292 0 0.0
.rodata 86587 86587 0 0.0
.text 585744 585744 0 0.0
shell LP_CC2652R7 (read only) 669530 669530 0 0.0
(read/write) 184244 184244 0 0.0
.bss 83468 83468 0 0.0
.data 3376 3376 0 0.0
.rodata 86738 86738 0 0.0
.text 582476 582476 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 586850 586850 0 0.0
.app_xip_area 463196 463196 0 0.0
.bss 66112 66112 0 0.0
.data 728 728 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 590550 590550 0 0.0
.app_xip_area 461600 461600 0 0.0
.bss 71400 71400 0 0.0
.data 736 736 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 550710 550710 0 0.0
.app_xip_area 432544 432544 0 0.0
.bss 60664 60664 0 0.0
.data 684 684 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 975124 975124 0 0.0
.bss 152172 152172 0 0.0
.data 2168 2168 0 0.0
.text 820764 820764 0 0.0
BRD4161A+rs911x (read/write) 1038320 1038320 0 0.0
.bss 186648 186648 0 0.0
.data 2012 2012 0 0.0
.text 849640 849640 0 0.0
BRD4187C (read/write) 1149004 1149004 0 0.0
.bss 138568 138568 0 0.0
.data 2516 2516 0 0.0
.text 983324 983324 0 0.0
lock-app BRD4161A+wf200 (read/write) 1067840 1067840 0 0.0
.bss 158184 158184 0 0.0
.data 2020 2020 0 0.0
.text 907612 907612 0 0.0
window-app BRD4187C (read/write) 1141808 1141808 0 0.0
.bss 139984 139984 0 0.0
.data 2540 2540 0 0.0
.text 974688 974688 0 0.0
esp32 all-clusters-app c3devkit (read only) 1219576 1219578 2 0.0
(read/write) 1791050 1791034 -16 -0.0
.dram0.bss 76912 76912 0 0.0
.dram0.data 13928 13928 0 0.0
.flash.rodata 248488 248472 -16 -0.0
.flash.text 1219576 1219578 2 0.0
.iram0.text 71188 71188 0 0.0
m5stack (read only) 1233447 1233447 0 0.0
(read/write) 564267 564263 -4 -0.0
.dram0.bss 82064 82064 0 0.0
.dram0.data 34224 34224 0 0.0
.flash.rodata 314260 314256 -4 -0.0
.flash.text 1228063 1228063 0 0.0
.iram0.text 124803 124803 0 0.0
k32w contact k32w0+release (read/write) 661356 661356 0 0.0
.bss 77032 77032 0 0.0
.data 2104 2104 0 0.0
.text 563108 563108 0 0.0
light k32w0+release (read/write) 672216 672216 0 0.0
.bss 74824 74824 0 0.0
.data 2060 2060 0 0.0
.text 592604 592604 0 0.0
lock k32w0+release (read/write) 632884 632884 0 0.0
.bss 75584 75584 0 0.0
.data 2080 2080 0 0.0
.text 552492 552492 0 0.0
linux all-clusters-app debug (read only) 3113689 3113689 0 0.0
(read/write) 158568 158568 0 0.0
.bss 62432 62432 0 0.0
.data 2304 2304 0 0.0
.data.rel.ro 87240 87240 0 0.0
.dynamic 608 608 0 0.0
.got 4768 4768 0 0.0
.init 27 27 0 0.0
.init_array 1184 1184 0 0.0
.rodata 281835 281835 0 0.0
.text 2647170 2647170 0 0.0
all-clusters-minimal-app debug (read only) 2937113 2937113 0 0.0
(read/write) 149968 149968 0 0.0
.bss 61632 61632 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 79608 79608 0 0.0
.dynamic 608 608 0 0.0
.got 4680 4680 0 0.0
.init 27 27 0 0.0
.init_array 1160 1160 0 0.0
.rodata 281195 281195 0 0.0
.text 2474274 2474274 0 0.0
bridge-app debug (read only) 2496537 2496537 0 0.0
(read/write) 133088 133088 0 0.0
.bss 52512 52512 0 0.0
.data 3792 3792 0 0.0
.data.rel.ro 70696 70696 0 0.0
.dynamic 608 608 0 0.0
.got 4600 4600 0 0.0
.init 27 27 0 0.0
.init_array 856 856 0 0.0
.rodata 212480 212480 0 0.0
.text 2112274 2112274 0 0.0
chip-tool debug (read only) 11171537 11171537 0 0.0
(read/write) 646880 646880 0 0.0
.bss 25880 25880 0 0.0
.data 2754 2754 0 0.0
.data.rel.ro 611648 611648 0 0.0
.dynamic 608 608 0 0.0
.got 5192 5192 0 0.0
.init 27 27 0 0.0
.init_array 736 736 0 0.0
.rodata 606693 606693 0 0.0
.text 9065668 9065668 0 0.0
chip-tool-ipv6only arm64 (read only) 10583356 10583356 0 0.0
(read/write) 696104 696104 0 0.0
.bss 33912 33912 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 640528 640528 0 0.0
.dynamic 560 560 0 0.0
.got 13840 13840 0 0.0
.init 24 24 0 0.0
.init_array 200 200 0 0.0
.rodata 536156 536156 0 0.0
.text 8398740 8398740 0 0.0
lighting-app debug+rpc (read only) 2663713 2663713 0 0.0
(read/write) 132456 132456 0 0.0
.bss 49952 49952 0 0.0
.data 2288 2288 0 0.0
.data.rel.ro 74024 74024 0 0.0
.dynamic 608 608 0 0.0
.got 4632 4632 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 228448 228448 0 0.0
.text 2258514 2258514 0 0.0
lock-app debug (read only) 2622905 2622905 0 0.0
(read/write) 127440 127440 0 0.0
.bss 48384 48384 0 0.0
.data 1904 1904 0 0.0
.data.rel.ro 70936 70936 0 0.0
.dynamic 608 608 0 0.0
.got 4664 4664 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 244680 244680 0 0.0
.text 2206322 2206322 0 0.0
ota-provider-app debug (read only) 2196793 2196793 0 0.0
(read/write) 105872 105872 0 0.0
.bss 46560 46560 0 0.0
.data 2080 2080 0 0.0
.data.rel.ro 52120 52120 0 0.0
.dynamic 608 608 0 0.0
.got 3728 3728 0 0.0
.init 27 27 0 0.0
.init_array 744 744 0 0.0
.rodata 196008 196008 0 0.0
.text 1860882 1860882 0 0.0
ota-requestor-app debug (read only) 2358249 2358249 0 0.0
(read/write) 113920 113920 0 0.0
.bss 49056 49056 0 0.0
.data 2448 2448 0 0.0
.data.rel.ro 57208 57208 0 0.0
.dynamic 608 608 0 0.0
.got 3728 3728 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 202704 202704 0 0.0
.text 2006642 2006642 0 0.0
shell debug (read only) 2646337 2646337 0 0.0
(read/write) 143032 143032 0 0.0
.bss 57832 57832 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 78136 78136 0 0.0
.dynamic 608 608 0 0.0
.got 4128 4128 0 0.0
.init 27 27 0 0.0
.init_array 1032 1032 0 0.0
.rodata 240050 240050 0 0.0
.text 2246578 2246578 0 0.0
thermostat-no-ble arm64 (read only) 2478452 2478452 0 0.0
(read/write) 145016 145016 0 0.0
.bss 55336 55336 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 78640 78640 0 0.0
.dynamic 560 560 0 0.0
.got 5192 5192 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 149712 149712 0 0.0
.text 2068144 2068144 0 0.0
tv-app debug (read only) 3285681 3285681 0 0.0
(read/write) 262280 262280 0 0.0
.bss 170776 170776 0 0.0
.data 4256 4256 0 0.0
.data.rel.ro 80544 80544 0 0.0
.dynamic 608 608 0 0.0
.got 5000 5000 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 269048 269048 0 0.0
.text 2822306 2822306 0 0.0
tv-casting-app debug (read only) 5627073 5627073 0 0.0
(read/write) 162640 162640 0 0.0
.bss 52152 52152 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 101960 101960 0 0.0
.dynamic 608 608 0 0.0
.got 4920 4920 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 361177 361177 0 0.0
.text 4988306 4988306 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2462848 2462848 0 0.0
.bss 214932 214932 0 0.0
.data 5872 5872 0 0.0
.text 1425492 1425492 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1161587 1166428 4841 0.4
bss 143621 146712 3091 2.2
rodata 136176 136524 348 0.3
text 801934 802960 1026 0.1
nrf7002dk_nrf5340_cpuapp (read/write) 1341494 1368084 26590 2.0
bss 105132 106012 880 0.8
rodata 204040 214008 9968 4.9
text 747796 762196 14400 1.9
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1108091 1112916 4825 0.4
bss 142856 145947 3091 2.2
rodata 112504 112852 348 0.3
text 772932 773948 1016 0.1
light-switch-app nrf52840dk_nrf52840 (read/write) 1072891 1076860 3969 0.4
bss 135238 138329 3091 2.3
rodata 112104 112716 612 0.5
text 745822 745708 -114 -0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1251302 1278216 26914 2.2
bss 98784 99664 880 0.9
rodata 168952 178892 9940 5.9
text 699132 713884 14752 2.1
lighting-app nrf52840dk_nrf52840+rpc (read/write) 1116767 1120184 3417 0.3
bss 145803 148686 2883 2.0
rodata 107132 107520 388 0.4
text 782748 782560 -188 -0.0
nrf52840dongle_nrf52840 (read/write) 1061223 1065076 3853 0.4
bss 153988 156811 2823 1.8
rodata 85756 86212 456 0.5
text 738354 738452 98 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1063982 1064492 510 0.0
bss 143014 143296 282 0.2
rodata 109712 110308 596 0.5
text 728174 727496 -678 -0.1
nrf7002dk_nrf5340_cpuapp (read/write) 1251302 1278216 26914 2.2
bss 98784 99664 880 0.9
rodata 168952 178892 9940 5.9
text 699132 713884 14752 2.1
lock-app nrf52840dk_nrf52840 (read/write) 1108535 1112632 4097 0.4
bss 136286 139377 3091 2.3
rodata 134980 135592 612 0.5
text 757676 757692 16 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1020138 1021712 1574 0.2
bss 133743 134209 466 0.3
rodata 127900 128552 652 0.5
text 675398 675476 78 0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1287398 1314400 27002 2.1
bss 99866 100746 880 0.9
rodata 191884 201840 9956 5.2
text 711254 726012 14758 2.1
pigweed-app nrf52840dk_nrf52840 (read/write) 572023 575712 3689 0.6
bss 74821 77624 2803 3.7
rodata 44564 45200 636 1.4
text 392480 392348 -132 -0.0
pump-app nrf52840dk_nrf52840 (read/write) 1063995 1067964 3969 0.4
bss 135067 138158 3091 2.3
rodata 110520 111132 612 0.6
text 738696 738576 -120 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 1050379 1054348 3969 0.4
bss 134834 137925 3091 2.3
rodata 107000 107612 612 0.6
text 728854 728740 -114 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 842056 842056 0 0.0
(read/write) 1749268 1749268 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188624 188624 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 2664 2664 0 0.0
.debug_abbrev 1243463 1243463 0 0.0
.debug_aranges 110840 110840 0 0.0
.debug_frame 372300 372300 0 0.0
.debug_info 27081528 27081527 -1 -0.0
.debug_line 3735193 3735193 0 0.0
.debug_loc 3637438 3637438 0 0.0
.debug_ranges 355584 355584 0 0.0
.debug_str 3459528 3459528 0 0.0
.heap 842056 842056 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 572583 572583 0 0.0
.symtab 422416 422416 0 0.0
.text 0 0 0 0.0
1549592 1549592 0 0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842784 842784 0 0.0
(read/write) 1691908 1691908 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187896 187896 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 2664 2664 0 0.0
.debug_abbrev 1235244 1235244 0 0.0
.debug_aranges 110312 110312 0 0.0
.debug_frame 375356 375356 0 0.0
.debug_info 26817892 26817892 0 0.0
.debug_line 3754091 3754091 0 0.0
.debug_loc 3625044 3625044 0 0.0
.debug_ranges 354200 354200 0 0.0
.debug_str 3448540 3448540 0 0.0
.heap 842784 842784 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 536672 536672 0 0.0
.symtab 408688 408688 0 0.0
.text 1492960 1492960 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 850976 850976 0 0.0
(read/write) 1609916 1609916 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 179912 179912 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 2456 2456 0 0.0
.debug_abbrev 1068633 1068633 0 0.0
.debug_aranges 102512 102512 0 0.0
.debug_frame 345688 345688 0 0.0
.debug_info 22280234 22280234 0 0.0
.debug_line 3320126 3320126 0 0.0
.debug_loc 3325256 3325256 0 0.0
.debug_ranges 318336 318336 0 0.0
.debug_str 3254126 3254126 0 0.0
.heap 850976 850976 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 472997 472997 0 0.0
.symtab 377184 377184 0 0.0
.text 1419160 1419160 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 845984 845984 0 0.0
(read/write) 1643932 1643932 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184888 184888 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 2472 2472 0 0.0
.debug_abbrev 1070433 1070433 0 0.0
.debug_aranges 102896 102896 0 0.0
.debug_frame 347488 347488 0 0.0
.debug_info 22498926 22498926 0 0.0
.debug_line 3321289 3321289 0 0.0
.debug_loc 3346799 3346799 0 0.0
.debug_ranges 320192 320192 0 0.0
.debug_str 3269964 3269964 0 0.0
.heap 845984 845984 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 475714 475714 0 0.0
.symtab 379008 379008 0 0.0
.text 1448184 1448184 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1149556 1149556 0 0.0
.bss 100348 100348 0 0.0
.data 840 840 0 0.0
.text 596656 596656 0 0.0
lock-app qpg6105+debug (read/write) 1116044 1116044 0 0.0
.bss 95828 95828 0 0.0
.data 836 836 0 0.0
.text 563140 563140 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1068740 1025524 -43216 -4.0
bss 97632 97512 -120 -0.1
text 724814 686454 -38360 -5.3
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1008032 964784 -43248 -4.3
bss 96856 96736 -120 -0.1
text 689964 651574 -38390 -5.6
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 929472 883260 -46212 -5.0
bss 89104 88984 -120 -0.1
text 636566 595214 -41352 -6.5
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1007440 961376 -46064 -4.6
bss 97156 97036 -120 -0.1
text 702346 661072 -41274 -5.9
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 943068 896860 -46208 -4.9
bss 90052 89932 -120 -0.1
text 647822 606476 -41346 -6.4
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 932636 886576 -46060 -4.9
bss 90496 90376 -120 -0.1
text 637272 596000 -41272 -6.5

@andy31415
Copy link
Contributor

@Damian-Nordic needs restyle and CLA signature from stephanosio

Damian-Nordic and others added 15 commits January 9, 2023 01:41
Change the recommended nRF Connect SDK version to v2.2.0.
- replace wpa_supplicant API calls with generic Zephyr net_mgmt API
- use net events to manage WiFi connection
- refactoring of the whole platform/nrfconnect/wifi code

Signed-off-by: Marcin Kajor <[email protected]>
With the current net_mgmt API it is necessary to scan networks to get
the security mode supported by an AP which we want to connect with.
Also fixed the invalid handling of net_mgmt event life time.

Signed-off-by: Marcin Kajor <[email protected]>
These changes were implied the the recent Zephyr upmerge:
- updates of Zephyr include paths
- removal of disabling of gpio1 in board DTS overlays
- fix for the possible dangling pointer compilation error
  after gcc got more picky about that (v10.3 vs. v12.1)

Signed-off-by: Marcin Kajor <[email protected]>
This is a workaround for the non-unreferenced BLE connection object
when restarting advertising in BLE disconnect callback.

Signed-off-by: Marcin Kajor <[email protected]>
Make sure the fail-safe works as expected with WiFi networking:
- disconnect when reverting the configuration
- always cleanup the provisioning data structures before connecting
  to avoid dummy buffer overwriting and data length issues

Signed-off-by: Marcin Kajor <[email protected]>
Router Solicitation is not sent after connecting to the Wi-Fi
network by the Wi-Fi driver, so in result Thread Border Router
doesn't send Router Advertisement to the device. As a workaround
sending RS was added in the Matter platform code.
We can now use this feature in spite of stats still
not being implemented.

Signed-off-by: Marcin Kajor <[email protected]>
Fix build with CHIP_MALLOC_SYS_HEAP Kconfig option that
replaces default malloc/free with alternatives based on
Zephyr's sys_heap.

Signed-off-by: Damian Krolik <[email protected]>
* Increase the SYSTEM_WORKQUEUE_STACK_SIZE to match supplicant needs
* Decrease the connection timeout to be lower than failsafe (35s)
* Adapt WiFiRequestStatus to follow supplicant implementation
* All of above makes the failsafe more robust

Signed-off-by: Marcin Kajor <[email protected]>
Do not disconnect/reconnect to the already attached network.

Signed-off-by: Marcin Kajor <[email protected]>
This commit updates the chip-module build configurations to define
`_DEFAULT_SOURCE` when compiling Matter because it uses non-standard
functions that are only available when `_DEFAULT_SOURCE` is defined.

Note that this used to be not necessary only because of a quirk in the
way Newlib handles the feature test macro, which resulted in Newlib
defining `_DEFAULT_SOURCE` when compiling with `-std=gnu`.

For more details, refer to the issue zephyrproject-rtos/zephyr#52739.
@github-actions
Copy link

github-actions bot commented Jan 9, 2023

PR #24302: Size comparison from b953c0b to 3ebc55c

Increases above 0.2%:

platform target config section b953c0b 3ebc55c change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1161587 1166428 4841 0.4
bss 143621 146712 3091 2.2
rodata 136176 136524 348 0.3
nrf7002dk_nrf5340_cpuapp (read/write) 1341494 1368084 26590 2.0
bss 105132 106012 880 0.8
rodata 204040 214008 9968 4.9
text 747796 762200 14404 1.9
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1108091 1112916 4825 0.4
bss 142856 145947 3091 2.2
rodata 112504 112852 348 0.3
light-switch-app nrf52840dk_nrf52840 (read/write) 1072891 1076860 3969 0.4
bss 135238 138329 3091 2.3
rodata 112104 112716 612 0.5
nrf7002dk_nrf5340_cpuapp (read/write) 1251302 1278216 26914 2.2
bss 98784 99664 880 0.9
rodata 168952 178892 9940 5.9
text 699132 713884 14752 2.1
lighting-app nrf52840dk_nrf52840+rpc (read/write) 1116767 1120184 3417 0.3
bss 145803 148686 2883 2.0
rodata 107132 107520 388 0.4
nrf52840dongle_nrf52840 (read/write) 1061223 1065076 3853 0.4
bss 153988 156811 2823 1.8
rodata 85756 86212 456 0.5
nrf5340dk_nrf5340_cpuapp rodata 109712 110308 596 0.5
nrf7002dk_nrf5340_cpuapp (read/write) 1251302 1278216 26914 2.2
bss 98784 99664 880 0.9
rodata 168952 178892 9940 5.9
text 699132 713884 14752 2.1
lock-app nrf52840dk_nrf52840 (read/write) 1108535 1112632 4097 0.4
bss 136286 139377 3091 2.3
rodata 134980 135592 612 0.5
nrf5340dk_nrf5340_cpuapp bss 133743 134209 466 0.3
rodata 127900 128552 652 0.5
nrf7002dk_nrf5340_cpuapp (read/write) 1287398 1314400 27002 2.1
bss 99866 100746 880 0.9
rodata 191884 201840 9956 5.2
text 711254 726012 14758 2.1
pigweed-app nrf52840dk_nrf52840 (read/write) 572023 575712 3689 0.6
bss 74821 77624 2803 3.7
rodata 44564 45200 636 1.4
pump-app nrf52840dk_nrf52840 (read/write) 1063995 1067964 3969 0.4
bss 135067 138158 3091 2.3
rodata 110520 111132 612 0.6
pump-controller-app nrf52840dk_nrf52840 (read/write) 1050379 1054348 3969 0.4
bss 134834 137925 3091 2.3
rodata 107000 107612 612 0.6
Increases (17 builds for cc13x2_26x2, esp32, nrfconnect)
platform target config section b953c0b 3ebc55c change % change
cc13x2_26x2 lock-mtd LP_CC2652R7 (read only) 660811 660819 8 0.0
.text 556824 556832 8 0.0
esp32 all-clusters-app c3devkit (read only) 1219574 1219578 4 0.0
.flash.text 1219574 1219578 4 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1161587 1166428 4841 0.4
bss 143621 146712 3091 2.2
rodata 136176 136524 348 0.3
text 801930 802960 1030 0.1
nrf7002dk_nrf5340_cpuapp (read/write) 1341494 1368084 26590 2.0
bss 105132 106012 880 0.8
rodata 204040 214008 9968 4.9
text 747796 762200 14404 1.9
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1108091 1112916 4825 0.4
bss 142856 145947 3091 2.2
rodata 112504 112852 348 0.3
text 772932 773948 1016 0.1
light-switch-app nrf52840dk_nrf52840 (read/write) 1072891 1076860 3969 0.4
bss 135238 138329 3091 2.3
rodata 112104 112716 612 0.5
nrf7002dk_nrf5340_cpuapp (read/write) 1251302 1278216 26914 2.2
bss 98784 99664 880 0.9
rodata 168952 178892 9940 5.9
text 699132 713884 14752 2.1
lighting-app nrf52840dk_nrf52840+rpc (read/write) 1116767 1120184 3417 0.3
bss 145803 148686 2883 2.0
rodata 107132 107520 388 0.4
nrf52840dongle_nrf52840 (read/write) 1061223 1065076 3853 0.4
bss 153988 156811 2823 1.8
rodata 85756 86212 456 0.5
text 738354 738448 94 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1063982 1064492 510 0.0
bss 143014 143296 282 0.2
rodata 109712 110308 596 0.5
nrf7002dk_nrf5340_cpuapp (read/write) 1251302 1278216 26914 2.2
bss 98784 99664 880 0.9
rodata 168952 178892 9940 5.9
text 699132 713884 14752 2.1
lock-app nrf52840dk_nrf52840 (read/write) 1108535 1112632 4097 0.4
bss 136286 139377 3091 2.3
rodata 134980 135592 612 0.5
text 757676 757692 16 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1020138 1021712 1574 0.2
bss 133743 134209 466 0.3
rodata 127900 128552 652 0.5
text 675398 675476 78 0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1287398 1314400 27002 2.1
bss 99866 100746 880 0.9
rodata 191884 201840 9956 5.2
text 711254 726012 14758 2.1
pigweed-app nrf52840dk_nrf52840 (read/write) 572023 575712 3689 0.6
bss 74821 77624 2803 3.7
rodata 44564 45200 636 1.4
pump-app nrf52840dk_nrf52840 (read/write) 1063995 1067964 3969 0.4
bss 135067 138158 3091 2.3
rodata 110520 111132 612 0.6
pump-controller-app nrf52840dk_nrf52840 (read/write) 1050379 1054348 3969 0.4
bss 134834 137925 3091 2.3
rodata 107000 107612 612 0.6
Decreases (21 builds for bl602, bl702, cc13x2_26x2, nrfconnect, psoc6, qpg, telink)
platform target config section b953c0b 3ebc55c change % change
bl602 lighting-app bl602 .text 1016648 1016646 -2 -0.0
bl702 lighting-app bl702 .debug_info 39725272 39725270 -2 -0.0
.text 957008 957004 -4 -0.0
bl702+rpc .debug_info 44092236 44092235 -1 -0.0
.text 1033804 1033802 -2 -0.0
cc13x2_26x2 lock-mtd LP_CC2652R7 (read/write) 183460 183452 -8 -0.0
nrfconnect light-switch-app nrf52840dk_nrf52840 text 745822 745708 -114 -0.0
lighting-app nrf52840dk_nrf52840+rpc text 782752 782560 -192 -0.0
nrf5340dk_nrf5340_cpuapp text 728174 727496 -678 -0.1
pigweed-app nrf52840dk_nrf52840 text 392480 392348 -132 -0.0
pump-app nrf52840dk_nrf52840 text 738692 738576 -116 -0.0
pump-controller-app nrf52840dk_nrf52840 text 728858 728740 -118 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_info 27081520 27081519 -1 -0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_info 26817885 26817883 -2 -0.0
light cy8ckit_062s2_43012 .debug_info 22280234 22280233 -1 -0.0
qpg lock-app qpg6105+debug (read/write) 1116044 1116036 -8 -0.0
.text 563140 563132 -8 -0.0
telink all-clusters-app tlsr9518adk80d (read/write) 1070336 1027120 -43216 -4.0
bss 98268 98148 -120 -0.1
text 725624 687262 -38362 -5.3
all-clusters-minimal-app tlsr9518adk80d (read/write) 1009624 966368 -43256 -4.3
bss 97488 97368 -120 -0.1
text 690770 652376 -38394 -5.6
contact-sensor-app tlsr9518adk80d (read/write) 914532 868456 -46076 -5.0
bss 89644 89524 -120 -0.1
text 622844 581564 -41280 -6.6
light-switch-app tlsr9518adk80d (read/write) 931032 884812 -46220 -5.0
bss 89736 89616 -120 -0.1
text 637382 596028 -41354 -6.5
lighting-app tlsr9518adk80d (read/write) 1009000 962936 -46064 -4.6
bss 97796 97676 -120 -0.1
text 703160 661878 -41282 -5.9
ota-requestor-app tlsr9518adk80d (read/write) 944624 898408 -46216 -4.9
bss 90688 90568 -120 -0.1
text 648630 607278 -41352 -6.4
thermostat tlsr9518adk80d (read/write) 934192 888116 -46076 -4.9
bss 91124 91004 -120 -0.1
text 638082 596804 -41278 -6.5
Full report (55 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section b953c0b 3ebc55c change % change
bl602 lighting-app bl602 (read/write) 1330486 1330486 0 0.0
.bss 86926 86926 0 0.0
.data 9576 9576 0 0.0
.text 1016648 1016646 -2 -0.0
bl602+rpc (read/write) 1375694 1375694 0 0.0
.bss 94966 94966 0 0.0
.data 9976 9976 0 0.0
.text 1047342 1047342 0 0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1195951 1195951 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 66590 66590 0 0.0
.bss_psram 30048 30048 0 0.0
.comment 48 48 0 0.0
.data 4048 4048 0 0.0
.debug_abbrev 1534627 1534627 0 0.0
.debug_aranges 132552 132552 0 0.0
.debug_frame 486644 486644 0 0.0
.debug_info 39725272 39725270 -2 -0.0
.debug_line 5219470 5219470 0 0.0
.debug_loc 3392838 3392838 0 0.0
.debug_ranges 371904 371904 0 0.0
.debug_str 3503565 3503565 0 0.0
.hbn 509 509 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 116400 116400 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 569353 569353 0 0.0
.symtab 172000 172000 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
957008 957004 -4 -0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1288003 1288003 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 74622 74622 0 0.0
.bss_psram 30304 30304 0 0.0
.comment 48 48 0 0.0
.data 4600 4600 0 0.0
.debug_abbrev 1682752 1682752 0 0.0
.debug_aranges 140680 140680 0 0.0
.debug_frame 514176 514176 0 0.0
.debug_info 44092236 44092235 -1 -0.0
.debug_line 5616003 5616003 0 0.0
.debug_loc 3588130 3588130 0 0.0
.debug_ranges 395512 395512 0 0.0
.debug_str 3906100 3906100 0 0.0
.hbn 509 509 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 130848 130848 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 629942 629942 0 0.0
.symtab 190336 190336 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1033804 1033802 -2 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 678283 678283 0 0.0
(read/write) 173164 173164 0 0.0
.bss 81140 81140 0 0.0
.data 3380 3380 0 0.0
.rodata 89995 89995 0 0.0
.text 587976 587976 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 642643 642643 0 0.0
(read/write) 157916 157916 0 0.0
.bss 80420 80420 0 0.0
.data 3380 3380 0 0.0
.rodata 79139 79139 0 0.0
.text 563184 563184 0 0.0
lock-ftd LP_CC2652R7 (read only) 675711 675711 0 0.0
(read/write) 173296 173296 0 0.0
.bss 78788 78788 0 0.0
.data 3304 3304 0 0.0
.rodata 77415 77415 0 0.0
.text 597816 597816 0 0.0
lock-mtd LP_CC2652R7 (read only) 660811 660819 8 0.0
(read/write) 183460 183452 -8 -0.0
.bss 74052 74052 0 0.0
.data 3304 3304 0 0.0
.rodata 103507 103507 0 0.0
.text 556824 556832 8 0.0
pump-app LP_CC2652R7 (read only) 689015 689015 0 0.0
(read/write) 160728 160728 0 0.0
.bss 78756 78756 0 0.0
.data 3268 3268 0 0.0
.rodata 91103 91103 0 0.0
.text 597428 597428 0 0.0
pump-controller-app LP_CC2652R7 (read only) 672811 672811 0 0.0
(read/write) 177036 177036 0 0.0
.bss 78860 78860 0 0.0
.data 3292 3292 0 0.0
.rodata 86587 86587 0 0.0
.text 585744 585744 0 0.0
shell LP_CC2652R7 (read only) 669530 669530 0 0.0
(read/write) 184244 184244 0 0.0
.bss 83468 83468 0 0.0
.data 3376 3376 0 0.0
.rodata 86738 86738 0 0.0
.text 582476 582476 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 586850 586850 0 0.0
.app_xip_area 463196 463196 0 0.0
.bss 66112 66112 0 0.0
.data 728 728 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 590550 590550 0 0.0
.app_xip_area 461600 461600 0 0.0
.bss 71400 71400 0 0.0
.data 736 736 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 550710 550710 0 0.0
.app_xip_area 432544 432544 0 0.0
.bss 60664 60664 0 0.0
.data 684 684 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 975124 975124 0 0.0
.bss 152172 152172 0 0.0
.data 2168 2168 0 0.0
.text 820764 820764 0 0.0
BRD4161A+rs911x (read/write) 1038320 1038320 0 0.0
.bss 186648 186648 0 0.0
.data 2012 2012 0 0.0
.text 849640 849640 0 0.0
BRD4187C (read/write) 1149004 1149004 0 0.0
.bss 138568 138568 0 0.0
.data 2516 2516 0 0.0
.text 983324 983324 0 0.0
lock-app BRD4161A+wf200 (read/write) 1067840 1067840 0 0.0
.bss 158184 158184 0 0.0
.data 2020 2020 0 0.0
.text 907612 907612 0 0.0
window-app BRD4187C (read/write) 1141808 1141808 0 0.0
.bss 139984 139984 0 0.0
.data 2540 2540 0 0.0
.text 974688 974688 0 0.0
esp32 all-clusters-app c3devkit (read only) 1219574 1219578 4 0.0
(read/write) 1791050 1791050 0 0.0
.dram0.bss 76912 76912 0 0.0
.dram0.data 13928 13928 0 0.0
.flash.rodata 248488 248488 0 0.0
.flash.text 1219574 1219578 4 0.0
.iram0.text 71188 71188 0 0.0
m5stack (read only) 1233447 1233447 0 0.0
(read/write) 564267 564267 0 0.0
.dram0.bss 82064 82064 0 0.0
.dram0.data 34224 34224 0 0.0
.flash.rodata 314260 314260 0 0.0
.flash.text 1228063 1228063 0 0.0
.iram0.text 124803 124803 0 0.0
k32w contact k32w0+release (read/write) 661356 661356 0 0.0
.bss 77032 77032 0 0.0
.data 2104 2104 0 0.0
.text 563108 563108 0 0.0
light k32w0+release (read/write) 672216 672216 0 0.0
.bss 74824 74824 0 0.0
.data 2060 2060 0 0.0
.text 592604 592604 0 0.0
lock k32w0+release (read/write) 632884 632884 0 0.0
.bss 75584 75584 0 0.0
.data 2080 2080 0 0.0
.text 552492 552492 0 0.0
linux chip-tool-ipv6only arm64 (read only) 10667180 10667180 0 0.0
(read/write) 690504 690504 0 0.0
.bss 33912 33912 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 634856 634856 0 0.0
.dynamic 560 560 0 0.0
.got 13920 13920 0 0.0
.init 24 24 0 0.0
.init_array 200 200 0 0.0
.rodata 550172 550172 0 0.0
.text 8481812 8481812 0 0.0
thermostat-no-ble arm64 (read only) 2478452 2478452 0 0.0
(read/write) 145016 145016 0 0.0
.bss 55336 55336 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 78640 78640 0 0.0
.dynamic 560 560 0 0.0
.got 5192 5192 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 149712 149712 0 0.0
.text 2068144 2068144 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2462848 2462848 0 0.0
.bss 214932 214932 0 0.0
.data 5872 5872 0 0.0
.text 1425492 1425492 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1161587 1166428 4841 0.4
bss 143621 146712 3091 2.2
rodata 136176 136524 348 0.3
text 801930 802960 1030 0.1
nrf7002dk_nrf5340_cpuapp (read/write) 1341494 1368084 26590 2.0
bss 105132 106012 880 0.8
rodata 204040 214008 9968 4.9
text 747796 762200 14404 1.9
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1108091 1112916 4825 0.4
bss 142856 145947 3091 2.2
rodata 112504 112852 348 0.3
text 772932 773948 1016 0.1
light-switch-app nrf52840dk_nrf52840 (read/write) 1072891 1076860 3969 0.4
bss 135238 138329 3091 2.3
rodata 112104 112716 612 0.5
text 745822 745708 -114 -0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1251302 1278216 26914 2.2
bss 98784 99664 880 0.9
rodata 168952 178892 9940 5.9
text 699132 713884 14752 2.1
lighting-app nrf52840dk_nrf52840+rpc (read/write) 1116767 1120184 3417 0.3
bss 145803 148686 2883 2.0
rodata 107132 107520 388 0.4
text 782752 782560 -192 -0.0
nrf52840dongle_nrf52840 (read/write) 1061223 1065076 3853 0.4
bss 153988 156811 2823 1.8
rodata 85756 86212 456 0.5
text 738354 738448 94 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1063982 1064492 510 0.0
bss 143014 143296 282 0.2
rodata 109712 110308 596 0.5
text 728174 727496 -678 -0.1
nrf7002dk_nrf5340_cpuapp (read/write) 1251302 1278216 26914 2.2
bss 98784 99664 880 0.9
rodata 168952 178892 9940 5.9
text 699132 713884 14752 2.1
lock-app nrf52840dk_nrf52840 (read/write) 1108535 1112632 4097 0.4
bss 136286 139377 3091 2.3
rodata 134980 135592 612 0.5
text 757676 757692 16 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1020138 1021712 1574 0.2
bss 133743 134209 466 0.3
rodata 127900 128552 652 0.5
text 675398 675476 78 0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1287398 1314400 27002 2.1
bss 99866 100746 880 0.9
rodata 191884 201840 9956 5.2
text 711254 726012 14758 2.1
pigweed-app nrf52840dk_nrf52840 (read/write) 572023 575712 3689 0.6
bss 74821 77624 2803 3.7
rodata 44564 45200 636 1.4
text 392480 392348 -132 -0.0
pump-app nrf52840dk_nrf52840 (read/write) 1063995 1067964 3969 0.4
bss 135067 138158 3091 2.3
rodata 110520 111132 612 0.6
text 738692 738576 -116 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 1050379 1054348 3969 0.4
bss 134834 137925 3091 2.3
rodata 107000 107612 612 0.6
text 728858 728740 -118 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 842056 842056 0 0.0
(read/write) 1749268 1749268 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188624 188624 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 2664 2664 0 0.0
.debug_abbrev 1243463 1243463 0 0.0
.debug_aranges 110840 110840 0 0.0
.debug_frame 372300 372300 0 0.0
.debug_info 27081520 27081519 -1 -0.0
.debug_line 3735193 3735193 0 0.0
.debug_loc 3637422 3637422 0 0.0
.debug_ranges 355584 355584 0 0.0
.debug_str 3459152 3459152 0 0.0
.heap 842056 842056 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 572577 572577 0 0.0
.symtab 422416 422416 0 0.0
.text 0 0 0 0.0
1549592 1549592 0 0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842784 842784 0 0.0
(read/write) 1691908 1691908 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187896 187896 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 2664 2664 0 0.0
.debug_abbrev 1235244 1235244 0 0.0
.debug_aranges 110312 110312 0 0.0
.debug_frame 375356 375356 0 0.0
.debug_info 26817885 26817883 -2 -0.0
.debug_line 3754091 3754091 0 0.0
.debug_loc 3625028 3625028 0 0.0
.debug_ranges 354200 354200 0 0.0
.debug_str 3448164 3448164 0 0.0
.heap 842784 842784 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 536666 536666 0 0.0
.symtab 408688 408688 0 0.0
.text 1492960 1492960 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 850976 850976 0 0.0
(read/write) 1609916 1609916 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 179912 179912 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 2456 2456 0 0.0
.debug_abbrev 1068633 1068633 0 0.0
.debug_aranges 102512 102512 0 0.0
.debug_frame 345688 345688 0 0.0
.debug_info 22280234 22280233 -1 -0.0
.debug_line 3320126 3320126 0 0.0
.debug_loc 3325256 3325256 0 0.0
.debug_ranges 318336 318336 0 0.0
.debug_str 3253750 3253750 0 0.0
.heap 850976 850976 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 472991 472991 0 0.0
.symtab 377184 377184 0 0.0
.text 1419160 1419160 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 845984 845984 0 0.0
(read/write) 1643932 1643932 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184888 184888 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 2472 2472 0 0.0
.debug_abbrev 1070433 1070433 0 0.0
.debug_aranges 102896 102896 0 0.0
.debug_frame 347488 347488 0 0.0
.debug_info 22498899 22498899 0 0.0
.debug_line 3321289 3321289 0 0.0
.debug_loc 3346814 3346814 0 0.0
.debug_ranges 320192 320192 0 0.0
.debug_str 3269588 3269588 0 0.0
.heap 845984 845984 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 475708 475708 0 0.0
.symtab 379008 379008 0 0.0
.text 1448184 1448184 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1149556 1149556 0 0.0
.bss 100348 100348 0 0.0
.data 840 840 0 0.0
.text 596656 596656 0 0.0
lock-app qpg6105+debug (read/write) 1116044 1116036 -8 -0.0
.bss 95828 95828 0 0.0
.data 836 836 0 0.0
.text 563140 563132 -8 -0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1070336 1027120 -43216 -4.0
bss 98268 98148 -120 -0.1
text 725624 687262 -38362 -5.3
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1009624 966368 -43256 -4.3
bss 97488 97368 -120 -0.1
text 690770 652376 -38394 -5.6
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 914532 868456 -46076 -5.0
bss 89644 89524 -120 -0.1
text 622844 581564 -41280 -6.6
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 931032 884812 -46220 -5.0
bss 89736 89616 -120 -0.1
text 637382 596028 -41354 -6.5
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1009000 962936 -46064 -4.6
bss 97796 97676 -120 -0.1
text 703160 661878 -41282 -5.9
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 944624 898408 -46216 -4.9
bss 90688 90568 -120 -0.1
text 648630 607278 -41352 -6.4
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 934192 888116 -46076 -4.9
bss 91124 91004 -120 -0.1
text 638082 596804 -41278 -6.5

@github-actions
Copy link

github-actions bot commented Jan 9, 2023

PR #24302: Size comparison from ffc8d97 to b95a710

Increases above 0.2%:

platform target config section ffc8d97 b95a710 change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1161587 1166428 4841 0.4
bss 143621 146712 3091 2.2
rodata 136176 136524 348 0.3
nrf7002dk_nrf5340_cpuapp (read/write) 1341494 1368084 26590 2.0
bss 105132 106012 880 0.8
rodata 204040 214008 9968 4.9
text 747796 762196 14400 1.9
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1108091 1112916 4825 0.4
bss 142856 145947 3091 2.2
rodata 112504 112852 348 0.3
light-switch-app nrf52840dk_nrf52840 (read/write) 1072891 1076860 3969 0.4
bss 135238 138329 3091 2.3
rodata 112104 112716 612 0.5
nrf7002dk_nrf5340_cpuapp (read/write) 1251302 1278216 26914 2.2
bss 98784 99664 880 0.9
rodata 168952 178892 9940 5.9
text 699132 713884 14752 2.1
lighting-app nrf52840dk_nrf52840+rpc (read/write) 1116831 1120248 3417 0.3
bss 145803 148686 2883 2.0
rodata 107132 107520 388 0.4
nrf52840dongle_nrf52840 (read/write) 1061223 1065076 3853 0.4
bss 153988 156811 2823 1.8
rodata 85756 86212 456 0.5
nrf5340dk_nrf5340_cpuapp rodata 109712 110308 596 0.5
nrf7002dk_nrf5340_cpuapp (read/write) 1251302 1278216 26914 2.2
bss 98784 99664 880 0.9
rodata 168952 178892 9940 5.9
text 699132 713884 14752 2.1
lock-app nrf52840dk_nrf52840 (read/write) 1108535 1112632 4097 0.4
bss 136286 139377 3091 2.3
rodata 134980 135592 612 0.5
nrf5340dk_nrf5340_cpuapp bss 133743 134209 466 0.3
rodata 127900 128552 652 0.5
nrf7002dk_nrf5340_cpuapp (read/write) 1287382 1314400 27018 2.1
bss 99866 100746 880 0.9
rodata 191884 201840 9956 5.2
text 711250 726012 14762 2.1
pigweed-app nrf52840dk_nrf52840 (read/write) 572087 575776 3689 0.6
bss 74821 77624 2803 3.7
rodata 44564 45200 636 1.4
pump-app nrf52840dk_nrf52840 (read/write) 1063995 1067948 3953 0.4
bss 135067 138158 3091 2.3
rodata 110520 111132 612 0.6
pump-controller-app nrf52840dk_nrf52840 (read/write) 1050379 1054348 3969 0.4
bss 134834 137925 3091 2.3
rodata 107000 107612 612 0.6
Increases (22 builds for bl602, cc13x2_26x2, cyw30739, esp32, nrfconnect, psoc6)
platform target config section ffc8d97 b95a710 change % change
bl602 lighting-app bl602 .text 1016646 1016648 2 0.0
cc13x2_26x2 all-clusters-minimal-app LP_CC2652R7 (read only) 642435 642443 8 0.0
.text 562976 562984 8 0.0
lock-ftd LP_CC2652R7 (read only) 675559 675567 8 0.0
.text 597664 597672 8 0.0
shell LP_CC2652R7 (read/write) 184444 184452 8 0.0
cyw30739 ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 550558 550566 8 0.0
.app_xip_area 432392 432400 8 0.0
esp32 all-clusters-app c3devkit (read only) 1219574 1219576 2 0.0
(read/write) 1791034 1791050 16 0.0
.flash.rodata 248472 248488 16 0.0
.flash.text 1219574 1219576 2 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1161587 1166428 4841 0.4
bss 143621 146712 3091 2.2
rodata 136176 136524 348 0.3
text 801930 802960 1030 0.1
nrf7002dk_nrf5340_cpuapp (read/write) 1341494 1368084 26590 2.0
bss 105132 106012 880 0.8
rodata 204040 214008 9968 4.9
text 747796 762196 14400 1.9
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1108091 1112916 4825 0.4
bss 142856 145947 3091 2.2
rodata 112504 112852 348 0.3
text 772932 773948 1016 0.1
light-switch-app nrf52840dk_nrf52840 (read/write) 1072891 1076860 3969 0.4
bss 135238 138329 3091 2.3
rodata 112104 112716 612 0.5
nrf7002dk_nrf5340_cpuapp (read/write) 1251302 1278216 26914 2.2
bss 98784 99664 880 0.9
rodata 168952 178892 9940 5.9
text 699132 713884 14752 2.1
lighting-app nrf52840dk_nrf52840+rpc (read/write) 1116831 1120248 3417 0.3
bss 145803 148686 2883 2.0
rodata 107132 107520 388 0.4
nrf52840dongle_nrf52840 (read/write) 1061223 1065076 3853 0.4
bss 153988 156811 2823 1.8
rodata 85756 86212 456 0.5
text 738354 738452 98 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1063982 1064492 510 0.0
bss 143014 143296 282 0.2
rodata 109712 110308 596 0.5
nrf7002dk_nrf5340_cpuapp (read/write) 1251302 1278216 26914 2.2
bss 98784 99664 880 0.9
rodata 168952 178892 9940 5.9
text 699132 713884 14752 2.1
lock-app nrf52840dk_nrf52840 (read/write) 1108535 1112632 4097 0.4
bss 136286 139377 3091 2.3
rodata 134980 135592 612 0.5
text 757676 757692 16 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1020138 1021712 1574 0.2
bss 133743 134209 466 0.3
rodata 127900 128552 652 0.5
text 675398 675476 78 0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1287382 1314400 27018 2.1
bss 99866 100746 880 0.9
rodata 191884 201840 9956 5.2
text 711250 726012 14762 2.1
pigweed-app nrf52840dk_nrf52840 (read/write) 572087 575776 3689 0.6
bss 74821 77624 2803 3.7
rodata 44564 45200 636 1.4
pump-app nrf52840dk_nrf52840 (read/write) 1063995 1067948 3953 0.4
bss 135067 138158 3091 2.3
rodata 110520 111132 612 0.6
pump-controller-app nrf52840dk_nrf52840 (read/write) 1050379 1054348 3969 0.4
bss 134834 137925 3091 2.3
rodata 107000 107612 612 0.6
psoc6 all-clusters cy8ckit_062s2_43012 .debug_info 27081519 27081520 1 0.0
Decreases (18 builds for bl702, cc13x2_26x2, nrfconnect, psoc6, qpg, telink)
platform target config section ffc8d97 b95a710 change % change
bl702 lighting-app bl702+rpc .debug_info 44200699 44200697 -2 -0.0
.text 1033766 1033762 -4 -0.0
cc13x2_26x2 lock-ftd LP_CC2652R7 (read/write) 173448 173440 -8 -0.0
shell LP_CC2652R7 (read only) 669330 669322 -8 -0.0
.text 582276 582268 -8 -0.0
nrfconnect light-switch-app nrf52840dk_nrf52840 text 745822 745708 -114 -0.0
lighting-app nrf52840dk_nrf52840+rpc text 782816 782620 -196 -0.0
nrf5340dk_nrf5340_cpuapp text 728174 727492 -682 -0.1
pigweed-app nrf52840dk_nrf52840 text 392544 392412 -132 -0.0
pump-app nrf52840dk_nrf52840 text 738696 738572 -124 -0.0
pump-controller-app nrf52840dk_nrf52840 text 728858 728740 -118 -0.0
psoc6 all-clusters-minimal cy8ckit_062s2_43012 .debug_info 26817884 26817883 -1 -0.0
qpg lighting-app qpg6105+debug (read/write) 1149452 1149444 -8 -0.0
.text 596552 596544 -8 -0.0
telink all-clusters-app tlsr9518adk80d (read/write) 1070344 1027120 -43224 -4.0
bss 98268 98148 -120 -0.1
text 725626 687262 -38364 -5.3
all-clusters-minimal-app tlsr9518adk80d (read/write) 1009616 966368 -43248 -4.3
bss 97488 97368 -120 -0.1
text 690768 652380 -38388 -5.6
contact-sensor-app tlsr9518adk80d (read/write) 914532 868456 -46076 -5.0
bss 89644 89524 -120 -0.1
text 622846 581562 -41284 -6.6
light-switch-app tlsr9518adk80d (read/write) 931032 884812 -46220 -5.0
bss 89736 89616 -120 -0.1
text 637382 596028 -41354 -6.5
lighting-app tlsr9518adk80d (read/write) 1009000 962936 -46064 -4.6
bss 97796 97676 -120 -0.1
text 703158 661878 -41280 -5.9
ota-requestor-app tlsr9518adk80d (read/write) 944624 898408 -46216 -4.9
bss 90688 90568 -120 -0.1
text 648630 607278 -41352 -6.4
thermostat tlsr9518adk80d (read/write) 934192 888116 -46076 -4.9
bss 91124 91004 -120 -0.1
text 638082 596804 -41278 -6.5
Full report (55 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section ffc8d97 b95a710 change % change
bl602 lighting-app bl602 (read/write) 1330486 1330486 0 0.0
.bss 86926 86926 0 0.0
.data 9576 9576 0 0.0
.text 1016646 1016648 2 0.0
bl602+rpc (read/write) 1375734 1375734 0 0.0
.bss 94966 94966 0 0.0
.data 9976 9976 0 0.0
.text 1047380 1047380 0 0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1195823 1195823 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 66590 66590 0 0.0
.bss_psram 30048 30048 0 0.0
.comment 48 48 0 0.0
.data 4048 4048 0 0.0
.debug_abbrev 1534627 1534627 0 0.0
.debug_aranges 132560 132560 0 0.0
.debug_frame 486668 486668 0 0.0
.debug_info 39815516 39815516 0 0.0
.debug_line 5219520 5219520 0 0.0
.debug_loc 3393185 3393185 0 0.0
.debug_ranges 372040 372040 0 0.0
.debug_str 3505479 3505479 0 0.0
.hbn 509 509 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 116400 116400 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 569315 569315 0 0.0
.symtab 172000 172000 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
956872 956872 0 0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1287987 1287987 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 74622 74622 0 0.0
.bss_psram 30304 30304 0 0.0
.comment 48 48 0 0.0
.data 4600 4600 0 0.0
.debug_abbrev 1683073 1683073 0 0.0
.debug_aranges 140784 140784 0 0.0
.debug_frame 514380 514380 0 0.0
.debug_info 44200699 44200697 -2 -0.0
.debug_line 5616992 5616992 0 0.0
.debug_loc 3589149 3589149 0 0.0
.debug_ranges 395744 395744 0 0.0
.debug_str 3908089 3908089 0 0.0
.hbn 509 509 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 130864 130864 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 629830 629830 0 0.0
.symtab 190320 190320 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1033766 1033762 -4 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 678075 678075 0 0.0
(read/write) 173372 173372 0 0.0
.bss 81140 81140 0 0.0
.data 3380 3380 0 0.0
.rodata 89995 89995 0 0.0
.text 587768 587768 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 642435 642443 8 0.0
(read/write) 157916 157916 0 0.0
.bss 80420 80420 0 0.0
.data 3380 3380 0 0.0
.rodata 79139 79139 0 0.0
.text 562976 562984 8 0.0
lock-ftd LP_CC2652R7 (read only) 675559 675567 8 0.0
(read/write) 173448 173440 -8 -0.0
.bss 78788 78788 0 0.0
.data 3304 3304 0 0.0
.rodata 77415 77415 0 0.0
.text 597664 597672 8 0.0
lock-mtd LP_CC2652R7 (read only) 660611 660611 0 0.0
(read/write) 183660 183660 0 0.0
.bss 74052 74052 0 0.0
.data 3304 3304 0 0.0
.rodata 103507 103507 0 0.0
.text 556624 556624 0 0.0
pump-app LP_CC2652R7 (read only) 688871 688871 0 0.0
(read/write) 160872 160872 0 0.0
.bss 78756 78756 0 0.0
.data 3268 3268 0 0.0
.rodata 91103 91103 0 0.0
.text 597284 597284 0 0.0
pump-controller-app LP_CC2652R7 (read only) 672659 672659 0 0.0
(read/write) 177188 177188 0 0.0
.bss 78860 78860 0 0.0
.data 3292 3292 0 0.0
.rodata 86587 86587 0 0.0
.text 585592 585592 0 0.0
shell LP_CC2652R7 (read only) 669330 669322 -8 -0.0
(read/write) 184444 184452 8 0.0
.bss 83468 83468 0 0.0
.data 3376 3376 0 0.0
.rodata 86738 86738 0 0.0
.text 582276 582268 -8 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 586754 586754 0 0.0
.app_xip_area 463100 463100 0 0.0
.bss 66112 66112 0 0.0
.data 728 728 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 590454 590454 0 0.0
.app_xip_area 461504 461504 0 0.0
.bss 71400 71400 0 0.0
.data 736 736 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 550558 550566 8 0.0
.app_xip_area 432392 432400 8 0.0
.bss 60664 60664 0 0.0
.data 684 684 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 975172 975172 0 0.0
.bss 152172 152172 0 0.0
.data 2168 2168 0 0.0
.text 820812 820812 0 0.0
BRD4161A+rs911x (read/write) 1038320 1038320 0 0.0
.bss 186648 186648 0 0.0
.data 2012 2012 0 0.0
.text 849640 849640 0 0.0
BRD4187C (read/write) 1149004 1149004 0 0.0
.bss 138568 138568 0 0.0
.data 2516 2516 0 0.0
.text 983324 983324 0 0.0
lock-app BRD4161A+wf200 (read/write) 1067840 1067840 0 0.0
.bss 158184 158184 0 0.0
.data 2020 2020 0 0.0
.text 907612 907612 0 0.0
window-app BRD4187C (read/write) 1141808 1141808 0 0.0
.bss 139984 139984 0 0.0
.data 2540 2540 0 0.0
.text 974688 974688 0 0.0
esp32 all-clusters-app c3devkit (read only) 1219574 1219576 2 0.0
(read/write) 1791034 1791050 16 0.0
.dram0.bss 76912 76912 0 0.0
.dram0.data 13928 13928 0 0.0
.flash.rodata 248472 248488 16 0.0
.flash.text 1219574 1219576 2 0.0
.iram0.text 71188 71188 0 0.0
m5stack (read only) 1233447 1233447 0 0.0
(read/write) 564267 564267 0 0.0
.dram0.bss 82064 82064 0 0.0
.dram0.data 34224 34224 0 0.0
.flash.rodata 314260 314260 0 0.0
.flash.text 1228063 1228063 0 0.0
.iram0.text 124803 124803 0 0.0
k32w contact k32w0+release (read/write) 661196 661196 0 0.0
.bss 77032 77032 0 0.0
.data 2104 2104 0 0.0
.text 562948 562948 0 0.0
light k32w0+release (read/write) 672072 672072 0 0.0
.bss 74824 74824 0 0.0
.data 2060 2060 0 0.0
.text 592460 592460 0 0.0
lock k32w0+release (read/write) 632740 632740 0 0.0
.bss 75584 75584 0 0.0
.data 2080 2080 0 0.0
.text 552348 552348 0 0.0
linux chip-tool-ipv6only arm64 (read only) 10667164 10667164 0 0.0
(read/write) 690504 690504 0 0.0
.bss 33912 33912 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 634856 634856 0 0.0
.dynamic 560 560 0 0.0
.got 13920 13920 0 0.0
.init 24 24 0 0.0
.init_array 200 200 0 0.0
.rodata 550156 550156 0 0.0
.text 8481812 8481812 0 0.0
thermostat-no-ble arm64 (read only) 2478452 2478452 0 0.0
(read/write) 145016 145016 0 0.0
.bss 55336 55336 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 78640 78640 0 0.0
.dynamic 560 560 0 0.0
.got 5192 5192 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 149712 149712 0 0.0
.text 2068144 2068144 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2462912 2462912 0 0.0
.bss 214932 214932 0 0.0
.data 5872 5872 0 0.0
.text 1425556 1425556 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1161587 1166428 4841 0.4
bss 143621 146712 3091 2.2
rodata 136176 136524 348 0.3
text 801930 802960 1030 0.1
nrf7002dk_nrf5340_cpuapp (read/write) 1341494 1368084 26590 2.0
bss 105132 106012 880 0.8
rodata 204040 214008 9968 4.9
text 747796 762196 14400 1.9
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1108091 1112916 4825 0.4
bss 142856 145947 3091 2.2
rodata 112504 112852 348 0.3
text 772932 773948 1016 0.1
light-switch-app nrf52840dk_nrf52840 (read/write) 1072891 1076860 3969 0.4
bss 135238 138329 3091 2.3
rodata 112104 112716 612 0.5
text 745822 745708 -114 -0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1251302 1278216 26914 2.2
bss 98784 99664 880 0.9
rodata 168952 178892 9940 5.9
text 699132 713884 14752 2.1
lighting-app nrf52840dk_nrf52840+rpc (read/write) 1116831 1120248 3417 0.3
bss 145803 148686 2883 2.0
rodata 107132 107520 388 0.4
text 782816 782620 -196 -0.0
nrf52840dongle_nrf52840 (read/write) 1061223 1065076 3853 0.4
bss 153988 156811 2823 1.8
rodata 85756 86212 456 0.5
text 738354 738452 98 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1063982 1064492 510 0.0
bss 143014 143296 282 0.2
rodata 109712 110308 596 0.5
text 728174 727492 -682 -0.1
nrf7002dk_nrf5340_cpuapp (read/write) 1251302 1278216 26914 2.2
bss 98784 99664 880 0.9
rodata 168952 178892 9940 5.9
text 699132 713884 14752 2.1
lock-app nrf52840dk_nrf52840 (read/write) 1108535 1112632 4097 0.4
bss 136286 139377 3091 2.3
rodata 134980 135592 612 0.5
text 757676 757692 16 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1020138 1021712 1574 0.2
bss 133743 134209 466 0.3
rodata 127900 128552 652 0.5
text 675398 675476 78 0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1287382 1314400 27018 2.1
bss 99866 100746 880 0.9
rodata 191884 201840 9956 5.2
text 711250 726012 14762 2.1
pigweed-app nrf52840dk_nrf52840 (read/write) 572087 575776 3689 0.6
bss 74821 77624 2803 3.7
rodata 44564 45200 636 1.4
text 392544 392412 -132 -0.0
pump-app nrf52840dk_nrf52840 (read/write) 1063995 1067948 3953 0.4
bss 135067 138158 3091 2.3
rodata 110520 111132 612 0.6
text 738696 738572 -124 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 1050379 1054348 3969 0.4
bss 134834 137925 3091 2.3
rodata 107000 107612 612 0.6
text 728858 728740 -118 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 842056 842056 0 0.0
(read/write) 1749268 1749268 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188624 188624 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 2664 2664 0 0.0
.debug_abbrev 1243463 1243463 0 0.0
.debug_aranges 110840 110840 0 0.0
.debug_frame 372300 372300 0 0.0
.debug_info 27081519 27081520 1 0.0
.debug_line 3735193 3735193 0 0.0
.debug_loc 3637422 3637422 0 0.0
.debug_ranges 355584 355584 0 0.0
.debug_str 3459152 3459152 0 0.0
.heap 842056 842056 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 572577 572577 0 0.0
.symtab 422416 422416 0 0.0
.text 0 0 0 0.0
1549592 1549592 0 0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842784 842784 0 0.0
(read/write) 1691908 1691908 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187896 187896 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 2664 2664 0 0.0
.debug_abbrev 1235244 1235244 0 0.0
.debug_aranges 110312 110312 0 0.0
.debug_frame 375356 375356 0 0.0
.debug_info 26817884 26817883 -1 -0.0
.debug_line 3754091 3754091 0 0.0
.debug_loc 3625028 3625028 0 0.0
.debug_ranges 354200 354200 0 0.0
.debug_str 3448164 3448164 0 0.0
.heap 842784 842784 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 536666 536666 0 0.0
.symtab 408688 408688 0 0.0
.text 1492960 1492960 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 850976 850976 0 0.0
(read/write) 1609916 1609916 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 179912 179912 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 2456 2456 0 0.0
.debug_abbrev 1068633 1068633 0 0.0
.debug_aranges 102512 102512 0 0.0
.debug_frame 345688 345688 0 0.0
.debug_info 22280234 22280234 0 0.0
.debug_line 3320126 3320126 0 0.0
.debug_loc 3325256 3325256 0 0.0
.debug_ranges 318336 318336 0 0.0
.debug_str 3253750 3253750 0 0.0
.heap 850976 850976 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 472991 472991 0 0.0
.symtab 377184 377184 0 0.0
.text 1419160 1419160 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 845984 845984 0 0.0
(read/write) 1643932 1643932 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184888 184888 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 2472 2472 0 0.0
.debug_abbrev 1070433 1070433 0 0.0
.debug_aranges 102896 102896 0 0.0
.debug_frame 347488 347488 0 0.0
.debug_info 22498898 22498898 0 0.0
.debug_line 3321289 3321289 0 0.0
.debug_loc 3346814 3346814 0 0.0
.debug_ranges 320192 320192 0 0.0
.debug_str 3269588 3269588 0 0.0
.heap 845984 845984 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 475708 475708 0 0.0
.symtab 379008 379008 0 0.0
.text 1448184 1448184 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1149452 1149444 -8 -0.0
.bss 100348 100348 0 0.0
.data 840 840 0 0.0
.text 596552 596544 -8 -0.0
lock-app qpg6105+debug (read/write) 1115884 1115884 0 0.0
.bss 95828 95828 0 0.0
.data 836 836 0 0.0
.text 562980 562980 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1070344 1027120 -43224 -4.0
bss 98268 98148 -120 -0.1
text 725626 687262 -38364 -5.3
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1009616 966368 -43248 -4.3
bss 97488 97368 -120 -0.1
text 690768 652380 -38388 -5.6
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 914532 868456 -46076 -5.0
bss 89644 89524 -120 -0.1
text 622846 581562 -41284 -6.6
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 931032 884812 -46220 -5.0
bss 89736 89616 -120 -0.1
text 637382 596028 -41354 -6.5
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1009000 962936 -46064 -4.6
bss 97796 97676 -120 -0.1
text 703158 661878 -41280 -5.9
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 944624 898408 -46216 -4.9
bss 90688 90568 -120 -0.1
text 648630 607278 -41352 -6.4
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 934192 888116 -46076 -4.9
bss 91124 91004 -120 -0.1
text 638082 596804 -41278 -6.5

@andy31415 andy31415 merged commit bfe87de into project-chip:master Jan 9, 2023
cletnick pushed a commit to cletnick/connectedhomeip that referenced this pull request Jan 10, 2023
* [nrfconnect] Bump nRF Connect SDK to 2.2.0

Change the recommended nRF Connect SDK version to v2.2.0.

* Start using Zephyr WiFi net_mgmt API and events

- replace wpa_supplicant API calls with generic Zephyr net_mgmt API
- use net events to manage WiFi connection
- refactoring of the whole platform/nrfconnect/wifi code

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

* Implemented proper handling of WiFi security modes.

With the current net_mgmt API it is necessary to scan networks to get
the security mode supported by an AP which we want to connect with.
Also fixed the invalid handling of net_mgmt event life time.

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

* Aligned Matter SDK to Zephyr 0.15.x revision.

These changes were implied the the recent Zephyr upmerge:
- updates of Zephyr include paths
- removal of disabling of gpio1 in board DTS overlays
- fix for the possible dangling pointer compilation error
  after gcc got more picky about that (v10.3 vs. v12.1)

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

* Increased the max number of BLE connections.

This is a workaround for the non-unreferenced BLE connection object
when restarting advertising in BLE disconnect callback.

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

* WiFi fail-safe related fixes

Make sure the fail-safe works as expected with WiFi networking:
- disconnect when reverting the configuration
- always cleanup the provisioning data structures before connecting
  to avoid dummy buffer overwriting and data length issues

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

* Introduced a workaround to send Router Solicitation after connect

Router Solicitation is not sent after connecting to the Wi-Fi
network by the Wi-Fi driver, so in result Thread Border Router
doesn't send Router Advertisement to the device. As a workaround
sending RS was added in the Matter platform code.

* Forward the channel number and RSSI from WIFiManager.

We can now use this feature in spite of stats still
not being implemented.

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

* Minor fixes for heap usage

Fix build with CHIP_MALLOC_SYS_HEAP Kconfig option that
replaces default malloc/free with alternatives based on
Zephyr's sys_heap.

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

* Wi-Fi status handling fixes.

* Increase the SYSTEM_WORKQUEUE_STACK_SIZE to match supplicant needs
* Decrease the connection timeout to be lower than failsafe (35s)
* Adapt WiFiRequestStatus to follow supplicant implementation
* All of above makes the failsafe more robust

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

* wifi: RevertConfiguration optimization.

Do not disconnect/reconnect to the already attached network.

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

* Define _DEFAULT_SOURCE

This commit updates the chip-module build configurations to define
`_DEFAULT_SOURCE` when compiling Matter because it uses non-standard
functions that are only available when `_DEFAULT_SOURCE` is defined.

Note that this used to be not necessary only because of a quirk in the
way Newlib handles the feature test macro, which resulted in Newlib
defining `_DEFAULT_SOURCE` when compiling with `-std=gnu`.

For more details, refer to the issue zephyrproject-rtos/zephyr#52739.

* Align examples with samples included in nRF Connect SDK 2.2.0

* Update remaining Docker images to 0.6.27

* Restyled by clang-format

* Restyled by shellharden

Signed-off-by: Marcin Kajor <[email protected]>
Signed-off-by: Damian Krolik <[email protected]>
Co-authored-by: Marcin Kajor <[email protected]>
Co-authored-by: Kamil Kasperczyk <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
@Damian-Nordic Damian-Nordic deleted the ncs220 branch January 10, 2023 08:29
lecndav pushed a commit to lecndav/connectedhomeip that referenced this pull request Mar 22, 2023
* [nrfconnect] Bump nRF Connect SDK to 2.2.0

Change the recommended nRF Connect SDK version to v2.2.0.

* Start using Zephyr WiFi net_mgmt API and events

- replace wpa_supplicant API calls with generic Zephyr net_mgmt API
- use net events to manage WiFi connection
- refactoring of the whole platform/nrfconnect/wifi code

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

* Implemented proper handling of WiFi security modes.

With the current net_mgmt API it is necessary to scan networks to get
the security mode supported by an AP which we want to connect with.
Also fixed the invalid handling of net_mgmt event life time.

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

* Aligned Matter SDK to Zephyr 0.15.x revision.

These changes were implied the the recent Zephyr upmerge:
- updates of Zephyr include paths
- removal of disabling of gpio1 in board DTS overlays
- fix for the possible dangling pointer compilation error
  after gcc got more picky about that (v10.3 vs. v12.1)

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

* Increased the max number of BLE connections.

This is a workaround for the non-unreferenced BLE connection object
when restarting advertising in BLE disconnect callback.

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

* WiFi fail-safe related fixes

Make sure the fail-safe works as expected with WiFi networking:
- disconnect when reverting the configuration
- always cleanup the provisioning data structures before connecting
  to avoid dummy buffer overwriting and data length issues

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

* Introduced a workaround to send Router Solicitation after connect

Router Solicitation is not sent after connecting to the Wi-Fi
network by the Wi-Fi driver, so in result Thread Border Router
doesn't send Router Advertisement to the device. As a workaround
sending RS was added in the Matter platform code.

* Forward the channel number and RSSI from WIFiManager.

We can now use this feature in spite of stats still
not being implemented.

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

* Minor fixes for heap usage

Fix build with CHIP_MALLOC_SYS_HEAP Kconfig option that
replaces default malloc/free with alternatives based on
Zephyr's sys_heap.

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

* Wi-Fi status handling fixes.

* Increase the SYSTEM_WORKQUEUE_STACK_SIZE to match supplicant needs
* Decrease the connection timeout to be lower than failsafe (35s)
* Adapt WiFiRequestStatus to follow supplicant implementation
* All of above makes the failsafe more robust

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

* wifi: RevertConfiguration optimization.

Do not disconnect/reconnect to the already attached network.

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

* Define _DEFAULT_SOURCE

This commit updates the chip-module build configurations to define
`_DEFAULT_SOURCE` when compiling Matter because it uses non-standard
functions that are only available when `_DEFAULT_SOURCE` is defined.

Note that this used to be not necessary only because of a quirk in the
way Newlib handles the feature test macro, which resulted in Newlib
defining `_DEFAULT_SOURCE` when compiling with `-std=gnu`.

For more details, refer to the issue zephyrproject-rtos/zephyr#52739.

* Align examples with samples included in nRF Connect SDK 2.2.0

* Update remaining Docker images to 0.6.27

* Restyled by clang-format

* Restyled by shellharden

Signed-off-by: Marcin Kajor <[email protected]>
Signed-off-by: Damian Krolik <[email protected]>
Co-authored-by: Marcin Kajor <[email protected]>
Co-authored-by: Kamil Kasperczyk <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Andrei Litvin <[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.

6 participants