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

Enforce valid spec-conformant string encoding in TLV #30393

Merged
merged 16 commits into from
Nov 10, 2023

Conversation

andy31415
Copy link
Contributor

@andy31415 andy31415 commented Nov 9, 2023

Changes:

  • adds configuration options for validating char_string read/write from/to TLV
  • If these are on, we return errors when trying to read/write invalid strings
  • an (incomplete!) change to time-synchronization-server for initialization of a char-span. This is not a valid fix, [BUG] Encoding embedded 0s in UTF8 strings #30342 would fix some of it but a proper fix would have to be done separately.
  • Fixed various unit tests that were off-by-one or encoding strings with null terminators:
    • use CharSpan::fromCharString instead of CharSpan("foo") because the latter is off-by-one
    • Added some -1 for sizes in a few unit tests because they also used sizeof instead of strlen

Enabled check on write, but not on read (since I imagine controllers have to be lenient).
However chip-tool enables this on read too, so that certification/validation catches invalid devices.

Copy link

github-actions bot commented Nov 9, 2023

PR #30393: Size comparison from b0f5983 to e0672dc

Increases (3 builds for cc32xx, mbed)
platform target config section b0f5983 e0672dc change % change
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 563986 564330 344 0.1
.text 478172 478516 344 0.1
lock CC3235SF_LAUNCHXL (read only) 620250 620586 336 0.1
.text 511824 512160 336 0.1
mbed lock-app-release cy8cproto_062_4343w (read/write) 2525552 2525856 304 0.0
.text 1488236 1488540 304 0.0
Full report (3 builds for cc32xx, mbed)
platform target config section b0f5983 e0672dc change % change
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 563986 564330 344 0.1
(read/write) 206496 206496 0 0.0
.bss 199956 199956 0 0.0
.data 1416 1416 0 0.0
.rodata 83690 83690 0 0.0
.text 478172 478516 344 0.1
lock CC3235SF_LAUNCHXL (read only) 620250 620586 336 0.1
(read/write) 206900 206900 0 0.0
.bss 200336 200336 0 0.0
.data 1444 1444 0 0.0
.rodata 106306 106306 0 0.0
.text 511824 512160 336 0.1
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2525552 2525856 304 0.0
.bss 219064 219064 0 0.0
.data 5136 5136 0 0.0
.text 1488236 1488540 304 0.0

Copy link

github-actions bot commented Nov 9, 2023

PR #30393: Size comparison from b0f5983 to 20101ae

Increases (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section b0f5983 20101ae change % change
bl602 lighting-app bl602 (read/write) 1407550 1408030 480 0.0
.rodata 156376 156408 32 0.0
.text 1076640 1077086 446 0.0
bl602+mfd (read/write) 1421990 1422470 480 0.0
.rodata 155336 155368 32 0.0
.text 1091992 1092438 446 0.0
bl602+rpc (read/write) 1454570 1455306 736 0.1
.rodata 163492 163524 32 0.0
.text 1108128 1108830 702 0.1
bl702 lighting-app bl702 (read/write) 1173715 1174191 476 0.0
.rodata 106116 106148 32 0.0
.text 947134 947580 446 0.0
bl702+mfd (read/write) 1184839 1185315 476 0.0
.rodata 105056 105088 32 0.0
.text 959198 959644 446 0.0
bl702+rpc (read/write) 1273271 1273751 480 0.0
.rodata 121016 121048 32 0.0
.text 1022200 1022646 446 0.0
bl706-eth (read/write) 992649 993125 476 0.0
.rodata 99204 99236 32 0.0
.text 739606 740052 446 0.1
bl706-wifi (read/write) 1227806 1228570 764 0.1
.rodata 120064 120096 32 0.0
.text 964026 964758 732 0.1
bl702l lighting-app bl702l (read/write) 1143428 1143908 480 0.0
.rodata 100120 100152 32 0.0
.text 940228 940674 446 0.0
bl702l+mfd (read/write) 1154888 1155368 480 0.0
.rodata 99060 99092 32 0.0
.text 952604 953050 446 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 737451 737771 320 0.0
.rodata 84599 84647 48 0.1
.text 652464 652736 272 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 759171 759475 304 0.0
.rodata 80175 80223 48 0.1
.text 678604 678860 256 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 746443 746763 320 0.0
.rodata 106231 106279 48 0.0
.text 639820 640092 272 0.0
pump-app LP_EM_CC1354P10_6 (read only) 697211 697539 328 0.0
.rodata 80359 80415 56 0.1
.text 616464 616736 272 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 682899 683219 320 0.0
.rodata 76199 76247 48 0.1
.text 606312 606584 272 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 563986 564330 344 0.1
.text 478172 478516 344 0.1
lock CC3235SF_LAUNCHXL (read only) 620250 620586 336 0.1
.text 511824 512160 336 0.1
cyw30739 light cyw930739m2evb_01 (read/write) 554735 555063 328 0.1
.app_xip_area 445809 446137 328 0.1
lock cyw930739m2evb_01 (read/write) 540903 541207 304 0.1
.app_xip_area 427177 427481 304 0.1
ota-requestor cyw930739m2evb_01 (read/write) 576591 576911 320 0.1
.app_xip_area 468993 469313 320 0.1
switch cyw930739m2evb_01 (read/write) 552623 552951 328 0.1
.app_xip_area 441937 442265 328 0.1
efr32 lighting-app BRD4161A+rs9116 (read/write) 1008692 1009044 352 0.0
.text 834056 834408 352 0.0
BRD4187C (read/write) 1094460 1094788 328 0.0
.text 895572 895900 328 0.0
lock-app BRD4161A+wf200 (read/write) 1105368 1105680 312 0.0
.text 915996 916308 312 0.0
window-app BRD4187C (read/write) 1131104 1131448 344 0.0
.text 959936 960280 344 0.0
esp32 all-clusters-app c3devkit (read only) 1129862 1130428 566 0.1
.flash.text 1129862 1130428 566 0.1
m5stack (read only) 1175071 1175543 472 0.0
.flash.text 1169687 1170159 472 0.0
k32w contact k32w0+release (read only) 591436 591756 320 0.1
.text 590900 591220 320 0.1
k32w1+release (read/write) 686512 686832 320 0.0
.text 573272 573592 320 0.1
light k32w0+release (read only) 591140 591460 320 0.1
.text 590604 590924 320 0.1
k32w1+release (read/write) 778516 778844 328 0.0
.text 656408 656736 328 0.0
lock k32w0+release (read only) 562948 563276 328 0.1
.text 562412 562740 328 0.1
linux air-purifier-app debug (read only) 2477461 2478485 1024 0.0
.rodata 177128 177384 256 0.1
.text 2126533 2127301 768 0.0
all-clusters-app debug (read only) 5279265 5280305 1040 0.0
.rodata 299484 299740 256 0.1
.text 4600115 4600899 784 0.0
all-clusters-minimal-app debug (read only) 4892153 4893145 992 0.0
.rodata 270061 270285 224 0.1
.text 4390995 4391763 768 0.0
bridge-app debug (read only) 4374281 4375305 1024 0.0
.rodata 218101 218357 256 0.1
.text 3938547 3939315 768 0.0
chip-tool debug (read only) 10360913 10362241 1328 0.0
.rodata 391529 391753 224 0.1
.text 9363699 9364803 1104 0.0
chip-tool-ipv6only arm64 (read only) 10238360 10240168 1808 0.0
.rodata 317744 317856 112 0.0
.text 9141688 9143384 1696 0.0
lighting-app debug+rpc+ui (read only) 5235073 5236065 992 0.0
.rodata 336820 337044 224 0.1
.text 4655027 4655795 768 0.0
lock-app debug (read only) 4473977 4474953 976 0.0
.rodata 247381 247637 256 0.1
.text 4016995 4017715 720 0.0
ota-provider-app debug (read only) 4132361 4133353 992 0.0
.rodata 200085 200309 224 0.1
.text 3741427 3742195 768 0.0
ota-requestor-app debug (read only) 4218665 4219641 976 0.0
.rodata 203861 204053 192 0.1
.text 3819651 3820435 784 0.0
shell debug (read only) 2741177 2742185 1008 0.0
.rodata 179264 179488 224 0.1
.text 2392114 2392898 784 0.0
thermostat-no-ble arm64 (read only) 4370504 4371960 1456 0.0
.rodata 161428 161540 112 0.1
.text 3870072 3871416 1344 0.0
tv-app debug (read only) 5243353 5244361 1008 0.0
.rodata 266909 267133 224 0.1
.text 4741811 4742595 784 0.0
tv-casting-app debug (read only) 8299185 8300193 1008 0.0
.rodata 339496 339720 224 0.1
.text 7551571 7552355 784 0.0
mbed lock-app-release cy8cproto_062_4343w (read/write) 2525552 2525856 304 0.0
.text 1488236 1488540 304 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1054364 1054688 324 0.0
rodata 104028 104080 52 0.0
text 774400 774672 272 0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1181196 1181520 324 0.0
rodata 138220 138272 52 0.0
text 772092 772364 272 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1039692 1040012 320 0.0
rodata 99300 99348 48 0.0
text 764168 764440 272 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1732588 1732924 336 0.0
.text 1528484 1528820 336 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1696428 1696764 336 0.0
.text 1494044 1494380 336 0.0
light cy8ckit_062s2_43012 (read/write) 1622612 1622964 352 0.0
.text 1426780 1427132 352 0.0
lock cy8ckit_062s2_43012 (read/write) 1655460 1655796 336 0.0
.text 1432364 1432700 336 0.0
qpg lighting-app qpg6105+debug (read/write) 1178464 1178784 320 0.0
.text 625304 625624 320 0.1
lock-app qpg6105+debug (read/write) 1139220 1139532 312 0.0
.text 586060 586372 312 0.1
telink air-quality-sensor-app tlsr9528a_retention (read/write) 811322 811738 416 0.1
text 606044 606384 340 0.1
all-clusters-app tlsr9518adk80d (read/write) 1071412 1071828 416 0.0
text 755036 755366 330 0.0
all-clusters-minimal-app tlsr9528a (read/write) 1076320 1076744 424 0.0
text 746708 747048 340 0.0
bridge-app tlsr9518adk80d (read/write) 930220 930644 424 0.0
text 643244 643584 340 0.1
contact-sensor-app tlsr9528a_retention (read/write) 814566 814982 416 0.1
text 609094 609434 340 0.1
light-switch-app-ota-shell-factory-data tlsr9528a (read/write) 968828 969244 416 0.0
text 687042 687380 338 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read/write) 1086128 1086560 432 0.0
text 763800 764148 348 0.0
lock-app-dfu tlsr9528a_retention (read/write) 871950 872358 408 0.0
text 638942 639272 330 0.1
ota-requestor-app tlsr9518adk80d (read/write) 943508 943932 424 0.0
text 658978 659326 348 0.1
pump-app tlsr9528a (read/write) 871212 871636 424 0.0
text 615618 615958 340 0.1
pump-controller-app tlsr9518adk80d (read/write) 811776 812200 424 0.1
text 582596 582936 340 0.1
resource-monitoring-app tlsr9518adk80d (read/write) 827476 827900 424 0.1
text 593210 593550 340 0.1
smoke_co_alarm-app tlsr9528a_retention (read/write) 816294 816718 424 0.1
text 611824 612164 340 0.1
temperature-measurement-app tlsr9528a_retention (read/write) 802234 802650 416 0.1
text 599840 600180 340 0.1
thermostat tlsr9518adk80d (read/write) 832868 833284 416 0.0
text 597952 598292 340 0.1
window-covering tlsr9518adk80d (read/write) 830336 830752 416 0.1
text 595002 595342 340 0.1
Decreases (2 builds for linux)
platform target config section b0f5983 20101ae change % change
linux chip-tool-ipv6only arm64 (read/write) 515072 513248 -1824 -0.4
thermostat-no-ble arm64 (read/write) 247144 245736 -1408 -0.6
Full report (73 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section b0f5983 20101ae change % change
bl602 lighting-app bl602 (read/write) 1407550 1408030 480 0.0
.bss 84504 84504 0 0.0
.data 9376 9376 0 0.0
.rodata 156376 156408 32 0.0
.text 1076640 1077086 446 0.0
bl602+mfd (read/write) 1421990 1422470 480 0.0
.bss 84672 84672 0 0.0
.data 9344 9344 0 0.0
.rodata 155336 155368 32 0.0
.text 1091992 1092438 446 0.0
bl602+rpc (read/write) 1454570 1455306 736 0.1
.bss 92536 92536 0 0.0
.data 9744 9744 0 0.0
.rodata 163492 163524 32 0.0
.text 1108128 1108830 702 0.1
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1173715 1174191 476 0.0
.bss 11197 11197 0 0.0
.data 3560 3560 0 0.0
.rodata 106116 106148 32 0.0
.text 947134 947580 446 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1184839 1185315 476 0.0
.bss 11373 11373 0 0.0
.data 3536 3536 0 0.0
.rodata 105056 105088 32 0.0
.text 959198 959644 446 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1273271 1273751 480 0.0
.bss 19677 19677 0 0.0
.data 4112 4112 0 0.0
.rodata 121016 121048 32 0.0
.text 1022200 1022646 446 0.0
bl706-eth (read/write) 992649 993125 476 0.0
.bss 23772 23772 0 0.0
.data 3128 3128 0 0.0
.rodata 99204 99236 32 0.0
.text 739606 740052 446 0.1
bl706-wifi (read/write) 1227806 1228570 764 0.1
.bss 10657 10657 0 0.0
.data 3568 3568 0 0.0
.rodata 120064 120096 32 0.0
.text 964026 964758 732 0.1
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1143428 1143908 480 0.0
.bss 16408 16408 0 0.0
.data 4920 4920 0 0.0
.rodata 100120 100152 32 0.0
.text 940228 940674 446 0.0
bl702l+mfd (read only) 512 512 0 0.0
(read/write) 1154888 1155368 480 0.0
.bss 16584 16584 0 0.0
.data 4904 4904 0 0.0
.rodata 99060 99092 32 0.0
.text 952604 953050 446 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 737451 737771 320 0.0
(read/write) 166528 166528 0 0.0
.bss 88940 88940 0 0.0
.data 3424 3424 0 0.0
.rodata 84599 84647 48 0.1
.text 652464 652736 272 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 759171 759475 304 0.0
(read/write) 176820 176820 0 0.0
.bss 99188 99188 0 0.0
.data 3444 3444 0 0.0
.rodata 80175 80223 48 0.1
.text 678604 678860 256 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 746443 746763 320 0.0
(read/write) 171276 171276 0 0.0
.bss 93644 93644 0 0.0
.data 3444 3444 0 0.0
.rodata 106231 106279 48 0.0
.text 639820 640092 272 0.0
pump-app LP_EM_CC1354P10_6 (read only) 697211 697539 328 0.0
(read/write) 165628 165628 0 0.0
.bss 87808 87808 0 0.0
.data 3412 3412 0 0.0
.rodata 80359 80415 56 0.1
.text 616464 616736 272 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 682899 683219 320 0.0
(read/write) 165760 165760 0 0.0
.bss 87952 87952 0 0.0
.data 3408 3408 0 0.0
.rodata 76199 76247 48 0.1
.text 606312 606584 272 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 563986 564330 344 0.1
(read/write) 206496 206496 0 0.0
.bss 199956 199956 0 0.0
.data 1416 1416 0 0.0
.rodata 83690 83690 0 0.0
.text 478172 478516 344 0.1
lock CC3235SF_LAUNCHXL (read only) 620250 620586 336 0.1
(read/write) 206900 206900 0 0.0
.bss 200336 200336 0 0.0
.data 1444 1444 0 0.0
.rodata 106306 106306 0 0.0
.text 511824 512160 336 0.1
cyw30739 light cyw930739m2evb_01 (read/write) 554735 555063 328 0.1
.app_xip_area 445809 446137 328 0.1
.bss 63840 63840 0 0.0
.data 664 664 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 540903 541207 304 0.1
.app_xip_area 427177 427481 304 0.1
.bss 68608 68608 0 0.0
.data 696 696 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 576591 576911 320 0.1
.app_xip_area 468993 469313 320 0.1
.bss 62584 62584 0 0.0
.data 592 592 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 552623 552951 328 0.1
.app_xip_area 441937 442265 328 0.1
.bss 65568 65568 0 0.0
.data 692 692 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1008692 1009044 352 0.0
.bss 171920 171920 0 0.0
.data 2696 2696 0 0.0
.text 834056 834408 352 0.0
BRD4187C (read/write) 1094460 1094788 328 0.0
.bss 195564 195564 0 0.0
.data 3304 3304 0 0.0
.text 895572 895900 328 0.0
lock-app BRD4161A+wf200 (read/write) 1105368 1105680 312 0.0
.bss 186640 186640 0 0.0
.data 2712 2712 0 0.0
.text 915996 916308 312 0.0
window-app BRD4187C (read/write) 1131104 1131448 344 0.0
.bss 167972 167972 0 0.0
.data 3176 3176 0 0.0
.text 959936 960280 344 0.0
esp32 all-clusters-app c3devkit (read only) 1129862 1130428 566 0.1
(read/write) 1670084 1670084 0 0.0
.dram0.bss 71848 71848 0 0.0
.dram0.data 12996 12996 0 0.0
.flash.rodata 241360 241360 0 0.0
.flash.text 1129862 1130428 566 0.1
.iram0.text 75694 75694 0 0.0
m5stack (read only) 1175071 1175543 472 0.0
(read/write) 520080 520080 0 0.0
.dram0.bss 78496 78496 0 0.0
.dram0.data 34020 34020 0 0.0
.flash.rodata 273200 273200 0 0.0
.flash.text 1169687 1170159 472 0.0
.iram0.text 123907 123907 0 0.0
k32w contact k32w0+release (read only) 591436 591756 320 0.1
(read/write) 87600 87600 0 0.0
.bss 70840 70840 0 0.0
.data 2136 2136 0 0.0
.text 590900 591220 320 0.1
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 686512 686832 320 0.0
.bss 67040 67040 0 0.0
.data 2720 2720 0 0.0
.text 573272 573592 320 0.1
light k32w0+release (read only) 591140 591460 320 0.1
(read/write) 87276 87276 0 0.0
.bss 70528 70528 0 0.0
.data 2124 2124 0 0.0
.text 590604 590924 320 0.1
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 778516 778844 328 0.0
.bss 76716 76716 0 0.0
.data 1932 1932 0 0.0
.text 656408 656736 328 0.0
lock k32w0+release (read only) 562948 563276 328 0.1
(read/write) 85104 85104 0 0.0
.bss 68416 68416 0 0.0
.data 2064 2064 0 0.0
.text 562412 562740 328 0.1
linux air-purifier-app debug (read only) 2477461 2478485 1024 0.0
(read/write) 126280 126280 0 0.0
.bss 46656 46656 0 0.0
.data 1472 1472 0 0.0
.data.rel.ro 72168 72168 0 0.0
.dynamic 608 608 0 0.0
.got 4560 4560 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 177128 177384 256 0.1
.text 2126533 2127301 768 0.0
all-clusters-app debug (read only) 5279265 5280305 1040 0.0
(read/write) 418800 418800 0 0.0
.bss 128880 128880 0 0.0
.data 3856 3856 0 0.0
.data.rel.ro 278832 278832 0 0.0
.dynamic 624 624 0 0.0
.got 5360 5360 0 0.0
.init 27 27 0 0.0
.init_array 1208 1208 0 0.0
.rodata 299484 299740 256 0.1
.text 4600115 4600899 784 0.0
all-clusters-minimal-app debug (read only) 4892153 4893145 992 0.0
(read/write) 233080 233080 0 0.0
.bss 126704 126704 0 0.0
.data 3792 3792 0 0.0
.data.rel.ro 95440 95440 0 0.0
.dynamic 624 624 0 0.0
.got 5320 5320 0 0.0
.init 27 27 0 0.0
.init_array 1152 1152 0 0.0
.rodata 270061 270285 224 0.1
.text 4390995 4391763 768 0.0
bridge-app debug (read only) 4374281 4375305 1024 0.0
(read/write) 215128 215128 0 0.0
.bss 118904 118904 0 0.0
.data 4704 4704 0 0.0
.data.rel.ro 84768 84768 0 0.0
.dynamic 624 624 0 0.0
.got 5288 5288 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 218101 218357 256 0.1
.text 3938547 3939315 768 0.0
chip-tool debug (read only) 10360913 10362241 1328 0.0
(read/write) 448896 448896 0 0.0
.bss 93752 93752 0 0.0
.data 4994 4994 0 0.0
.data.rel.ro 342920 342920 0 0.0
.dynamic 624 624 0 0.0
.got 5784 5784 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 391529 391753 224 0.1
.text 9363699 9364803 1104 0.0
chip-tool-ipv6only arm64 (read only) 10238360 10240168 1808 0.0
(read/write) 515072 513248 -1824 -0.4
.bss 103112 103112 0 0.0
.data 4296 4296 0 0.0
.data.rel.ro 380480 380480 0 0.0
.dynamic 512 512 0 0.0
.got 18624 18624 0 0.0
.init 24 24 0 0.0
.init_array 256 256 0 0.0
.rodata 317744 317856 112 0.0
.text 9141688 9143384 1696 0.0
lighting-app debug+rpc+ui (read only) 5235073 5236065 992 0.0
(read/write) 223136 223136 0 0.0
.bss 118208 118208 0 0.0
.data 4416 4416 0 0.0
.data.rel.ro 92976 92976 0 0.0
.dynamic 672 672 0 0.0
.got 5904 5904 0 0.0
.init 27 27 0 0.0
.init_array 952 952 0 0.0
.rodata 336820 337044 224 0.1
.text 4655027 4655795 768 0.0
lock-app debug (read only) 4473977 4474953 976 0.0
(read/write) 203304 203304 0 0.0
.bss 113472 113472 0 0.0
.data 3648 3648 0 0.0
.data.rel.ro 79432 79432 0 0.0
.dynamic 624 624 0 0.0
.got 5240 5240 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 247381 247637 256 0.1
.text 4016995 4017715 720 0.0
ota-provider-app debug (read only) 4132361 4133353 992 0.0
(read/write) 192192 192192 0 0.0
.bss 113568 113568 0 0.0
.data 3920 3920 0 0.0
.data.rel.ro 68784 68784 0 0.0
.dynamic 624 624 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 200085 200309 224 0.1
.text 3741427 3742195 768 0.0
ota-requestor-app debug (read only) 4218665 4219641 976 0.0
(read/write) 196440 196440 0 0.0
.bss 114592 114592 0 0.0
.data 4192 4192 0 0.0
.data.rel.ro 71744 71744 0 0.0
.dynamic 624 624 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 203861 204053 192 0.1
.text 3819651 3820435 784 0.0
shell debug (read only) 2741177 2742185 1008 0.0
(read/write) 148504 148504 0 0.0
.bss 59528 59528 0 0.0
.data 784 784 0 0.0
.data.rel.ro 82400 82400 0 0.0
.dynamic 592 592 0 0.0
.got 4088 4088 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 179264 179488 224 0.1
.text 2392114 2392898 784 0.0
thermostat-no-ble arm64 (read only) 4370504 4371960 1456 0.0
(read/write) 247144 245736 -1408 -0.6
.bss 122184 122184 0 0.0
.data 2800 2800 0 0.0
.data.rel.ro 101776 101776 0 0.0
.dynamic 512 512 0 0.0
.got 11928 11928 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 161428 161540 112 0.1
.text 3870072 3871416 1344 0.0
tv-app debug (read only) 5243353 5244361 1008 0.0
(read/write) 344624 344624 0 0.0
.bss 242080 242080 0 0.0
.data 4992 4992 0 0.0
.data.rel.ro 90240 90240 0 0.0
.dynamic 624 624 0 0.0
.got 5528 5528 0 0.0
.init 27 27 0 0.0
.init_array 1128 1128 0 0.0
.rodata 266909 267133 224 0.1
.text 4741811 4742595 784 0.0
tv-casting-app debug (read only) 8299185 8300193 1008 0.0
(read/write) 315640 315640 0 0.0
.bss 155936 155936 0 0.0
.data 2464 2464 0 0.0
.data.rel.ro 150384 150384 0 0.0
.dynamic 624 624 0 0.0
.got 5064 5064 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 339496 339720 224 0.1
.text 7551571 7552355 784 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2525552 2525856 304 0.0
.bss 219064 219064 0 0.0
.data 5136 5136 0 0.0
.text 1488236 1488540 304 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1054364 1054688 324 0.0
bss 128343 128343 0 0.0
rodata 104028 104080 52 0.0
text 774400 774672 272 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1181196 1181520 324 0.0
bss 120545 120545 0 0.0
rodata 138220 138272 52 0.0
text 772092 772364 272 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1039692 1040012 320 0.0
bss 128636 128636 0 0.0
rodata 99300 99348 48 0.0
text 764168 764440 272 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 837624 837624 0 0.0
(read/write) 1732588 1732924 336 0.0
.bss 193236 193236 0 0.0
.data 2480 2480 0 0.0
.text 1528484 1528820 336 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 839344 839344 0 0.0
(read/write) 1696428 1696764 336 0.0
.bss 191516 191516 0 0.0
.data 2480 2480 0 0.0
.text 1494044 1494380 336 0.0
light cy8ckit_062s2_43012 (read only) 845896 845896 0 0.0
(read/write) 1622612 1622964 352 0.0
.bss 185076 185076 0 0.0
.data 2368 2368 0 0.0
.text 1426780 1427132 352 0.0
lock cy8ckit_062s2_43012 (read only) 818632 818632 0 0.0
(read/write) 1655460 1655796 336 0.0
.bss 212324 212324 0 0.0
.data 2384 2384 0 0.0
.text 1432364 1432700 336 0.0
qpg lighting-app qpg6105+debug (read/write) 1178464 1178784 320 0.0
.bss 100664 100664 0 0.0
.data 748 748 0 0.0
.text 625304 625624 320 0.1
lock-app qpg6105+debug (read/write) 1139220 1139532 312 0.0
.bss 95408 95408 0 0.0
.data 780 780 0 0.0
.text 586060 586372 312 0.1
telink air-quality-sensor-app tlsr9528a_retention (read only) 51910 51910 0 0.0
(read/write) 811322 811738 416 0.1
bss 53132 53132 0 0.0
text 606044 606384 340 0.1
all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1071412 1071828 416 0.0
bss 99388 99388 0 0.0
text 755036 755366 330 0.0
all-clusters-minimal-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 1076320 1076744 424 0.0
bss 109084 109084 0 0.0
text 746708 747048 340 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 930220 930644 424 0.0
bss 93684 93684 0 0.0
text 643244 643584 340 0.1
contact-sensor-app tlsr9528a_retention (read only) 51910 51910 0 0.0
(read/write) 814566 814982 416 0.1
bss 53240 53240 0 0.0
text 609094 609434 340 0.1
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 4 4 0 0.0
(read/write) 968828 969244 416 0.0
bss 77040 77040 0 0.0
text 687042 687380 338 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1086128 1086560 432 0.0
bss 99192 99192 0 0.0
text 763800 764148 348 0.0
lock-app-dfu tlsr9528a_retention (read only) 51910 51910 0 0.0
(read/write) 871950 872358 408 0.0
bss 53940 53940 0 0.0
text 638942 639272 330 0.1
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 943508 943932 424 0.0
bss 91792 91792 0 0.0
text 658978 659326 348 0.1
pump-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 871212 871636 424 0.0
bss 67076 67076 0 0.0
text 615618 615958 340 0.1
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 811776 812200 424 0.1
bss 55320 55320 0 0.0
text 582596 582936 340 0.1
resource-monitoring-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 827476 827900 424 0.1
bss 55724 55724 0 0.0
text 593210 593550 340 0.1
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 705712 705712 0 0.0
bss 73232 73232 0 0.0
text 462250 462250 0 0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51910 51910 0 0.0
(read/write) 816294 816718 424 0.1
bss 53332 53332 0 0.0
text 611824 612164 340 0.1
temperature-measurement-app tlsr9528a_retention (read only) 51910 51910 0 0.0
(read/write) 802234 802650 416 0.1
bss 53052 53052 0 0.0
text 599840 600180 340 0.1
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 832868 833284 416 0.0
bss 55608 55608 0 0.0
text 597952 598292 340 0.1
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 830336 830752 416 0.1
bss 55960 55960 0 0.0
text 595002 595342 340 0.1

@github-actions github-actions bot removed the support label Nov 10, 2023
Copy link

github-actions bot commented Nov 10, 2023

PR #30393: Size comparison from 08bcb56 to 207c7a7

Increases (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 08bcb56 207c7a7 change % change
bl602 lighting-app bl602 (read/write) 1407542 1408022 480 0.0
.rodata 156376 156408 32 0.0
.text 1076630 1077076 446 0.0
bl602+mfd (read/write) 1421982 1422462 480 0.0
.rodata 155336 155368 32 0.0
.text 1091982 1092428 446 0.0
bl602+rpc (read/write) 1454562 1455298 736 0.1
.rodata 163492 163524 32 0.0
.text 1108118 1108820 702 0.1
bl702 lighting-app bl702 (read/write) 1173703 1174183 480 0.0
.rodata 106116 106148 32 0.0
.text 947124 947570 446 0.0
bl702+mfd (read/write) 1184827 1185307 480 0.0
.rodata 105056 105088 32 0.0
.text 959188 959634 446 0.0
bl702+rpc (read/write) 1273263 1273739 476 0.0
.rodata 121016 121048 32 0.0
.text 1022190 1022636 446 0.0
bl706-eth (read/write) 992637 993117 480 0.0
.rodata 99204 99236 32 0.0
.text 739596 740042 446 0.1
bl706-wifi (read/write) 1227794 1228558 764 0.1
.rodata 120064 120096 32 0.0
.text 964016 964748 732 0.1
bl702l lighting-app bl702l .rodata 100120 100152 32 0.0
.text 940218 940664 446 0.0
bl702l+mfd (read/write) 1154880 1155868 988 0.1
.rodata 99060 99092 32 0.0
.text 952594 953040 446 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 737435 737755 320 0.0
.rodata 84599 84647 48 0.1
.text 652448 652720 272 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 759147 759467 320 0.0
.rodata 80175 80223 48 0.1
.text 678580 678852 272 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 746427 746747 320 0.0
.rodata 106231 106279 48 0.0
.text 639804 640076 272 0.0
pump-app LP_EM_CC1354P10_6 (read only) 697195 697523 328 0.0
.rodata 80359 80415 56 0.1
.text 616448 616720 272 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 682883 683203 320 0.0
.rodata 76199 76247 48 0.1
.text 606296 606568 272 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 563970 564314 344 0.1
.text 478164 478508 344 0.1
lock CC3235SF_LAUNCHXL (read only) 620234 620570 336 0.1
.text 511816 512152 336 0.1
cyw30739 light cyw930739m2evb_01 (read/write) 554727 555055 328 0.1
.app_xip_area 445801 446129 328 0.1
lock cyw930739m2evb_01 (read/write) 540887 541207 320 0.1
.app_xip_area 427161 427481 320 0.1
ota-requestor cyw930739m2evb_01 (read/write) 576583 576903 320 0.1
.app_xip_area 468985 469305 320 0.1
switch cyw930739m2evb_01 (read/write) 552615 552943 328 0.1
.app_xip_area 441929 442257 328 0.1
efr32 lighting-app BRD4161A+rs9116 (read/write) 1008668 1009020 352 0.0
.text 834032 834384 352 0.0
BRD4187C (read/write) 1094444 1094772 328 0.0
.text 895556 895884 328 0.0
lock-app BRD4161A+wf200 (read/write) 1105352 1105680 328 0.0
.text 915980 916308 328 0.0
window-app BRD4187C (read/write) 1131080 1131424 344 0.0
.text 959912 960256 344 0.0
esp32 all-clusters-app c3devkit (read only) 1129852 1130418 566 0.1
.flash.text 1129852 1130418 566 0.1
m5stack (read only) 1175059 1175531 472 0.0
.flash.text 1169675 1170147 472 0.0
k32w contact k32w0+release (read only) 591420 591740 320 0.1
.text 590884 591204 320 0.1
k32w1+release (read/write) 686504 686824 320 0.0
.text 573264 573584 320 0.1
light k32w0+release (read only) 591124 591444 320 0.1
.text 590588 590908 320 0.1
k32w1+release (read/write) 778500 778828 328 0.0
.text 656392 656720 328 0.0
lock k32w0+release (read only) 562948 563276 328 0.1
.text 562412 562740 328 0.1
linux air-purifier-app debug (read only) 2477461 2478485 1024 0.0
.rodata 177128 177384 256 0.1
.text 2126533 2127301 768 0.0
all-clusters-app debug (read only) 5279265 5280289 1024 0.0
.rodata 299484 299740 256 0.1
.text 4600115 4600883 768 0.0
all-clusters-minimal-app debug (read only) 4892153 4893145 992 0.0
.rodata 270061 270285 224 0.1
.text 4390995 4391763 768 0.0
bridge-app debug (read only) 4374281 4375305 1024 0.0
.rodata 218101 218357 256 0.1
.text 3938547 3939315 768 0.0
chip-tool debug (read only) 10360913 10362241 1328 0.0
.rodata 391529 391753 224 0.1
.text 9363699 9364803 1104 0.0
chip-tool-ipv6only arm64 (read only) 10238312 10240120 1808 0.0
.rodata 317744 317856 112 0.0
.text 9141640 9143336 1696 0.0
lighting-app debug+rpc+ui (read only) 5235073 5236065 992 0.0
.rodata 336820 337044 224 0.1
.text 4655027 4655795 768 0.0
lock-app debug (read only) 4473945 4474969 1024 0.0
.rodata 247381 247637 256 0.1
.text 4016963 4017731 768 0.0
ota-provider-app debug (read only) 4132361 4133353 992 0.0
.rodata 200085 200309 224 0.1
.text 3741427 3742195 768 0.0
ota-requestor-app debug (read only) 4218665 4219625 960 0.0
.rodata 203861 204053 192 0.1
.text 3819651 3820419 768 0.0
shell debug (read only) 2741177 2742169 992 0.0
.rodata 179264 179488 224 0.1
.text 2392114 2392882 768 0.0
thermostat-no-ble arm64 (read only) 4370456 4371912 1456 0.0
.rodata 161428 161540 112 0.1
.text 3870024 3871368 1344 0.0
tv-app debug (read only) 5243353 5244345 992 0.0
.rodata 266909 267133 224 0.1
.text 4741811 4742579 768 0.0
tv-casting-app debug (read only) 8299185 8300177 992 0.0
.rodata 339496 339720 224 0.1
.text 7551571 7552339 768 0.0
mbed lock-app-release cy8cproto_062_4343w (read/write) 2524984 2525288 304 0.0
.text 1487668 1487972 304 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1054348 1054672 324 0.0
rodata 104028 104080 52 0.0
text 774384 774656 272 0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1181180 1181504 324 0.0
rodata 138220 138272 52 0.0
text 772084 772356 272 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1039676 1039996 320 0.0
rodata 99300 99348 48 0.0
text 764152 764424 272 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1732564 1732900 336 0.0
.text 1528460 1528796 336 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1696404 1696740 336 0.0
.text 1494020 1494356 336 0.0
light cy8ckit_062s2_43012 (read/write) 1622588 1622940 352 0.0
.text 1426756 1427108 352 0.0
lock cy8ckit_062s2_43012 (read/write) 1655436 1655788 352 0.0
.text 1432340 1432692 352 0.0
qpg lighting-app qpg6105+debug (read/write) 1178456 1178776 320 0.0
.text 625296 625616 320 0.1
lock-app qpg6105+debug (read/write) 1139212 1139540 328 0.0
.text 586052 586380 328 0.1
telink air-quality-sensor-app tlsr9528a_retention (read/write) 811314 811730 416 0.1
text 606034 606374 340 0.1
all-clusters-app tlsr9518adk80d (read/write) 1071404 1071812 408 0.0
text 755026 755356 330 0.0
all-clusters-minimal-app tlsr9528a (read/write) 1076312 1076736 424 0.0
text 746698 747038 340 0.0
bridge-app tlsr9518adk80d (read/write) 930212 930636 424 0.0
text 643234 643574 340 0.1
contact-sensor-app tlsr9528a_retention (read/write) 814550 814974 424 0.1
text 609084 609424 340 0.1
light-switch-app-ota-shell-factory-data tlsr9528a (read/write) 968812 969236 424 0.0
text 687032 687370 338 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read/write) 1086120 1086552 432 0.0
text 763790 764138 348 0.0
lock-app-dfu tlsr9528a_retention (read/write) 871942 872358 416 0.0
text 638930 639270 340 0.1
ota-requestor-app tlsr9518adk80d (read/write) 943492 943924 432 0.0
text 658968 659316 348 0.1
pump-app tlsr9528a (read/write) 871204 871620 416 0.0
text 615608 615948 340 0.1
pump-controller-app tlsr9518adk80d (read/write) 811768 812192 424 0.1
text 582586 582926 340 0.1
resource-monitoring-app tlsr9518adk80d (read/write) 827468 827884 416 0.1
text 593200 593540 340 0.1
smoke_co_alarm-app tlsr9528a_retention (read/write) 816286 816710 424 0.1
text 611814 612154 340 0.1
temperature-measurement-app tlsr9528a_retention (read/write) 802226 802642 416 0.1
text 599830 600170 340 0.1
thermostat tlsr9518adk80d (read/write) 832860 833276 416 0.0
text 597942 598282 340 0.1
window-covering tlsr9518adk80d (read/write) 830320 830744 424 0.1
text 594992 595332 340 0.1
Decreases (3 builds for bl702l, linux)
platform target config section 08bcb56 207c7a7 change % change
bl702l lighting-app bl702l (read/write) 1143932 1143896 -36 -0.0
linux chip-tool-ipv6only arm64 (read/write) 515120 513296 -1824 -0.4
thermostat-no-ble arm64 (read/write) 247192 245784 -1408 -0.6
Full report (73 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 08bcb56 207c7a7 change % change
bl602 lighting-app bl602 (read/write) 1407542 1408022 480 0.0
.bss 84504 84504 0 0.0
.data 9376 9376 0 0.0
.rodata 156376 156408 32 0.0
.text 1076630 1077076 446 0.0
bl602+mfd (read/write) 1421982 1422462 480 0.0
.bss 84672 84672 0 0.0
.data 9344 9344 0 0.0
.rodata 155336 155368 32 0.0
.text 1091982 1092428 446 0.0
bl602+rpc (read/write) 1454562 1455298 736 0.1
.bss 92536 92536 0 0.0
.data 9744 9744 0 0.0
.rodata 163492 163524 32 0.0
.text 1108118 1108820 702 0.1
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1173703 1174183 480 0.0
.bss 11197 11197 0 0.0
.data 3560 3560 0 0.0
.rodata 106116 106148 32 0.0
.text 947124 947570 446 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1184827 1185307 480 0.0
.bss 11373 11373 0 0.0
.data 3536 3536 0 0.0
.rodata 105056 105088 32 0.0
.text 959188 959634 446 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1273263 1273739 476 0.0
.bss 19677 19677 0 0.0
.data 4112 4112 0 0.0
.rodata 121016 121048 32 0.0
.text 1022190 1022636 446 0.0
bl706-eth (read/write) 992637 993117 480 0.0
.bss 23772 23772 0 0.0
.data 3128 3128 0 0.0
.rodata 99204 99236 32 0.0
.text 739596 740042 446 0.1
bl706-wifi (read/write) 1227794 1228558 764 0.1
.bss 10657 10657 0 0.0
.data 3568 3568 0 0.0
.rodata 120064 120096 32 0.0
.text 964016 964748 732 0.1
bl702l lighting-app bl702l (read/write) 1143932 1143896 -36 -0.0
.bss 16408 16408 0 0.0
.data 4920 4920 0 0.0
.rodata 100120 100152 32 0.0
.text 940218 940664 446 0.0
bl702l+mfd (read/write) 1154880 1155868 988 0.1
.bss 16584 16584 0 0.0
.data 4904 4904 0 0.0
.rodata 99060 99092 32 0.0
.text 952594 953040 446 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 737435 737755 320 0.0
(read/write) 166528 166528 0 0.0
.bss 88940 88940 0 0.0
.data 3424 3424 0 0.0
.rodata 84599 84647 48 0.1
.text 652448 652720 272 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 759147 759467 320 0.0
(read/write) 176820 176820 0 0.0
.bss 99188 99188 0 0.0
.data 3444 3444 0 0.0
.rodata 80175 80223 48 0.1
.text 678580 678852 272 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 746427 746747 320 0.0
(read/write) 171276 171276 0 0.0
.bss 93644 93644 0 0.0
.data 3444 3444 0 0.0
.rodata 106231 106279 48 0.0
.text 639804 640076 272 0.0
pump-app LP_EM_CC1354P10_6 (read only) 697195 697523 328 0.0
(read/write) 165628 165628 0 0.0
.bss 87808 87808 0 0.0
.data 3412 3412 0 0.0
.rodata 80359 80415 56 0.1
.text 616448 616720 272 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 682883 683203 320 0.0
(read/write) 165760 165760 0 0.0
.bss 87952 87952 0 0.0
.data 3408 3408 0 0.0
.rodata 76199 76247 48 0.1
.text 606296 606568 272 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 563970 564314 344 0.1
(read/write) 206496 206496 0 0.0
.bss 199956 199956 0 0.0
.data 1416 1416 0 0.0
.rodata 83682 83682 0 0.0
.text 478164 478508 344 0.1
lock CC3235SF_LAUNCHXL (read only) 620234 620570 336 0.1
(read/write) 206900 206900 0 0.0
.bss 200336 200336 0 0.0
.data 1444 1444 0 0.0
.rodata 106298 106298 0 0.0
.text 511816 512152 336 0.1
cyw30739 light cyw930739m2evb_01 (read/write) 554727 555055 328 0.1
.app_xip_area 445801 446129 328 0.1
.bss 63840 63840 0 0.0
.data 664 664 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 540887 541207 320 0.1
.app_xip_area 427161 427481 320 0.1
.bss 68608 68608 0 0.0
.data 696 696 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 576583 576903 320 0.1
.app_xip_area 468985 469305 320 0.1
.bss 62584 62584 0 0.0
.data 592 592 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 552615 552943 328 0.1
.app_xip_area 441929 442257 328 0.1
.bss 65568 65568 0 0.0
.data 692 692 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1008668 1009020 352 0.0
.bss 171920 171920 0 0.0
.data 2696 2696 0 0.0
.text 834032 834384 352 0.0
BRD4187C (read/write) 1094444 1094772 328 0.0
.bss 195564 195564 0 0.0
.data 3304 3304 0 0.0
.text 895556 895884 328 0.0
lock-app BRD4161A+wf200 (read/write) 1105352 1105680 328 0.0
.bss 186640 186640 0 0.0
.data 2712 2712 0 0.0
.text 915980 916308 328 0.0
window-app BRD4187C (read/write) 1131080 1131424 344 0.0
.bss 167972 167972 0 0.0
.data 3176 3176 0 0.0
.text 959912 960256 344 0.0
esp32 all-clusters-app c3devkit (read only) 1129852 1130418 566 0.1
(read/write) 1670084 1670084 0 0.0
.dram0.bss 71848 71848 0 0.0
.dram0.data 12996 12996 0 0.0
.flash.rodata 241360 241360 0 0.0
.flash.text 1129852 1130418 566 0.1
.iram0.text 75694 75694 0 0.0
m5stack (read only) 1175059 1175531 472 0.0
(read/write) 520080 520080 0 0.0
.dram0.bss 78496 78496 0 0.0
.dram0.data 34020 34020 0 0.0
.flash.rodata 273200 273200 0 0.0
.flash.text 1169675 1170147 472 0.0
.iram0.text 123907 123907 0 0.0
k32w contact k32w0+release (read only) 591420 591740 320 0.1
(read/write) 87600 87600 0 0.0
.bss 70840 70840 0 0.0
.data 2136 2136 0 0.0
.text 590884 591204 320 0.1
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 686504 686824 320 0.0
.bss 67040 67040 0 0.0
.data 2720 2720 0 0.0
.text 573264 573584 320 0.1
light k32w0+release (read only) 591124 591444 320 0.1
(read/write) 87276 87276 0 0.0
.bss 70528 70528 0 0.0
.data 2124 2124 0 0.0
.text 590588 590908 320 0.1
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 778500 778828 328 0.0
.bss 76716 76716 0 0.0
.data 1932 1932 0 0.0
.text 656392 656720 328 0.0
lock k32w0+release (read only) 562948 563276 328 0.1
(read/write) 85104 85104 0 0.0
.bss 68416 68416 0 0.0
.data 2064 2064 0 0.0
.text 562412 562740 328 0.1
linux air-purifier-app debug (read only) 2477461 2478485 1024 0.0
(read/write) 126280 126280 0 0.0
.bss 46656 46656 0 0.0
.data 1472 1472 0 0.0
.data.rel.ro 72168 72168 0 0.0
.dynamic 608 608 0 0.0
.got 4560 4560 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 177128 177384 256 0.1
.text 2126533 2127301 768 0.0
all-clusters-app debug (read only) 5279265 5280289 1024 0.0
(read/write) 418800 418800 0 0.0
.bss 128880 128880 0 0.0
.data 3856 3856 0 0.0
.data.rel.ro 278832 278832 0 0.0
.dynamic 624 624 0 0.0
.got 5360 5360 0 0.0
.init 27 27 0 0.0
.init_array 1208 1208 0 0.0
.rodata 299484 299740 256 0.1
.text 4600115 4600883 768 0.0
all-clusters-minimal-app debug (read only) 4892153 4893145 992 0.0
(read/write) 233080 233080 0 0.0
.bss 126704 126704 0 0.0
.data 3792 3792 0 0.0
.data.rel.ro 95440 95440 0 0.0
.dynamic 624 624 0 0.0
.got 5320 5320 0 0.0
.init 27 27 0 0.0
.init_array 1152 1152 0 0.0
.rodata 270061 270285 224 0.1
.text 4390995 4391763 768 0.0
bridge-app debug (read only) 4374281 4375305 1024 0.0
(read/write) 215128 215128 0 0.0
.bss 118904 118904 0 0.0
.data 4704 4704 0 0.0
.data.rel.ro 84768 84768 0 0.0
.dynamic 624 624 0 0.0
.got 5288 5288 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 218101 218357 256 0.1
.text 3938547 3939315 768 0.0
chip-tool debug (read only) 10360913 10362241 1328 0.0
(read/write) 448896 448896 0 0.0
.bss 93752 93752 0 0.0
.data 4994 4994 0 0.0
.data.rel.ro 342920 342920 0 0.0
.dynamic 624 624 0 0.0
.got 5784 5784 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 391529 391753 224 0.1
.text 9363699 9364803 1104 0.0
chip-tool-ipv6only arm64 (read only) 10238312 10240120 1808 0.0
(read/write) 515120 513296 -1824 -0.4
.bss 103112 103112 0 0.0
.data 4296 4296 0 0.0
.data.rel.ro 380480 380480 0 0.0
.dynamic 512 512 0 0.0
.got 18624 18624 0 0.0
.init 24 24 0 0.0
.init_array 256 256 0 0.0
.rodata 317744 317856 112 0.0
.text 9141640 9143336 1696 0.0
lighting-app debug+rpc+ui (read only) 5235073 5236065 992 0.0
(read/write) 223136 223136 0 0.0
.bss 118208 118208 0 0.0
.data 4416 4416 0 0.0
.data.rel.ro 92976 92976 0 0.0
.dynamic 672 672 0 0.0
.got 5904 5904 0 0.0
.init 27 27 0 0.0
.init_array 952 952 0 0.0
.rodata 336820 337044 224 0.1
.text 4655027 4655795 768 0.0
lock-app debug (read only) 4473945 4474969 1024 0.0
(read/write) 203304 203304 0 0.0
.bss 113472 113472 0 0.0
.data 3648 3648 0 0.0
.data.rel.ro 79432 79432 0 0.0
.dynamic 624 624 0 0.0
.got 5240 5240 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 247381 247637 256 0.1
.text 4016963 4017731 768 0.0
ota-provider-app debug (read only) 4132361 4133353 992 0.0
(read/write) 192192 192192 0 0.0
.bss 113568 113568 0 0.0
.data 3920 3920 0 0.0
.data.rel.ro 68784 68784 0 0.0
.dynamic 624 624 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 200085 200309 224 0.1
.text 3741427 3742195 768 0.0
ota-requestor-app debug (read only) 4218665 4219625 960 0.0
(read/write) 196440 196440 0 0.0
.bss 114592 114592 0 0.0
.data 4192 4192 0 0.0
.data.rel.ro 71744 71744 0 0.0
.dynamic 624 624 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 203861 204053 192 0.1
.text 3819651 3820419 768 0.0
shell debug (read only) 2741177 2742169 992 0.0
(read/write) 148504 148504 0 0.0
.bss 59528 59528 0 0.0
.data 784 784 0 0.0
.data.rel.ro 82400 82400 0 0.0
.dynamic 592 592 0 0.0
.got 4088 4088 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 179264 179488 224 0.1
.text 2392114 2392882 768 0.0
thermostat-no-ble arm64 (read only) 4370456 4371912 1456 0.0
(read/write) 247192 245784 -1408 -0.6
.bss 122184 122184 0 0.0
.data 2800 2800 0 0.0
.data.rel.ro 101776 101776 0 0.0
.dynamic 512 512 0 0.0
.got 11928 11928 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 161428 161540 112 0.1
.text 3870024 3871368 1344 0.0
tv-app debug (read only) 5243353 5244345 992 0.0
(read/write) 344624 344624 0 0.0
.bss 242080 242080 0 0.0
.data 4992 4992 0 0.0
.data.rel.ro 90240 90240 0 0.0
.dynamic 624 624 0 0.0
.got 5528 5528 0 0.0
.init 27 27 0 0.0
.init_array 1128 1128 0 0.0
.rodata 266909 267133 224 0.1
.text 4741811 4742579 768 0.0
tv-casting-app debug (read only) 8299185 8300177 992 0.0
(read/write) 315640 315640 0 0.0
.bss 155936 155936 0 0.0
.data 2464 2464 0 0.0
.data.rel.ro 150384 150384 0 0.0
.dynamic 624 624 0 0.0
.got 5064 5064 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 339496 339720 224 0.1
.text 7551571 7552339 768 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2524984 2525288 304 0.0
.bss 219064 219064 0 0.0
.data 5136 5136 0 0.0
.text 1487668 1487972 304 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1054348 1054672 324 0.0
bss 128343 128343 0 0.0
rodata 104028 104080 52 0.0
text 774384 774656 272 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1181180 1181504 324 0.0
bss 120545 120545 0 0.0
rodata 138220 138272 52 0.0
text 772084 772356 272 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1039676 1039996 320 0.0
bss 128636 128636 0 0.0
rodata 99300 99348 48 0.0
text 764152 764424 272 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 837624 837624 0 0.0
(read/write) 1732564 1732900 336 0.0
.bss 193236 193236 0 0.0
.data 2480 2480 0 0.0
.text 1528460 1528796 336 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 839344 839344 0 0.0
(read/write) 1696404 1696740 336 0.0
.bss 191516 191516 0 0.0
.data 2480 2480 0 0.0
.text 1494020 1494356 336 0.0
light cy8ckit_062s2_43012 (read only) 845896 845896 0 0.0
(read/write) 1622588 1622940 352 0.0
.bss 185076 185076 0 0.0
.data 2368 2368 0 0.0
.text 1426756 1427108 352 0.0
lock cy8ckit_062s2_43012 (read only) 818632 818632 0 0.0
(read/write) 1655436 1655788 352 0.0
.bss 212324 212324 0 0.0
.data 2384 2384 0 0.0
.text 1432340 1432692 352 0.0
qpg lighting-app qpg6105+debug (read/write) 1178456 1178776 320 0.0
.bss 100664 100664 0 0.0
.data 748 748 0 0.0
.text 625296 625616 320 0.1
lock-app qpg6105+debug (read/write) 1139212 1139540 328 0.0
.bss 95408 95408 0 0.0
.data 780 780 0 0.0
.text 586052 586380 328 0.1
telink air-quality-sensor-app tlsr9528a_retention (read only) 51910 51910 0 0.0
(read/write) 811314 811730 416 0.1
bss 53132 53132 0 0.0
text 606034 606374 340 0.1
all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1071404 1071812 408 0.0
bss 99388 99388 0 0.0
text 755026 755356 330 0.0
all-clusters-minimal-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 1076312 1076736 424 0.0
bss 109084 109084 0 0.0
text 746698 747038 340 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 930212 930636 424 0.0
bss 93684 93684 0 0.0
text 643234 643574 340 0.1
contact-sensor-app tlsr9528a_retention (read only) 51910 51910 0 0.0
(read/write) 814550 814974 424 0.1
bss 53240 53240 0 0.0
text 609084 609424 340 0.1
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 4 4 0 0.0
(read/write) 968812 969236 424 0.0
bss 77040 77040 0 0.0
text 687032 687370 338 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1086120 1086552 432 0.0
bss 99192 99192 0 0.0
text 763790 764138 348 0.0
lock-app-dfu tlsr9528a_retention (read only) 51910 51910 0 0.0
(read/write) 871942 872358 416 0.0
bss 53940 53940 0 0.0
text 638930 639270 340 0.1
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 943492 943924 432 0.0
bss 91792 91792 0 0.0
text 658968 659316 348 0.1
pump-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 871204 871620 416 0.0
bss 67076 67076 0 0.0
text 615608 615948 340 0.1
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 811768 812192 424 0.1
bss 55320 55320 0 0.0
text 582586 582926 340 0.1
resource-monitoring-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 827468 827884 416 0.1
bss 55724 55724 0 0.0
text 593200 593540 340 0.1
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 705712 705712 0 0.0
bss 73232 73232 0 0.0
text 462250 462250 0 0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51910 51910 0 0.0
(read/write) 816286 816710 424 0.1
bss 53332 53332 0 0.0
text 611814 612154 340 0.1
temperature-measurement-app tlsr9528a_retention (read only) 51910 51910 0 0.0
(read/write) 802226 802642 416 0.1
bss 53052 53052 0 0.0
text 599830 600170 340 0.1
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 832860 833276 416 0.0
bss 55608 55608 0 0.0
text 597942 598282 340 0.1
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 830320 830744 424 0.1
bss 55960 55960 0 0.0
text 594992 595332 340 0.1

@mergify mergify bot merged commit 8d8d8a2 into project-chip:master Nov 10, 2023
57 checks passed
@@ -27,8 +27,9 @@ using namespace chip::app::Clusters::TemperatureControl;
using chip::Protocols::InteractionModel::Status;

// TODO: Configure your options for each endpoint
CharSpan AppSupportedTemperatureLevelsDelegate::temperatureLevelOptions[] = { CharSpan("Hot", 3), CharSpan("Warm", 4),
CharSpan("Cold", 4) };
CharSpan AppSupportedTemperatureLevelsDelegate::temperatureLevelOptions[] = { CharSpan::fromCharString("Hot"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use "Hot"_span next time @andreilitvin

@@ -209,6 +209,7 @@ struct SceneTableData : public SceneTableEntry, PersistentData<kPersistentSceneB

CHIP_ERROR Serialize(TLV::TLVWriter & writer) const override
{
// TODO: if we have mNameLength, should this bin ByteSpan instead?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand this comment.

@@ -551,7 +551,7 @@ void TimeSynchronizationServer::InitTimeZone()
for (auto & tzStore : mTimeZoneObj.timeZoneList)
{
memset(tzStore.name, 0, sizeof(tzStore.name));
tzStore.timeZone = { .offset = 0, .validAt = 0, .name = MakeOptional(CharSpan(tzStore.name, sizeof(tzStore.name))) };
tzStore.timeZone = { .offset = 0, .validAt = 0, .name = MakeOptional(CharSpan(tzStore.name, 0)) };
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks wrong to me. The right thing to set .name to here is NullOptional, not empty string.

* Invalid UTF8 string (contains some characters that are invalid)
*
*/
#define CHIP_ERROR_INVALID_UTF8 CHIP_CORE_ERROR(0x12)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please align the indentation with the other errors.

mergify bot pushed a commit that referenced this pull request Nov 12, 2023
* Use _span

* Remove comment

* Fix alignment

* restyle

* Remove extra bracket

* Fix init

---------

Co-authored-by: Andrei Litvin <andreilitvin@google.com>
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.

7 participants