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

Timesync improvements - part 2 #32849

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

fessehaeve
Copy link
Contributor

Fixes for issues form #27575 :

  • simplify span usage
  • encode mutablecharspan instead of creating a new charspan
  • encode null when GetLocalTime() fails
  • simplify granularity validity check
  • change size comparison to compare against actual buffer size instead of attribute list size macro
  • use unknown enum to check for invalid enums
  • minor logging changes

Copy link

github-actions bot commented Apr 4, 2024

PR #32849: Size comparison from e1d93fa to cffdbbd

Increases (7 builds for cyw30739, esp32, nrfconnect, telink)
platform target config section e1d93fa2 cffdbbd change % change
cyw30739 switch cyw930739m2evb_01 (read/write) 564551 564631 80 0.0
.app_xip_area 452781 452861 80 0.0
esp32 all-clusters-app c3devkit (read only) 1213272 1213364 92 0.0
.flash.text 1213272 1213364 92 0.0
m5stack (read only) 1255087 1255171 84 0.0
.flash.text 1248923 1249007 84 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 781000 781104 104 0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1225388 1225468 80 0.0
text 796892 796980 88 0.0
telink all-clusters-app tlsr9518adk80d text 795116 795214 98 0.0
light-switch-app-ota-shell-factory-data tlsr9528a text 698172 698270 98 0.0
Decreases (9 builds for efr32, esp32, linux, nrfconnect, psoc6, telink)
platform target config section e1d93fa2 cffdbbd change % change
efr32 lock-app BRD4338a (read/write) 959872 959864 -8 -0.0
.text 700108 700100 -8 -0.0
esp32 all-clusters-app c3devkit (read/write) 1750240 1750120 -120 -0.0
.flash.rodata 252704 252584 -120 -0.0
m5stack (read/write) 536396 536284 -112 -0.0
.flash.rodata 284232 284120 -112 -0.0
linux all-clusters-app debug (read only) 5952281 5952121 -160 -0.0
.rodata 349744 349584 -160 -0.0
shell debug (read only) 2918161 2918001 -160 -0.0
.rodata 185568 185408 -160 -0.1
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1064288 1064264 -24 -0.0
rodata 102960 102840 -120 -0.1
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1802580 1802428 -152 -0.0
.text 1593132 1592980 -152 -0.0
telink all-clusters-app tlsr9518adk80d (read/write) 1094444 1094428 -16 -0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read/write) 930592 930576 -16 -0.0
Full report (71 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink)
platform target config section e1d93fa2 cffdbbd change % change
bl602 lighting-app bl602 (read/write) 1442278 1442278 0 0.0
.bss 85432 85432 0 0.0
.data 9504 9504 0 0.0
.rodata 158976 158976 0 0.0
.text 1107698 1107698 0 0.0
bl602+mfd (read/write) 1456694 1456694 0 0.0
.bss 85600 85600 0 0.0
.data 9480 9480 0 0.0
.rodata 157936 157936 0 0.0
.text 1123014 1123014 0 0.0
bl602+rpc (read/write) 1489918 1489918 0 0.0
.bss 93480 93480 0 0.0
.data 9880 9880 0 0.0
.rodata 166544 166544 0 0.0
.text 1139344 1139344 0 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1206971 1206971 0 0.0
.bss 11217 11217 0 0.0
.data 3688 3688 0 0.0
.rodata 108336 108336 0 0.0
.text 976846 976846 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1217783 1217783 0 0.0
.bss 11393 11393 0 0.0
.data 3664 3664 0 0.0
.rodata 107276 107276 0 0.0
.text 988598 988598 0 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1298707 1298707 0 0.0
.bss 19701 19701 0 0.0
.data 4224 4224 0 0.0
.rodata 123708 123708 0 0.0
.text 1051810 1051810 0 0.0
bl706-eth (read/write) 1024405 1024405 0 0.0
.bss 23792 23792 0 0.0
.data 3264 3264 0 0.0
.rodata 101660 101660 0 0.0
.text 767702 767702 0 0.0
bl706-wifi (read/write) 1259078 1259078 0 0.0
.bss 10677 10677 0 0.0
.data 3696 3696 0 0.0
.rodata 122660 122660 0 0.0
.text 999606 999606 0 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1176312 1176312 0 0.0
.bss 16428 16428 0 0.0
.data 5048 5048 0 0.0
.rodata 102340 102340 0 0.0
.text 969712 969712 0 0.0
bl702l+mfd (read only) 512 512 0 0.0
(read/write) 1187716 1187716 0 0.0
.bss 16604 16604 0 0.0
.data 5032 5032 0 0.0
.rodata 101280 101280 0 0.0
.text 982032 982032 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 782004 782004 0 0.0
(read/write) 168824 168824 0 0.0
.bss 90780 90780 0 0.0
.data 3584 3584 0 0.0
.rodata 82532 82532 0 0.0
.text 699204 699204 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 798156 798156 0 0.0
(read/write) 178976 178976 0 0.0
.bss 100948 100948 0 0.0
.data 3576 3576 0 0.0
.rodata 76684 76684 0 0.0
.text 721204 721204 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 786796 786796 0 0.0
(read/write) 173416 173416 0 0.0
.bss 95388 95388 0 0.0
.data 3576 3576 0 0.0
.rodata 103436 103436 0 0.0
.text 683092 683092 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 739092 739092 0 0.0
(read/write) 167784 167784 0 0.0
.bss 89520 89520 0 0.0
.data 3568 3568 0 0.0
.rodata 78196 78196 0 0.0
.text 660628 660628 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 724748 724748 0 0.0
(read/write) 168000 168000 0 0.0
.bss 89736 89736 0 0.0
.data 3568 3568 0 0.0
.rodata 73972 73972 0 0.0
.text 650508 650508 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 586194 586194 0 0.0
(read/write) 208080 208080 0 0.0
.bss 201308 201308 0 0.0
.data 1648 1648 0 0.0
.rodata 87418 87418 0 0.0
.text 496652 496652 0 0.0
lock CC3235SF_LAUNCHXL (read only) 630986 630986 0 0.0
(read/write) 208336 208336 0 0.0
.bss 201712 201712 0 0.0
.data 1504 1504 0 0.0
.rodata 107762 107762 0 0.0
.text 521100 521100 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 569263 569263 0 0.0
.app_xip_area 459181 459181 0 0.0
.bss 64908 64908 0 0.0
.data 752 752 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 551519 551519 0 0.0
.app_xip_area 436765 436765 0 0.0
.bss 69572 69572 0 0.0
.data 760 760 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 572335 572335 0 0.0
.app_xip_area 463757 463757 0 0.0
.bss 63444 63444 0 0.0
.data 712 712 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 564551 564631 80 0.0
.app_xip_area 452781 452861 80 0.0
.bss 66556 66556 0 0.0
.data 792 792 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4187C (read/write) 1113488 1113488 0 0.0
.bss 195272 195272 0 0.0
.data 3432 3432 0 0.0
.text 914764 914764 0 0.0
lock-app BRD4338a (read/write) 959872 959864 -8 -0.0
.bss 210204 210204 0 0.0
.data 30192 30192 0 0.0
.text 700108 700100 -8 -0.0
window-app BRD4187C (read/write) 1160704 1160704 0 0.0
.bss 167600 167600 0 0.0
.data 3336 3336 0 0.0
.text 989748 989748 0 0.0
esp32 all-clusters-app c3devkit (read only) 1213272 1213364 92 0.0
(read/write) 1750240 1750120 -120 -0.0
.dram0.bss 74384 74384 0 0.0
.dram0.data 13628 13628 0 0.0
.flash.rodata 252704 252584 -120 -0.0
.flash.text 1213272 1213364 92 0.0
.iram0.text 75530 75530 0 0.0
m5stack (read only) 1255087 1255171 84 0.0
(read/write) 536396 536284 -112 -0.0
.dram0.bss 81064 81064 0 0.0
.dram0.data 35180 35180 0 0.0
.flash.rodata 284232 284120 -112 -0.0
.flash.text 1248923 1249007 84 0.0
.iram0.text 125403 125403 0 0.0
linux air-purifier-app debug (read only) 2643693 2643693 0 0.0
(read/write) 130032 130032 0 0.0
.bss 46736 46736 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 75080 75080 0 0.0
.dynamic 608 608 0 0.0
.got 4520 4520 0 0.0
.init 27 27 0 0.0
.init_array 792 792 0 0.0
.rodata 184208 184208 0 0.0
.text 2280469 2280469 0 0.0
all-clusters-app debug (read only) 5952281 5952121 -160 -0.0
(read/write) 481536 481536 0 0.0
.bss 135072 135072 0 0.0
.data 4560 4560 0 0.0
.data.rel.ro 334472 334472 0 0.0
.dynamic 624 624 0 0.0
.got 5328 5328 0 0.0
.init 27 27 0 0.0
.init_array 1432 1432 0 0.0
.rodata 349744 349584 -160 -0.0
.text 5167731 5167731 0 0.0
all-clusters-minimal-app debug (read only) 5232433 5232433 0 0.0
(read/write) 237488 237488 0 0.0
.bss 127904 127904 0 0.0
.data 4464 4464 0 0.0
.data.rel.ro 98056 98056 0 0.0
.dynamic 624 624 0 0.0
.got 5248 5248 0 0.0
.init 27 27 0 0.0
.init_array 1160 1160 0 0.0
.rodata 288714 288714 0 0.0
.text 4707571 4707571 0 0.0
bridge-app debug (read only) 4625897 4625897 0 0.0
(read/write) 218336 218336 0 0.0
.bss 118400 118400 0 0.0
.data 6240 6240 0 0.0
.data.rel.ro 86976 86976 0 0.0
.dynamic 624 624 0 0.0
.got 5216 5216 0 0.0
.init 27 27 0 0.0
.init_array 856 856 0 0.0
.rodata 229546 229546 0 0.0
.text 4174627 4174627 0 0.0
chip-tool debug (read only) 12080665 12080665 0 0.0
(read/write) 523032 523032 0 0.0
.bss 94680 94680 0 0.0
.data 5122 5122 0 0.0
.data.rel.ro 416000 416000 0 0.0
.dynamic 624 624 0 0.0
.got 5736 5736 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 450585 450585 0 0.0
.text 10921699 10921699 0 0.0
chip-tool-ipv6only arm64 (read only) 11400868 11400868 0 0.0
(read/write) 590384 590384 0 0.0
.bss 103736 103736 0 0.0
.data 4512 4512 0 0.0
.data.rel.ro 455952 455952 0 0.0
.dynamic 512 512 0 0.0
.got 17112 17112 0 0.0
.init 24 24 0 0.0
.init_array 280 280 0 0.0
.rodata 355860 355860 0 0.0
.text 10163272 10163272 0 0.0
lighting-app debug+rpc+ui (read only) 5548793 5548793 0 0.0
(read/write) 227096 227096 0 0.0
.bss 119336 119336 0 0.0
.data 4864 4864 0 0.0
.data.rel.ro 95376 95376 0 0.0
.dynamic 672 672 0 0.0
.got 5856 5856 0 0.0
.init 27 27 0 0.0
.init_array 968 968 0 0.0
.rodata 353396 353396 0 0.0
.text 4947283 4947283 0 0.0
lock-app debug (read only) 4690865 4690865 0 0.0
(read/write) 205552 205552 0 0.0
.bss 113696 113696 0 0.0
.data 4160 4160 0 0.0
.data.rel.ro 81016 81016 0 0.0
.dynamic 624 624 0 0.0
.got 5168 5168 0 0.0
.init 27 27 0 0.0
.init_array 872 872 0 0.0
.rodata 255242 255242 0 0.0
.text 4222963 4222963 0 0.0
ota-provider-app debug (read only) 4307129 4307129 0 0.0
(read/write) 194224 194224 0 0.0
.bss 113472 113472 0 0.0
.data 4368 4368 0 0.0
.data.rel.ro 70448 70448 0 0.0
.dynamic 624 624 0 0.0
.got 4536 4536 0 0.0
.init 27 27 0 0.0
.init_array 744 744 0 0.0
.rodata 208458 208458 0 0.0
.text 3904163 3904163 0 0.0
ota-requestor-app debug (read only) 4436793 4436793 0 0.0
(read/write) 198592 198592 0 0.0
.bss 114368 114368 0 0.0
.data 4768 4768 0 0.0
.data.rel.ro 73552 73552 0 0.0
.dynamic 624 624 0 0.0
.got 4472 4472 0 0.0
.init 27 27 0 0.0
.init_array 792 792 0 0.0
.rodata 214698 214698 0 0.0
.text 4023043 4023043 0 0.0
shell debug (read only) 2918161 2918001 -160 -0.0
(read/write) 156936 156936 0 0.0
.bss 62544 62544 0 0.0
.data 1424 1424 0 0.0
.data.rel.ro 87168 87168 0 0.0
.dynamic 592 592 0 0.0
.got 4056 4056 0 0.0
.init 27 27 0 0.0
.init_array 1104 1104 0 0.0
.rodata 185568 185408 -160 -0.1
.text 2557890 2557890 0 0.0
thermostat-no-ble arm64 (read only) 4426556 4426556 0 0.0
(read/write) 244720 244720 0 0.0
.bss 121976 121976 0 0.0
.data 3392 3392 0 0.0
.data.rel.ro 104312 104312 0 0.0
.dynamic 512 512 0 0.0
.got 8712 8712 0 0.0
.init 24 24 0 0.0
.init_array 448 448 0 0.0
.rodata 159988 159988 0 0.0
.text 3929976 3929976 0 0.0
tv-app debug (read only) 5761073 5761073 0 0.0
(read/write) 353200 353200 0 0.0
.bss 244240 244240 0 0.0
.data 6560 6560 0 0.0
.data.rel.ro 95128 95128 0 0.0
.dynamic 624 624 0 0.0
.got 5464 5464 0 0.0
.init 27 27 0 0.0
.init_array 1176 1176 0 0.0
.rodata 292522 292522 0 0.0
.text 5225299 5225299 0 0.0
tv-casting-app debug (read only) 9890993 9890993 0 0.0
(read/write) 340784 340784 0 0.0
.bss 156080 156080 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 174816 174816 0 0.0
.dynamic 624 624 0 0.0
.got 5040 5040 0 0.0
.init 27 27 0 0.0
.init_array 1208 1208 0 0.0
.rodata 382904 382904 0 0.0
.text 9041379 9041379 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2534280 2534280 0 0.0
.bss 220472 220472 0 0.0
.data 5216 5216 0 0.0
.text 1496964 1496964 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1064288 1064264 -24 -0.0
bss 133107 133107 0 0.0
rodata 102960 102840 -120 -0.1
text 781000 781104 104 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1225388 1225468 80 0.0
bss 127163 127163 0 0.0
rodata 151304 151304 0 0.0
text 796892 796980 88 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1011768 1011768 0 0.0
bss 131965 131965 0 0.0
rodata 90224 90224 0 0.0
text 742364 742364 0 0.0
nxp contact k32w0+release (read only) 574508 574508 0 0.0
(read/write) 79988 79988 0 0.0
.bss 67824 67824 0 0.0
.data 2180 2180 0 0.0
.text 573972 573972 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 701468 701468 0 0.0
.bss 71176 71176 0 0.0
.data 2856 2856 0 0.0
.text 588056 588056 0 0.0
light k32w0+release (read only) 608520 608520 0 0.0
(read/write) 79464 79464 0 0.0
.bss 67280 67280 0 0.0
.data 2200 2200 0 0.0
.text 607984 607984 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 793368 793368 0 0.0
.bss 80728 80728 0 0.0
.data 2056 2056 0 0.0
.text 671216 671216 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 832280 832280 0 0.0
(read/write) 1802580 1802428 -152 -0.0
.bss 198372 198372 0 0.0
.data 2688 2688 0 0.0
.text 1593132 1592980 -152 -0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 835432 835432 0 0.0
(read/write) 1724468 1724468 0 0.0
.bss 195252 195252 0 0.0
.data 2656 2656 0 0.0
.text 1518172 1518172 0 0.0
light cy8ckit_062s2_43012 (read only) 842160 842160 0 0.0
(read/write) 1643204 1643204 0 0.0
.bss 188716 188716 0 0.0
.data 2464 2464 0 0.0
.text 1443636 1443636 0 0.0
lock cy8ckit_062s2_43012 (read only) 815096 815096 0 0.0
(read/write) 1671988 1671988 0 0.0
.bss 215788 215788 0 0.0
.data 2456 2456 0 0.0
.text 1445356 1445356 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1131728 1131728 0 0.0
.bss 102572 102572 0 0.0
.data 844 844 0 0.0
.text 644112 644112 0 0.0
lock-app qpg6105+debug (read/write) 1091544 1091544 0 0.0
.bss 97236 97236 0 0.0
.data 856 856 0 0.0
.text 603924 603924 0 0.0
stm32 light STM32WB5MM-DK (read/write) 603189 603189 0 0.0
.bss 128436 128436 0 0.0
.data 676 676 0 0.0
.rodata 80108 80108 0 0.0
.text 384224 384224 0 0.0
telink air-quality-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 825414 825414 0 0.0
bss 49708 49708 0 0.0
text 617796 617796 0 0.0
all-clusters-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 1094444 1094428 -16 -0.0
bss 101804 101804 0 0.0
text 795116 795214 98 0.0
all-clusters-minimal-app tlsr9528a (read only) 47960 47960 0 0.0
(read/write) 1051980 1051980 0 0.0
bss 110100 110100 0 0.0
text 766506 766506 0 0.0
bridge-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 912420 912420 0 0.0
bss 93140 93140 0 0.0
text 653704 653704 0 0.0
contact-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 827070 827070 0 0.0
bss 49748 49748 0 0.0
text 619518 619518 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 930592 930576 -16 -0.0
bss 77488 77488 0 0.0
text 698172 698270 98 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 29122 29122 0 0.0
(read/write) 1075720 1075720 0 0.0
bss 100212 100212 0 0.0
text 779222 779222 0 0.0
lock-app-dfu tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 905252 905252 0 0.0
bss 69220 69220 0 0.0
text 654998 654998 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 931424 931424 0 0.0
bss 92712 92712 0 0.0
text 672824 672824 0 0.0
pump-app tlsr9258a_retention (read only) 51774 51774 0 0.0
(read/write) 829778 829778 0 0.0
bss 49856 49856 0 0.0
text 622558 622558 0 0.0
pump-controller-app tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 793344 793344 0 0.0
bss 56056 56056 0 0.0
text 593236 593236 0 0.0
shell tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 675888 675888 0 0.0
bss 73412 73412 0 0.0
text 461650 461650 0 0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 835102 835102 0 0.0
bss 51388 51388 0 0.0
text 626382 626382 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d (read only) 32220 32220 0 0.0
(read/write) 853313 853313 0 0.0
bss 59532 59532 0 0.0
text 637946 637946 0 0.0
thermostat tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 819040 819040 0 0.0
bss 56352 56352 0 0.0
text 612952 612952 0 0.0
window-covering tlsr9258a (read only) 51584 51584 0 0.0
(read/write) 837124 837124 0 0.0
bss 68128 68128 0 0.0
text 628200 628200 0 0.0

Copy link

github-actions bot commented Apr 4, 2024

PR #32849: Size comparison from e1d93fa to e5ee87b

Increases (9 builds for cyw30739, esp32, linux, nrfconnect, telink)
platform target config section e1d93fa2 e5ee87b change % change
cyw30739 switch cyw930739m2evb_01 (read/write) 564551 564631 80 0.0
.app_xip_area 452781 452861 80 0.0
esp32 all-clusters-app c3devkit (read only) 1213272 1213372 100 0.0
.flash.text 1213272 1213372 100 0.0
m5stack (read only) 1255087 1255195 108 0.0
.flash.text 1248923 1249031 108 0.0
linux all-clusters-app debug .text 5167731 5167795 64 0.0
shell debug .text 2557890 2557954 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1064288 1064296 8 0.0
text 781000 781112 112 0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1225388 1225468 80 0.0
text 796892 796980 88 0.0
telink all-clusters-app tlsr9518adk80d (read/write) 1094444 1094452 8 0.0
text 795116 795222 106 0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read/write) 930592 930600 8 0.0
text 698172 698278 106 0.0
Decreases (7 builds for efr32, esp32, linux, nrfconnect, psoc6)
platform target config section e1d93fa2 e5ee87b change % change
efr32 lock-app BRD4338a (read/write) 959872 959864 -8 -0.0
.text 700108 700100 -8 -0.0
esp32 all-clusters-app c3devkit (read/write) 1750240 1750136 -104 -0.0
.flash.rodata 252704 252600 -104 -0.0
m5stack (read/write) 536396 536300 -96 -0.0
.flash.rodata 284232 284136 -96 -0.0
linux all-clusters-app debug (read only) 5952281 5952217 -64 -0.0
.rodata 349744 349616 -128 -0.0
shell debug (read only) 2918161 2918097 -64 -0.0
.rodata 185568 185440 -128 -0.1
nrfconnect all-clusters-app nrf52840dk_nrf52840 rodata 102960 102856 -104 -0.1
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1802580 1802468 -112 -0.0
.text 1593132 1593020 -112 -0.0
Full report (71 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink)
platform target config section e1d93fa2 e5ee87b change % change
bl602 lighting-app bl602 (read/write) 1442278 1442278 0 0.0
.bss 85432 85432 0 0.0
.data 9504 9504 0 0.0
.rodata 158976 158976 0 0.0
.text 1107698 1107698 0 0.0
bl602+mfd (read/write) 1456694 1456694 0 0.0
.bss 85600 85600 0 0.0
.data 9480 9480 0 0.0
.rodata 157936 157936 0 0.0
.text 1123014 1123014 0 0.0
bl602+rpc (read/write) 1489918 1489918 0 0.0
.bss 93480 93480 0 0.0
.data 9880 9880 0 0.0
.rodata 166544 166544 0 0.0
.text 1139344 1139344 0 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1206971 1206971 0 0.0
.bss 11217 11217 0 0.0
.data 3688 3688 0 0.0
.rodata 108336 108336 0 0.0
.text 976846 976846 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1217783 1217783 0 0.0
.bss 11393 11393 0 0.0
.data 3664 3664 0 0.0
.rodata 107276 107276 0 0.0
.text 988598 988598 0 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1298707 1298707 0 0.0
.bss 19701 19701 0 0.0
.data 4224 4224 0 0.0
.rodata 123708 123708 0 0.0
.text 1051810 1051810 0 0.0
bl706-eth (read/write) 1024405 1024405 0 0.0
.bss 23792 23792 0 0.0
.data 3264 3264 0 0.0
.rodata 101660 101660 0 0.0
.text 767702 767702 0 0.0
bl706-wifi (read/write) 1259078 1259078 0 0.0
.bss 10677 10677 0 0.0
.data 3696 3696 0 0.0
.rodata 122660 122660 0 0.0
.text 999606 999606 0 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1176312 1176312 0 0.0
.bss 16428 16428 0 0.0
.data 5048 5048 0 0.0
.rodata 102340 102340 0 0.0
.text 969712 969712 0 0.0
bl702l+mfd (read only) 512 512 0 0.0
(read/write) 1187716 1187716 0 0.0
.bss 16604 16604 0 0.0
.data 5032 5032 0 0.0
.rodata 101280 101280 0 0.0
.text 982032 982032 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 782004 782004 0 0.0
(read/write) 168824 168824 0 0.0
.bss 90780 90780 0 0.0
.data 3584 3584 0 0.0
.rodata 82532 82532 0 0.0
.text 699204 699204 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 798156 798156 0 0.0
(read/write) 178976 178976 0 0.0
.bss 100948 100948 0 0.0
.data 3576 3576 0 0.0
.rodata 76684 76684 0 0.0
.text 721204 721204 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 786796 786796 0 0.0
(read/write) 173416 173416 0 0.0
.bss 95388 95388 0 0.0
.data 3576 3576 0 0.0
.rodata 103436 103436 0 0.0
.text 683092 683092 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 739092 739092 0 0.0
(read/write) 167784 167784 0 0.0
.bss 89520 89520 0 0.0
.data 3568 3568 0 0.0
.rodata 78196 78196 0 0.0
.text 660628 660628 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 724748 724748 0 0.0
(read/write) 168000 168000 0 0.0
.bss 89736 89736 0 0.0
.data 3568 3568 0 0.0
.rodata 73972 73972 0 0.0
.text 650508 650508 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 586194 586194 0 0.0
(read/write) 208080 208080 0 0.0
.bss 201308 201308 0 0.0
.data 1648 1648 0 0.0
.rodata 87418 87418 0 0.0
.text 496652 496652 0 0.0
lock CC3235SF_LAUNCHXL (read only) 630986 630986 0 0.0
(read/write) 208336 208336 0 0.0
.bss 201712 201712 0 0.0
.data 1504 1504 0 0.0
.rodata 107762 107762 0 0.0
.text 521100 521100 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 569263 569263 0 0.0
.app_xip_area 459181 459181 0 0.0
.bss 64908 64908 0 0.0
.data 752 752 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 551519 551519 0 0.0
.app_xip_area 436765 436765 0 0.0
.bss 69572 69572 0 0.0
.data 760 760 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 572335 572335 0 0.0
.app_xip_area 463757 463757 0 0.0
.bss 63444 63444 0 0.0
.data 712 712 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 564551 564631 80 0.0
.app_xip_area 452781 452861 80 0.0
.bss 66556 66556 0 0.0
.data 792 792 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4187C (read/write) 1113488 1113488 0 0.0
.bss 195272 195272 0 0.0
.data 3432 3432 0 0.0
.text 914764 914764 0 0.0
lock-app BRD4338a (read/write) 959872 959864 -8 -0.0
.bss 210204 210204 0 0.0
.data 30192 30192 0 0.0
.text 700108 700100 -8 -0.0
window-app BRD4187C (read/write) 1160704 1160704 0 0.0
.bss 167600 167600 0 0.0
.data 3336 3336 0 0.0
.text 989748 989748 0 0.0
esp32 all-clusters-app c3devkit (read only) 1213272 1213372 100 0.0
(read/write) 1750240 1750136 -104 -0.0
.dram0.bss 74384 74384 0 0.0
.dram0.data 13628 13628 0 0.0
.flash.rodata 252704 252600 -104 -0.0
.flash.text 1213272 1213372 100 0.0
.iram0.text 75530 75530 0 0.0
m5stack (read only) 1255087 1255195 108 0.0
(read/write) 536396 536300 -96 -0.0
.dram0.bss 81064 81064 0 0.0
.dram0.data 35180 35180 0 0.0
.flash.rodata 284232 284136 -96 -0.0
.flash.text 1248923 1249031 108 0.0
.iram0.text 125403 125403 0 0.0
linux air-purifier-app debug (read only) 2643693 2643693 0 0.0
(read/write) 130032 130032 0 0.0
.bss 46736 46736 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 75080 75080 0 0.0
.dynamic 608 608 0 0.0
.got 4520 4520 0 0.0
.init 27 27 0 0.0
.init_array 792 792 0 0.0
.rodata 184208 184208 0 0.0
.text 2280469 2280469 0 0.0
all-clusters-app debug (read only) 5952281 5952217 -64 -0.0
(read/write) 481536 481536 0 0.0
.bss 135072 135072 0 0.0
.data 4560 4560 0 0.0
.data.rel.ro 334472 334472 0 0.0
.dynamic 624 624 0 0.0
.got 5328 5328 0 0.0
.init 27 27 0 0.0
.init_array 1432 1432 0 0.0
.rodata 349744 349616 -128 -0.0
.text 5167731 5167795 64 0.0
all-clusters-minimal-app debug (read only) 5232433 5232433 0 0.0
(read/write) 237488 237488 0 0.0
.bss 127904 127904 0 0.0
.data 4464 4464 0 0.0
.data.rel.ro 98056 98056 0 0.0
.dynamic 624 624 0 0.0
.got 5248 5248 0 0.0
.init 27 27 0 0.0
.init_array 1160 1160 0 0.0
.rodata 288714 288714 0 0.0
.text 4707571 4707571 0 0.0
bridge-app debug (read only) 4625897 4625897 0 0.0
(read/write) 218336 218336 0 0.0
.bss 118400 118400 0 0.0
.data 6240 6240 0 0.0
.data.rel.ro 86976 86976 0 0.0
.dynamic 624 624 0 0.0
.got 5216 5216 0 0.0
.init 27 27 0 0.0
.init_array 856 856 0 0.0
.rodata 229546 229546 0 0.0
.text 4174627 4174627 0 0.0
chip-tool debug (read only) 12080665 12080665 0 0.0
(read/write) 523032 523032 0 0.0
.bss 94680 94680 0 0.0
.data 5122 5122 0 0.0
.data.rel.ro 416000 416000 0 0.0
.dynamic 624 624 0 0.0
.got 5736 5736 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 450585 450585 0 0.0
.text 10921699 10921699 0 0.0
chip-tool-ipv6only arm64 (read only) 11400868 11400868 0 0.0
(read/write) 590384 590384 0 0.0
.bss 103736 103736 0 0.0
.data 4512 4512 0 0.0
.data.rel.ro 455952 455952 0 0.0
.dynamic 512 512 0 0.0
.got 17112 17112 0 0.0
.init 24 24 0 0.0
.init_array 280 280 0 0.0
.rodata 355860 355860 0 0.0
.text 10163272 10163272 0 0.0
lighting-app debug+rpc+ui (read only) 5548793 5548793 0 0.0
(read/write) 227096 227096 0 0.0
.bss 119336 119336 0 0.0
.data 4864 4864 0 0.0
.data.rel.ro 95376 95376 0 0.0
.dynamic 672 672 0 0.0
.got 5856 5856 0 0.0
.init 27 27 0 0.0
.init_array 968 968 0 0.0
.rodata 353396 353396 0 0.0
.text 4947283 4947283 0 0.0
lock-app debug (read only) 4690865 4690865 0 0.0
(read/write) 205552 205552 0 0.0
.bss 113696 113696 0 0.0
.data 4160 4160 0 0.0
.data.rel.ro 81016 81016 0 0.0
.dynamic 624 624 0 0.0
.got 5168 5168 0 0.0
.init 27 27 0 0.0
.init_array 872 872 0 0.0
.rodata 255242 255242 0 0.0
.text 4222963 4222963 0 0.0
ota-provider-app debug (read only) 4307129 4307129 0 0.0
(read/write) 194224 194224 0 0.0
.bss 113472 113472 0 0.0
.data 4368 4368 0 0.0
.data.rel.ro 70448 70448 0 0.0
.dynamic 624 624 0 0.0
.got 4536 4536 0 0.0
.init 27 27 0 0.0
.init_array 744 744 0 0.0
.rodata 208458 208458 0 0.0
.text 3904163 3904163 0 0.0
ota-requestor-app debug (read only) 4436793 4436793 0 0.0
(read/write) 198592 198592 0 0.0
.bss 114368 114368 0 0.0
.data 4768 4768 0 0.0
.data.rel.ro 73552 73552 0 0.0
.dynamic 624 624 0 0.0
.got 4472 4472 0 0.0
.init 27 27 0 0.0
.init_array 792 792 0 0.0
.rodata 214698 214698 0 0.0
.text 4023043 4023043 0 0.0
shell debug (read only) 2918161 2918097 -64 -0.0
(read/write) 156936 156936 0 0.0
.bss 62544 62544 0 0.0
.data 1424 1424 0 0.0
.data.rel.ro 87168 87168 0 0.0
.dynamic 592 592 0 0.0
.got 4056 4056 0 0.0
.init 27 27 0 0.0
.init_array 1104 1104 0 0.0
.rodata 185568 185440 -128 -0.1
.text 2557890 2557954 64 0.0
thermostat-no-ble arm64 (read only) 4426556 4426556 0 0.0
(read/write) 244720 244720 0 0.0
.bss 121976 121976 0 0.0
.data 3392 3392 0 0.0
.data.rel.ro 104312 104312 0 0.0
.dynamic 512 512 0 0.0
.got 8712 8712 0 0.0
.init 24 24 0 0.0
.init_array 448 448 0 0.0
.rodata 159988 159988 0 0.0
.text 3929976 3929976 0 0.0
tv-app debug (read only) 5761073 5761073 0 0.0
(read/write) 353200 353200 0 0.0
.bss 244240 244240 0 0.0
.data 6560 6560 0 0.0
.data.rel.ro 95128 95128 0 0.0
.dynamic 624 624 0 0.0
.got 5464 5464 0 0.0
.init 27 27 0 0.0
.init_array 1176 1176 0 0.0
.rodata 292522 292522 0 0.0
.text 5225299 5225299 0 0.0
tv-casting-app debug (read only) 9890993 9890993 0 0.0
(read/write) 340784 340784 0 0.0
.bss 156080 156080 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 174816 174816 0 0.0
.dynamic 624 624 0 0.0
.got 5040 5040 0 0.0
.init 27 27 0 0.0
.init_array 1208 1208 0 0.0
.rodata 382904 382904 0 0.0
.text 9041379 9041379 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2534280 2534280 0 0.0
.bss 220472 220472 0 0.0
.data 5216 5216 0 0.0
.text 1496964 1496964 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1064288 1064296 8 0.0
bss 133107 133107 0 0.0
rodata 102960 102856 -104 -0.1
text 781000 781112 112 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1225388 1225468 80 0.0
bss 127163 127163 0 0.0
rodata 151304 151304 0 0.0
text 796892 796980 88 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1011768 1011768 0 0.0
bss 131965 131965 0 0.0
rodata 90224 90224 0 0.0
text 742364 742364 0 0.0
nxp contact k32w0+release (read only) 574508 574508 0 0.0
(read/write) 79988 79988 0 0.0
.bss 67824 67824 0 0.0
.data 2180 2180 0 0.0
.text 573972 573972 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 701468 701468 0 0.0
.bss 71176 71176 0 0.0
.data 2856 2856 0 0.0
.text 588056 588056 0 0.0
light k32w0+release (read only) 608520 608520 0 0.0
(read/write) 79464 79464 0 0.0
.bss 67280 67280 0 0.0
.data 2200 2200 0 0.0
.text 607984 607984 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 793368 793368 0 0.0
.bss 80728 80728 0 0.0
.data 2056 2056 0 0.0
.text 671216 671216 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 832280 832280 0 0.0
(read/write) 1802580 1802468 -112 -0.0
.bss 198372 198372 0 0.0
.data 2688 2688 0 0.0
.text 1593132 1593020 -112 -0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 835432 835432 0 0.0
(read/write) 1724468 1724468 0 0.0
.bss 195252 195252 0 0.0
.data 2656 2656 0 0.0
.text 1518172 1518172 0 0.0
light cy8ckit_062s2_43012 (read only) 842160 842160 0 0.0
(read/write) 1643204 1643204 0 0.0
.bss 188716 188716 0 0.0
.data 2464 2464 0 0.0
.text 1443636 1443636 0 0.0
lock cy8ckit_062s2_43012 (read only) 815096 815096 0 0.0
(read/write) 1671988 1671988 0 0.0
.bss 215788 215788 0 0.0
.data 2456 2456 0 0.0
.text 1445356 1445356 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1131728 1131728 0 0.0
.bss 102572 102572 0 0.0
.data 844 844 0 0.0
.text 644112 644112 0 0.0
lock-app qpg6105+debug (read/write) 1091544 1091544 0 0.0
.bss 97236 97236 0 0.0
.data 856 856 0 0.0
.text 603924 603924 0 0.0
stm32 light STM32WB5MM-DK (read/write) 603189 603189 0 0.0
.bss 128436 128436 0 0.0
.data 676 676 0 0.0
.rodata 80108 80108 0 0.0
.text 384224 384224 0 0.0
telink air-quality-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 825414 825414 0 0.0
bss 49708 49708 0 0.0
text 617796 617796 0 0.0
all-clusters-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 1094444 1094452 8 0.0
bss 101804 101804 0 0.0
text 795116 795222 106 0.0
all-clusters-minimal-app tlsr9528a (read only) 47960 47960 0 0.0
(read/write) 1051980 1051980 0 0.0
bss 110100 110100 0 0.0
text 766506 766506 0 0.0
bridge-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 912420 912420 0 0.0
bss 93140 93140 0 0.0
text 653704 653704 0 0.0
contact-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 827070 827070 0 0.0
bss 49748 49748 0 0.0
text 619518 619518 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 930592 930600 8 0.0
bss 77488 77488 0 0.0
text 698172 698278 106 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 29122 29122 0 0.0
(read/write) 1075720 1075720 0 0.0
bss 100212 100212 0 0.0
text 779222 779222 0 0.0
lock-app-dfu tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 905252 905252 0 0.0
bss 69220 69220 0 0.0
text 654998 654998 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 931424 931424 0 0.0
bss 92712 92712 0 0.0
text 672824 672824 0 0.0
pump-app tlsr9258a_retention (read only) 51774 51774 0 0.0
(read/write) 829778 829778 0 0.0
bss 49856 49856 0 0.0
text 622558 622558 0 0.0
pump-controller-app tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 793344 793344 0 0.0
bss 56056 56056 0 0.0
text 593236 593236 0 0.0
shell tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 675888 675888 0 0.0
bss 73412 73412 0 0.0
text 461650 461650 0 0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 835102 835102 0 0.0
bss 51388 51388 0 0.0
text 626382 626382 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d (read only) 32220 32220 0 0.0
(read/write) 853313 853313 0 0.0
bss 59532 59532 0 0.0
text 637946 637946 0 0.0
thermostat tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 819040 819040 0 0.0
bss 56352 56352 0 0.0
text 612952 612952 0 0.0
window-covering tlsr9258a (read only) 51584 51584 0 0.0
(read/write) 837124 837124 0 0.0
bss 68128 68128 0 0.0
text 628200 628200 0 0.0

Copy link

github-actions bot commented Apr 5, 2024

PR #32849: Size comparison from e1d93fa to 80cf879

Increases (28 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, mbed, nrfconnect, nxp, psoc6, qpg, stm32)
platform target config section e1d93fa2 80cf879 change % change
bl602 lighting-app bl602+mfd .text 1123014 1123016 2 0.0
bl702 lighting-app bl702+mfd .text 988598 988600 2 0.0
bl702l lighting-app bl702l+mfd (read/write) 1187716 1187720 4 0.0
.text 982032 982034 2 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 782004 782020 16 0.0
.text 699204 699220 16 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 798156 798188 32 0.0
.text 721204 721236 32 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 786796 786828 32 0.0
.text 683092 683124 32 0.0
pump-app LP_EM_CC1354P10_6 (read only) 739092 739124 32 0.0
.text 660628 660660 32 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 724748 724764 16 0.0
.text 650508 650524 16 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 586194 586210 16 0.0
.text 496652 496668 16 0.0
lock CC3235SF_LAUNCHXL (read only) 630986 631018 32 0.0
.text 521100 521132 32 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 569263 569295 32 0.0
.app_xip_area 459181 459213 32 0.0
lock cyw930739m2evb_01 (read/write) 551519 551551 32 0.0
.app_xip_area 436765 436797 32 0.0
ota-requestor cyw930739m2evb_01 (read/write) 572335 572391 56 0.0
.app_xip_area 463757 463813 56 0.0
switch cyw930739m2evb_01 (read/write) 564551 564687 136 0.0
.app_xip_area 452781 452917 136 0.0
mbed lock-app-release cy8cproto_062_4343w (read/write) 2534280 2534344 64 0.0
.text 1496964 1497028 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1064288 1064328 40 0.0
text 781000 781148 148 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1011768 1011800 32 0.0
text 742364 742396 32 0.0
all-clusters-app nrf7002dk_nrf5340_cpuapp (read/write) 1225388 1225532 144 0.0
text 796892 797032 140 0.0
nxp contact k32w0+release (read only) 574508 574540 32 0.0
.text 573972 574004 32 0.0
light k32w0+release (read only) 608520 608552 32 0.0
.text 607984 608016 32 0.0
contact k32w1+release (read/write) 701468 701492 24 0.0
.text 588056 588080 24 0.0
light k32w1+release (read/write) 793368 793384 16 0.0
.text 671216 671232 16 0.0
psoc6 all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1724468 1724516 48 0.0
.text 1518172 1518220 48 0.0
light cy8ckit_062s2_43012 (read/write) 1643204 1643252 48 0.0
.text 1443636 1443684 48 0.0
lock cy8ckit_062s2_43012 (read/write) 1671988 1672036 48 0.0
.text 1445356 1445404 48 0.0
qpg lighting-app qpg6105+debug (read/write) 1131728 1131760 32 0.0
.text 644112 644144 32 0.0
lock-app qpg6105+debug (read/write) 1091544 1091576 32 0.0
.text 603924 603956 32 0.0
stm32 light STM32WB5MM-DK (read/write) 603189 603221 32 0.0
.text 384224 384256 32 0.0
Decreases (2 builds for nrfconnect, psoc6)
platform target config section e1d93fa2 80cf879 change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 rodata 102960 102856 -104 -0.1
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1802580 1802516 -64 -0.0
.text 1593132 1593068 -64 -0.0
Full report (38 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32)
platform target config section e1d93fa2 80cf879 change % change
bl602 lighting-app bl602 (read/write) 1442278 1442278 0 0.0
.bss 85432 85432 0 0.0
.data 9504 9504 0 0.0
.rodata 158976 158976 0 0.0
.text 1107698 1107698 0 0.0
bl602+mfd (read/write) 1456694 1456694 0 0.0
.bss 85600 85600 0 0.0
.data 9480 9480 0 0.0
.rodata 157936 157936 0 0.0
.text 1123014 1123016 2 0.0
bl602+rpc (read/write) 1489918 1489918 0 0.0
.bss 93480 93480 0 0.0
.data 9880 9880 0 0.0
.rodata 166544 166544 0 0.0
.text 1139344 1139344 0 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1206971 1206971 0 0.0
.bss 11217 11217 0 0.0
.data 3688 3688 0 0.0
.rodata 108336 108336 0 0.0
.text 976846 976846 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1217783 1217783 0 0.0
.bss 11393 11393 0 0.0
.data 3664 3664 0 0.0
.rodata 107276 107276 0 0.0
.text 988598 988600 2 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1298707 1298707 0 0.0
.bss 19701 19701 0 0.0
.data 4224 4224 0 0.0
.rodata 123708 123708 0 0.0
.text 1051810 1051810 0 0.0
bl706-eth (read/write) 1024405 1024405 0 0.0
.bss 23792 23792 0 0.0
.data 3264 3264 0 0.0
.rodata 101660 101660 0 0.0
.text 767702 767702 0 0.0
bl706-wifi (read/write) 1259078 1259078 0 0.0
.bss 10677 10677 0 0.0
.data 3696 3696 0 0.0
.rodata 122660 122660 0 0.0
.text 999606 999606 0 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1176312 1176312 0 0.0
.bss 16428 16428 0 0.0
.data 5048 5048 0 0.0
.rodata 102340 102340 0 0.0
.text 969712 969712 0 0.0
bl702l+mfd (read only) 512 512 0 0.0
(read/write) 1187716 1187720 4 0.0
.bss 16604 16604 0 0.0
.data 5032 5032 0 0.0
.rodata 101280 101280 0 0.0
.text 982032 982034 2 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 782004 782020 16 0.0
(read/write) 168824 168824 0 0.0
.bss 90780 90780 0 0.0
.data 3584 3584 0 0.0
.rodata 82532 82532 0 0.0
.text 699204 699220 16 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 798156 798188 32 0.0
(read/write) 178976 178976 0 0.0
.bss 100948 100948 0 0.0
.data 3576 3576 0 0.0
.rodata 76684 76684 0 0.0
.text 721204 721236 32 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 786796 786828 32 0.0
(read/write) 173416 173416 0 0.0
.bss 95388 95388 0 0.0
.data 3576 3576 0 0.0
.rodata 103436 103436 0 0.0
.text 683092 683124 32 0.0
pump-app LP_EM_CC1354P10_6 (read only) 739092 739124 32 0.0
(read/write) 167784 167784 0 0.0
.bss 89520 89520 0 0.0
.data 3568 3568 0 0.0
.rodata 78196 78196 0 0.0
.text 660628 660660 32 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 724748 724764 16 0.0
(read/write) 168000 168000 0 0.0
.bss 89736 89736 0 0.0
.data 3568 3568 0 0.0
.rodata 73972 73972 0 0.0
.text 650508 650524 16 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 586194 586210 16 0.0
(read/write) 208080 208080 0 0.0
.bss 201308 201308 0 0.0
.data 1648 1648 0 0.0
.rodata 87418 87418 0 0.0
.text 496652 496668 16 0.0
lock CC3235SF_LAUNCHXL (read only) 630986 631018 32 0.0
(read/write) 208336 208336 0 0.0
.bss 201712 201712 0 0.0
.data 1504 1504 0 0.0
.rodata 107762 107762 0 0.0
.text 521100 521132 32 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 569263 569295 32 0.0
.app_xip_area 459181 459213 32 0.0
.bss 64908 64908 0 0.0
.data 752 752 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 551519 551551 32 0.0
.app_xip_area 436765 436797 32 0.0
.bss 69572 69572 0 0.0
.data 760 760 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 572335 572391 56 0.0
.app_xip_area 463757 463813 56 0.0
.bss 63444 63444 0 0.0
.data 712 712 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 564551 564687 136 0.0
.app_xip_area 452781 452917 136 0.0
.bss 66556 66556 0 0.0
.data 792 792 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
linux chip-tool-ipv6only arm64 (read only) 11400868 11400868 0 0.0
(read/write) 590384 590384 0 0.0
.bss 103736 103736 0 0.0
.data 4512 4512 0 0.0
.data.rel.ro 455952 455952 0 0.0
.dynamic 512 512 0 0.0
.got 17112 17112 0 0.0
.init 24 24 0 0.0
.init_array 280 280 0 0.0
.rodata 355860 355860 0 0.0
.text 10163272 10163272 0 0.0
thermostat-no-ble arm64 (read only) 4426556 4426556 0 0.0
(read/write) 244720 244720 0 0.0
.bss 121976 121976 0 0.0
.data 3392 3392 0 0.0
.data.rel.ro 104312 104312 0 0.0
.dynamic 512 512 0 0.0
.got 8712 8712 0 0.0
.init 24 24 0 0.0
.init_array 448 448 0 0.0
.rodata 159988 159988 0 0.0
.text 3929976 3929976 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2534280 2534344 64 0.0
.bss 220472 220472 0 0.0
.data 5216 5216 0 0.0
.text 1496964 1497028 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1064288 1064328 40 0.0
bss 133107 133107 0 0.0
rodata 102960 102856 -104 -0.1
text 781000 781148 148 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1011768 1011800 32 0.0
bss 131965 131965 0 0.0
rodata 90224 90224 0 0.0
text 742364 742396 32 0.0
all-clusters-app nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1225388 1225532 144 0.0
bss 127163 127163 0 0.0
rodata 151304 151304 0 0.0
text 796892 797032 140 0.0
nxp contact k32w0+release (read only) 574508 574540 32 0.0
(read/write) 79988 79988 0 0.0
.bss 67824 67824 0 0.0
.data 2180 2180 0 0.0
.text 573972 574004 32 0.0
light k32w0+release (read only) 608520 608552 32 0.0
(read/write) 79464 79464 0 0.0
.bss 67280 67280 0 0.0
.data 2200 2200 0 0.0
.text 607984 608016 32 0.0
contact k32w1+release (read only) 1024 1024 0 0.0
(read/write) 701468 701492 24 0.0
.bss 71176 71176 0 0.0
.data 2856 2856 0 0.0
.text 588056 588080 24 0.0
light k32w1+release (read only) 1024 1024 0 0.0
(read/write) 793368 793384 16 0.0
.bss 80728 80728 0 0.0
.data 2056 2056 0 0.0
.text 671216 671232 16 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 832280 832280 0 0.0
(read/write) 1802580 1802516 -64 -0.0
.bss 198372 198372 0 0.0
.data 2688 2688 0 0.0
.text 1593132 1593068 -64 -0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 835432 835432 0 0.0
(read/write) 1724468 1724516 48 0.0
.bss 195252 195252 0 0.0
.data 2656 2656 0 0.0
.text 1518172 1518220 48 0.0
light cy8ckit_062s2_43012 (read only) 842160 842160 0 0.0
(read/write) 1643204 1643252 48 0.0
.bss 188716 188716 0 0.0
.data 2464 2464 0 0.0
.text 1443636 1443684 48 0.0
lock cy8ckit_062s2_43012 (read only) 815096 815096 0 0.0
(read/write) 1671988 1672036 48 0.0
.bss 215788 215788 0 0.0
.data 2456 2456 0 0.0
.text 1445356 1445404 48 0.0
qpg lighting-app qpg6105+debug (read/write) 1131728 1131760 32 0.0
.bss 102572 102572 0 0.0
.data 844 844 0 0.0
.text 644112 644144 32 0.0
lock-app qpg6105+debug (read/write) 1091544 1091576 32 0.0
.bss 97236 97236 0 0.0
.data 856 856 0 0.0
.text 603924 603956 32 0.0
stm32 light STM32WB5MM-DK (read/write) 603189 603221 32 0.0
.bss 128436 128436 0 0.0
.data 676 676 0 0.0
.rodata 80108 80108 0 0.0
.text 384224 384256 32 0.0

@@ -564,6 +560,12 @@ CHIP_ERROR TimeSynchronizationServer::SetTimeZone(const DataModel::DecodableList
uint8_t i = 0;
InitTimeZone();

if (items > mTimeZoneObj.timeZoneList.size())
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this change mean that you're going to get changes to the time zone list even if there's an error returned?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Since we do the load in the error case, the time zone won't be changing.

Copy link
Contributor

Choose a reason for hiding this comment

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

Functionally, what does this change do then? ie, why move this down here rather than having the early return at the top?

if (CHIP_NO_ERROR != CopyCharSpanToMutableCharSpan(newTz.name.Value(), tempSpan))
{
ReturnErrorOnFailure(LoadTimeZone());
return CHIP_IM_GLOBAL_STATUS(InvalidCommand);
return CHIP_IM_GLOBAL_STATUS(ConstraintError);
Copy link
Contributor

Choose a reason for hiding this comment

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

did we have a test failure here previously? If not, is there a test gap here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This code was not working as expected and the tests never reached this corner case. However, with the string copying mechanism changes it was able to return InvalidCommand but that was wrong - it should have been ConstraintError.

Copy link
Contributor

Choose a reason for hiding this comment

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

So this happens when the tz.name is longer than the max length? Can you add a test for this?

if (CHIP_NO_ERROR != CopyCharSpanToMutableCharSpan(newTz.name.Value(), tempSpan))
{
ReturnErrorOnFailure(LoadTimeZone());
return CHIP_IM_GLOBAL_STATUS(InvalidCommand);
return CHIP_IM_GLOBAL_STATUS(ConstraintError);
Copy link
Contributor

Choose a reason for hiding this comment

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

So at this point we have already wiped out the value of tzStore.name, right? Is that ok?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We have the LoadTimeZone() to undo that. Or do you mean something else?

{
commandObj->AddStatus(commandPath, Status::InvalidCommand);
return true;
}

if (granularity != GranularityEnum::kNoTimeGranularity &&
(currentGranularity == GranularityEnum::kNoTimeGranularity || granularity >= currentGranularity) &&
if (granularity > currentGranularity &&
Copy link
Contributor

Choose a reason for hiding this comment

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

So if granularity == currentGranularity we will ignore this call? Why is that? This code could use a comment explaining why the check is the way it is.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Since we set currentGranularity to one lower than what is provided in the SetUTCTime command, if we let granularity == currentGranularity be valid then we will be lowering currentGranularity gradually. I don't think that is intended here.
What is missing from this PR is setting Granularity to one lower value which is in the last PR of this series #32869 - a bad consequence of my attempt at breaking down the initial PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@bzbarsky-apple any feedback?

fessehaeve added 3 commits May 2, 2024 12:32
- encode mutablecharspan instead of creating a new charspan
- encode null when GetLocalTime() fails
- simplify granularity validity check
- change size comparison to compare against actual buffer size instead of attribute list size macro
- use unknown enum to check for invalid enums
- minor logging changes
@fessehaeve fessehaeve force-pushed the pull-request/timesync-fix-27575-2 branch from 80cf879 to 283b174 Compare May 2, 2024 10:35
Copy link

github-actions bot commented May 2, 2024

PR #32849: Size comparison from f6b3594 to 283b174

Increases (9 builds for cyw30739, esp32, linux, nrfconnect, telink)
platform target config section f6b3594 283b174 change % change
cyw30739 switch cyw930739m2evb_01 (read/write) 566919 567015 96 0.0
.app_xip_area 455117 455213 96 0.0
esp32 all-clusters-app c3devkit (read only) 1215048 1215160 112 0.0
.flash.text 1215048 1215160 112 0.0
m5stack (read only) 1256707 1256811 104 0.0
.flash.text 1250543 1250647 104 0.0
linux all-clusters-app debug .text 5234227 5234307 80 0.0
shell debug .text 2628722 2628802 80 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1060384 1060408 24 0.0
text 772488 772624 136 0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1237616 1237728 112 0.0
text 798784 798900 116 0.0
telink all-clusters-app tlsr9518adk80d (read/write) 1096488 1096504 16 0.0
text 797484 797602 118 0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read/write) 937272 937288 16 0.0
text 703840 703958 118 0.0
Decreases (8 builds for efr32, esp32, linux, nrfconnect, psoc6)
platform target config section f6b3594 283b174 change % change
efr32 lock-app BRD4338a (read/write) 962188 962180 -8 -0.0
.text 700312 700304 -8 -0.0
window-app BRD4187C (read/write) 1137624 1137616 -8 -0.0
.text 969668 969660 -8 -0.0
esp32 all-clusters-app c3devkit (read/write) 1751296 1751200 -96 -0.0
.flash.rodata 253520 253424 -96 -0.0
m5stack (read/write) 537708 537612 -96 -0.0
.flash.rodata 285248 285152 -96 -0.0
linux all-clusters-app debug (read only) 6026137 6026089 -48 -0.0
.rodata 353264 353136 -128 -0.0
shell debug (read only) 2997665 2997617 -48 -0.0
.rodata 189984 189856 -128 -0.1
nrfconnect all-clusters-app nrf52840dk_nrf52840 rodata 101552 101448 -104 -0.1
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1826964 1826852 -112 -0.0
.text 1611524 1611412 -112 -0.0
Full report (71 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink)
platform target config section f6b3594 283b174 change % change
bl602 lighting-app bl602 (read/write) 1444414 1444414 0 0.0
.bss 85744 85744 0 0.0
.data 9512 9512 0 0.0
.rodata 159200 159200 0 0.0
.text 1109294 1109294 0 0.0
bl602+mfd (read/write) 1458838 1458838 0 0.0
.bss 85912 85912 0 0.0
.data 9488 9488 0 0.0
.rodata 158160 158160 0 0.0
.text 1124612 1124612 0 0.0
bl602+rpc (read/write) 1492062 1492062 0 0.0
.bss 93784 93784 0 0.0
.data 9888 9888 0 0.0
.rodata 166768 166768 0 0.0
.text 1140940 1140940 0 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1210103 1210103 0 0.0
.bss 11185 11185 0 0.0
.data 3704 3704 0 0.0
.rodata 108796 108796 0 0.0
.text 979438 979438 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1220939 1220939 0 0.0
.bss 11361 11361 0 0.0
.data 3688 3688 0 0.0
.rodata 107736 107736 0 0.0
.text 991192 991192 0 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1301591 1301591 0 0.0
.bss 19669 19669 0 0.0
.data 4248 4248 0 0.0
.rodata 124168 124168 0 0.0
.text 1054146 1054146 0 0.0
bl706-eth (read/write) 1026521 1026521 0 0.0
.bss 23760 23760 0 0.0
.data 3256 3256 0 0.0
.rodata 101892 101892 0 0.0
.text 769292 769292 0 0.0
bl706-wifi (read/write) 1262002 1262002 0 0.0
.bss 10645 10645 0 0.0
.data 3704 3704 0 0.0
.rodata 122884 122884 0 0.0
.text 1001996 1001996 0 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1179440 1179440 0 0.0
.bss 16396 16396 0 0.0
.data 5072 5072 0 0.0
.rodata 102800 102800 0 0.0
.text 972292 972292 0 0.0
bl702l+mfd (read only) 512 512 0 0.0
(read/write) 1190840 1190840 0 0.0
.bss 16572 16572 0 0.0
.data 5048 5048 0 0.0
.rodata 101740 101740 0 0.0
.text 984614 984614 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 798420 798420 0 0.0
(read/write) 177612 177612 0 0.0
.bss 99556 99556 0 0.0
.data 3588 3588 0 0.0
.rodata 84924 84924 0 0.0
.text 713232 713232 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 813704 813704 0 0.0
(read/write) 188100 188100 0 0.0
.bss 110044 110044 0 0.0
.data 3588 3588 0 0.0
.rodata 78552 78552 0 0.0
.text 734888 734888 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 802988 802988 0 0.0
(read/write) 182220 182220 0 0.0
.bss 104164 104164 0 0.0
.data 3588 3588 0 0.0
.rodata 105828 105828 0 0.0
.text 696896 696896 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 755276 755276 0 0.0
(read/write) 176588 176588 0 0.0
.bss 98296 98296 0 0.0
.data 3580 3580 0 0.0
.rodata 80580 80580 0 0.0
.text 674432 674432 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 740956 740956 0 0.0
(read/write) 176796 176796 0 0.0
.bss 98520 98520 0 0.0
.data 3572 3572 0 0.0
.rodata 76364 76364 0 0.0
.text 664328 664328 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 605550 605550 0 0.0
(read/write) 209572 209572 0 0.0
.bss 202796 202796 0 0.0
.data 1652 1652 0 0.0
.rodata 89590 89590 0 0.0
.text 513836 513836 0 0.0
lock CC3235SF_LAUNCHXL (read only) 651438 651438 0 0.0
(read/write) 209836 209836 0 0.0
.bss 203200 203200 0 0.0
.data 1516 1516 0 0.0
.rodata 110350 110350 0 0.0
.text 538968 538968 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 571615 571615 0 0.0
.app_xip_area 461501 461501 0 0.0
.bss 64932 64932 0 0.0
.data 760 760 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 553711 553711 0 0.0
.app_xip_area 438925 438925 0 0.0
.bss 69596 69596 0 0.0
.data 768 768 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 574343 574343 0 0.0
.app_xip_area 465725 465725 0 0.0
.bss 63476 63476 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 566919 567015 96 0.0
.app_xip_area 455117 455213 96 0.0
.bss 66580 66580 0 0.0
.data 800 800 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4187C (read/write) 1070852 1070852 0 0.0
.bss 180008 180008 0 0.0
.data 3432 3432 0 0.0
.text 887392 887392 0 0.0
lock-app BRD4338a (read/write) 962188 962180 -8 -0.0
.bss 213064 213064 0 0.0
.data 29448 29448 0 0.0
.text 700312 700304 -8 -0.0
window-app BRD4187C (read/write) 1137624 1137616 -8 -0.0
.bss 164600 164600 0 0.0
.data 3336 3336 0 0.0
.text 969668 969660 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1215048 1215160 112 0.0
(read/write) 1751296 1751200 -96 -0.0
.dram0.bss 74592 74592 0 0.0
.dram0.data 13652 13652 0 0.0
.flash.rodata 253520 253424 -96 -0.0
.flash.text 1215048 1215160 112 0.0
.iram0.text 75570 75570 0 0.0
m5stack (read only) 1256707 1256811 104 0.0
(read/write) 537708 537612 -96 -0.0
.dram0.bss 81344 81344 0 0.0
.dram0.data 35196 35196 0 0.0
.flash.rodata 285248 285152 -96 -0.0
.flash.text 1250543 1250647 104 0.0
.iram0.text 125403 125403 0 0.0
linux air-purifier-app debug (read only) 2713565 2713565 0 0.0
(read/write) 132432 132432 0 0.0
.bss 47720 47720 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 76440 76440 0 0.0
.dynamic 608 608 0 0.0
.got 4576 4576 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 186544 186544 0 0.0
.text 2344085 2344085 0 0.0
all-clusters-app debug (read only) 6026137 6026089 -48 -0.0
(read/write) 483976 483976 0 0.0
.bss 136000 136000 0 0.0
.data 4560 4560 0 0.0
.data.rel.ro 335960 335960 0 0.0
.dynamic 624 624 0 0.0
.got 5344 5344 0 0.0
.init 27 27 0 0.0
.init_array 1440 1440 0 0.0
.rodata 353264 353136 -128 -0.0
.text 5234227 5234307 80 0.0
all-clusters-minimal-app debug (read only) 5309673 5309673 0 0.0
(read/write) 239928 239928 0 0.0
.bss 128864 128864 0 0.0
.data 4464 4464 0 0.0
.data.rel.ro 99496 99496 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 1168 1168 0 0.0
.rodata 292170 292170 0 0.0
.text 4777667 4777667 0 0.0
bridge-app debug (read only) 4700281 4700281 0 0.0
(read/write) 220840 220840 0 0.0
.bss 119392 119392 0 0.0
.data 6240 6240 0 0.0
.data.rel.ro 88464 88464 0 0.0
.dynamic 624 624 0 0.0
.got 5232 5232 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 232618 232618 0 0.0
.text 4242243 4242243 0 0.0
chip-tool debug (read only) 12145017 12145017 0 0.0
(read/write) 524288 524288 0 0.0
.bss 95032 95032 0 0.0
.data 5122 5122 0 0.0
.data.rel.ro 416904 416904 0 0.0
.dynamic 624 624 0 0.0
.got 5736 5736 0 0.0
.init 27 27 0 0.0
.init_array 832 832 0 0.0
.rodata 453081 453081 0 0.0
.text 10981299 10981299 0 0.0
chip-tool-ipv6only arm64 (read only) 11473460 11473460 0 0.0
(read/write) 591744 591744 0 0.0
.bss 104008 104008 0 0.0
.data 4520 4520 0 0.0
.data.rel.ro 457000 457000 0 0.0
.dynamic 512 512 0 0.0
.got 17232 17232 0 0.0
.init 24 24 0 0.0
.init_array 280 280 0 0.0
.rodata 357476 357476 0 0.0
.text 10231368 10231368 0 0.0
lighting-app debug+rpc+ui (read only) 5623873 5623873 0 0.0
(read/write) 229640 229640 0 0.0
.bss 120336 120336 0 0.0
.data 4896 4896 0 0.0
.data.rel.ro 96880 96880 0 0.0
.dynamic 672 672 0 0.0
.got 5864 5864 0 0.0
.init 27 27 0 0.0
.init_array 976 976 0 0.0
.rodata 356468 356468 0 0.0
.text 5015555 5015555 0 0.0
lock-app debug (read only) 4767337 4767337 0 0.0
(read/write) 208032 208032 0 0.0
.bss 114664 114664 0 0.0
.data 4192 4192 0 0.0
.data.rel.ro 82472 82472 0 0.0
.dynamic 624 624 0 0.0
.got 5184 5184 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 258538 258538 0 0.0
.text 4292451 4292451 0 0.0
ota-provider-app debug (read only) 4375241 4375241 0 0.0
(read/write) 196504 196504 0 0.0
.bss 114464 114464 0 0.0
.data 4368 4368 0 0.0
.data.rel.ro 71712 71712 0 0.0
.dynamic 624 624 0 0.0
.got 4552 4552 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 211370 211370 0 0.0
.text 3966179 3966179 0 0.0
ota-requestor-app debug (read only) 4505929 4505929 0 0.0
(read/write) 200872 200872 0 0.0
.bss 115360 115360 0 0.0
.data 4768 4768 0 0.0
.data.rel.ro 74816 74816 0 0.0
.dynamic 624 624 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 217450 217450 0 0.0
.text 4086243 4086243 0 0.0
shell debug (read only) 2997665 2997617 -48 -0.0
(read/write) 159408 159408 0 0.0
.bss 63504 63504 0 0.0
.data 1424 1424 0 0.0
.data.rel.ro 88640 88640 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 1112 1112 0 0.0
.rodata 189984 189856 -128 -0.1
.text 2628722 2628802 80 0.0
thermostat-no-ble arm64 (read only) 4493868 4493868 0 0.0
(read/write) 248072 248072 0 0.0
.bss 122968 122968 0 0.0
.data 3408 3408 0 0.0
.data.rel.ro 105912 105912 0 0.0
.dynamic 512 512 0 0.0
.got 8960 8960 0 0.0
.init 24 24 0 0.0
.init_array 448 448 0 0.0
.rodata 161876 161876 0 0.0
.text 3990792 3990792 0 0.0
tv-app debug (read only) 5823537 5823537 0 0.0
(read/write) 355224 355224 0 0.0
.bss 245136 245136 0 0.0
.data 6560 6560 0 0.0
.data.rel.ro 96248 96248 0 0.0
.dynamic 624 624 0 0.0
.got 5464 5464 0 0.0
.init 27 27 0 0.0
.init_array 1184 1184 0 0.0
.rodata 296746 296746 0 0.0
.text 5280659 5280659 0 0.0
tv-casting-app debug (read only) 9984073 9984073 0 0.0
(read/write) 345632 345632 0 0.0
.bss 159448 159448 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 176208 176208 0 0.0
.dynamic 624 624 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 1216 1216 0 0.0
.rodata 386840 386840 0 0.0
.text 9126387 9126387 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2536808 2536808 0 0.0
.bss 220768 220768 0 0.0
.data 5216 5216 0 0.0
.text 1499492 1499492 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1060384 1060408 24 0.0
bss 139123 139123 0 0.0
rodata 101552 101448 -104 -0.1
text 772488 772624 136 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1237616 1237728 112 0.0
bss 137419 137419 0 0.0
rodata 151384 151384 0 0.0
text 798784 798900 116 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1008160 1008160 0 0.0
bss 138029 138029 0 0.0
rodata 88808 88808 0 0.0
text 734040 734040 0 0.0
nxp contact k32w0+release (read only) 576572 576572 0 0.0
(read/write) 83164 83164 0 0.0
.bss 67880 67880 0 0.0
.data 2188 2188 0 0.0
.text 576036 576036 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 704060 704060 0 0.0
.bss 71224 71224 0 0.0
.data 2864 2864 0 0.0
.text 590592 590592 0 0.0
light k32w0+release (read only) 610632 610632 0 0.0
(read/write) 82624 82624 0 0.0
.bss 67320 67320 0 0.0
.data 2208 2208 0 0.0
.text 610096 610096 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 795904 795904 0 0.0
.bss 80760 80760 0 0.0
.data 2064 2064 0 0.0
.text 673712 673712 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 826288 826288 0 0.0
(read/write) 1826964 1826852 -112 -0.0
.bss 204308 204308 0 0.0
.data 2744 2744 0 0.0
.text 1611524 1611412 -112 -0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 829384 829384 0 0.0
(read/write) 1748220 1748220 0 0.0
.bss 201236 201236 0 0.0
.data 2720 2720 0 0.0
.text 1535876 1535876 0 0.0
light cy8ckit_062s2_43012 (read only) 836104 836104 0 0.0
(read/write) 1666700 1666700 0 0.0
.bss 194700 194700 0 0.0
.data 2536 2536 0 0.0
.text 1461076 1461076 0 0.0
lock cy8ckit_062s2_43012 (read only) 809040 809040 0 0.0
(read/write) 1695348 1695348 0 0.0
.bss 221780 221780 0 0.0
.data 2520 2520 0 0.0
.text 1462660 1462660 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1134220 1134220 0 0.0
.bss 102644 102644 0 0.0
.data 856 856 0 0.0
.text 646600 646600 0 0.0
lock-app qpg6105+debug (read/write) 1094076 1094076 0 0.0
.bss 97316 97316 0 0.0
.data 860 860 0 0.0
.text 606460 606460 0 0.0
stm32 light STM32WB5MM-DK (read/write) 605881 605881 0 0.0
.bss 128492 128492 0 0.0
.data 688 688 0 0.0
.rodata 80516 80516 0 0.0
.text 386440 386440 0 0.0
telink air-quality-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 834098 834098 0 0.0
bss 49876 49876 0 0.0
text 624766 624766 0 0.0
all-clusters-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 1096488 1096504 16 0.0
bss 101544 101544 0 0.0
text 797484 797602 118 0.0
all-clusters-minimal-app tlsr9528a (read only) 47960 47960 0 0.0
(read/write) 1058956 1058956 0 0.0
bss 110040 110040 0 0.0
text 772804 772804 0 0.0
bridge-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 914604 914604 0 0.0
bss 92796 92796 0 0.0
text 656406 656406 0 0.0
contact-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 836458 836458 0 0.0
bss 49920 49920 0 0.0
text 627186 627186 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 937272 937288 16 0.0
bss 77532 77532 0 0.0
text 703840 703958 118 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 29122 29122 0 0.0
(read/write) 1090988 1090988 0 0.0
bss 99888 99888 0 0.0
text 794392 794392 0 0.0
lock-app-dfu tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 911568 911568 0 0.0
bss 69200 69200 0 0.0
text 660584 660584 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 933400 933400 0 0.0
bss 92500 92500 0 0.0
text 675392 675392 0 0.0
pump-app tlsr9258a (read only) 52490 52490 0 0.0
(read/write) 834016 834016 0 0.0
bss 58164 58164 0 0.0
text 624192 624192 0 0.0
pump-controller-app tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 800136 800136 0 0.0
bss 56092 56092 0 0.0
text 599094 599094 0 0.0
shell tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 676100 676100 0 0.0
bss 73412 73412 0 0.0
text 461782 461782 0 0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 844318 844318 0 0.0
bss 51548 51548 0 0.0
text 633854 633854 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d (read only) 32220 32220 0 0.0
(read/write) 858977 858977 0 0.0
bss 59716 59716 0 0.0
text 642634 642634 0 0.0
thermostat tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 825692 825692 0 0.0
bss 56424 56424 0 0.0
text 618656 618656 0 0.0
window-covering tlsr9258a (read only) 52490 52490 0 0.0
(read/write) 838712 838712 0 0.0
bss 58380 58380 0 0.0
text 626460 626460 0 0.0

@@ -564,6 +560,12 @@ CHIP_ERROR TimeSynchronizationServer::SetTimeZone(const DataModel::DecodableList
uint8_t i = 0;
InitTimeZone();

if (items > mTimeZoneObj.timeZoneList.size())
Copy link
Contributor

Choose a reason for hiding this comment

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

Functionally, what does this change do then? ie, why move this down here rather than having the early return at the top?

if (CHIP_NO_ERROR != CopyCharSpanToMutableCharSpan(newTz.name.Value(), tempSpan))
{
ReturnErrorOnFailure(LoadTimeZone());
return CHIP_IM_GLOBAL_STATUS(InvalidCommand);
return CHIP_IM_GLOBAL_STATUS(ConstraintError);
Copy link
Contributor

Choose a reason for hiding this comment

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

So this happens when the tz.name is longer than the max length? Can you add a test for this?

@@ -679,6 +670,12 @@ CHIP_ERROR TimeSynchronizationServer::SetDSTOffset(const DataModel::DecodableLis
size_t i = 0;
InitDSTOffset();

if (items > mDstOffsetObj.dstOffsetList.size())
Copy link
Contributor

Choose a reason for hiding this comment

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

same Q here - what's the purpose of moving this down and then un-doing the changes made up until this point rather than having the early return at the top?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We used the macro of the size element for size checking in the past. Changed it here because of a feedback on the original PR. The size check moved down there because the Init* functions reset the size to default capacity and during operation the size changes because we pop the expired elements from the list. So we can't do this check before init* is called.

We already have a test for the long name, not a cert test, and it used to pass because we never hit this part of the code. It started failing when the code was fixed and the test failed because it expected ConstraintError and not InvalidCommand and hence this change.

Copy link
Contributor

Choose a reason for hiding this comment

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

OK, I get how that happened. It's definitely more complex. I suppose it's a more direct comparison, but messing with the size of the list, to check the incoming against the new size of the list, to then back out the changes seems odd.

@bzbarsky-apple - original comment was from you - WDYT here?

Does mDstOffsetObj always start from the first element of the mDST array?

Copy link
Contributor

Choose a reason for hiding this comment

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

also where is the long-name test that was previously failing? Is that running in the CI?

@pullapprove pullapprove bot requested a review from ReneJosefsen June 26, 2024 19:48
@andy31415
Copy link
Contributor

PR seems to have no author feedback on comments in a while now. Assuming stale and closing.

@andy31415 andy31415 closed this Oct 11, 2024
@bzbarsky-apple
Copy link
Contributor

This still needs to happen; this is addressing previous review issues...

Copy link

github-actions bot commented Oct 11, 2024

PR #32849: Size comparison from 7287041 to 283b174

Full report (81 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink)
platform target config section 7287041 283b174 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1349682 1349682 0 0.0
RAM 104120 104120 0 0.0
bl702 lighting-app bl702+eth FLASH 647718 647718 0 0.0
RAM 25233 25233 0 0.0
bl702+wifi FLASH 825204 825204 0 0.0
RAM 13965 13965 0 0.0
bl706+mfd+rpc+littlefs FLASH 1053834 1053834 0 0.0
RAM 23821 23821 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 974974 974974 0 0.0
RAM 16468 16468 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 829492 829492 0 0.0
RAM 123452 123452 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 814832 814832 0 0.0
RAM 125332 125332 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 761396 761396 0 0.0
RAM 113824 113824 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 745624 745624 0 0.0
RAM 114016 114016 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 617154 617154 0 0.0
RAM 205908 205908 0 0.0
lock CC3235SF_LAUNCHXL FLASH 657258 657258 0 0.0
RAM 206060 206060 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 678477 678477 0 0.0
RAM 78668 78668 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 698321 698321 0 0.0
RAM 81300 81300 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 698321 698321 0 0.0
RAM 81300 81300 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 655257 655257 0 0.0
RAM 73736 73736 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 614805 614821 16 0.0
RAM 71628 71628 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 634433 634449 16 0.0
RAM 74180 74180 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 634433 634449 16 0.0
RAM 74180 74180 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 634125 634125 0 0.0
RAM 74676 74676 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 653833 653833 0 0.0
RAM 77228 77228 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 653833 653833 0 0.0
RAM 77228 77228 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 609429 609429 0 0.0
RAM 68764 68764 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 629289 629289 0 0.0
RAM 71396 71396 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 629289 629289 0 0.0
RAM 71396 71396 0 0.0
efr32 lighting-app BRD4187C FLASH 934608 934608 0 0.0
RAM 136116 136116 0 0.0
lock-app BRD2605a FLASH 740704 740696 -8 -0.0
RAM 230976 230976 0 0.0
BRD4338a FLASH 741352 741344 -8 -0.0
RAM 231008 231008 0 0.0
window-app BRD4187C FLASH 1018140 1018140 0 0.0
RAM 128052 128052 0 0.0
esp32 all-clusters-app c3devkit DRAM 94248 94248 0 0.0
FLASH 1538700 1538728 28 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115192 115192 0 0.0
FLASH 1549010 1548970 -40 -0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4688 4688 0 0.0
FLASH 2781021 2781021 0 0.0
RAM 129520 129520 0 0.0
all-clusters-app debug unknown 5528 5528 0 0.0
FLASH 6085626 6085578 -48 -0.0
RAM 514752 514752 0 0.0
all-clusters-minimal-app debug unknown 5424 5424 0 0.0
FLASH 5418300 5418300 0 0.0
RAM 241200 241200 0 0.0
bridge-app debug unknown 5408 5408 0 0.0
FLASH 4751772 4751772 0 0.0
RAM 218384 218384 0 0.0
chip-tool debug unknown 5960 5960 0 0.0
FLASH 12780298 12780298 0 0.0
RAM 567890 567890 0 0.0
chip-tool-ipv6only arm64 unknown 20880 20880 0 0.0
FLASH 11396576 11396576 0 0.0
RAM 618432 618432 0 0.0
fabric-admin debug unknown 5792 5792 0 0.0
FLASH 11091169 11091169 0 0.0
RAM 567578 567578 0 0.0
fabric-bridge-app debug unknown 4632 4632 0 0.0
FLASH 4575402 4575402 0 0.0
RAM 205048 205048 0 0.0
lighting-app debug+rpc+ui unknown 6056 6056 0 0.0
FLASH 5692353 5692353 0 0.0
RAM 228488 228488 0 0.0
lock-app debug unknown 5344 5344 0 0.0
FLASH 4801336 4801336 0 0.0
RAM 204472 204472 0 0.0
ota-provider-app debug unknown 4720 4720 0 0.0
FLASH 4430760 4430760 0 0.0
RAM 198192 198192 0 0.0
ota-requestor-app debug unknown 4656 4656 0 0.0
FLASH 4569574 4569574 0 0.0
RAM 202760 202760 0 0.0
shell debug unknown 4216 4216 0 0.0
FLASH 3111085 3111037 -48 -0.0
RAM 159280 159280 0 0.0
thermostat-no-ble arm64 unknown 9448 9448 0 0.0
FLASH 4319488 4319488 0 0.0
RAM 242888 242888 0 0.0
tv-app debug unknown 5624 5624 0 0.0
FLASH 6029685 6029685 0 0.0
RAM 588256 588256 0 0.0
tv-casting-app debug unknown 5208 5208 0 0.0
FLASH 10979373 10979373 0 0.0
RAM 656960 656960 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 914460 914496 36 0.0
RAM 142359 142359 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 885276 885324 48 0.0
RAM 140498 140498 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 847880 847880 0 0.0
RAM 141261 141261 0 0.0
nxp contact k32w0+release FLASH 582216 582216 0 0.0
RAM 70952 70952 0 0.0
k32w1+release FLASH 597048 597048 0 0.0
RAM 63176 63176 0 0.0
mcxw71+release FLASH 596808 596808 0 0.0
RAM 63176 63176 0 0.0
light k32w0+release FLASH 618732 618732 0 0.0
RAM 70416 70416 0 0.0
k32w1+release FLASH 683040 683040 0 0.0
RAM 48808 48808 0 0.0
mcxw71+release FLASH 683040 683040 0 0.0
RAM 48808 48808 0 0.0
lock k32w1+release FLASH 705408 705408 0 0.0
RAM 67316 67316 0 0.0
mcxw71+release FLASH 705416 705416 0 0.0
RAM 67316 67316 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1646340 1646228 -112 -0.0
RAM 211400 211400 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1552388 1552388 0 0.0
RAM 208200 208200 0 0.0
light cy8ckit_062s2_43012 FLASH 1467860 1467860 0 0.0
RAM 201200 201200 0 0.0
lock cy8ckit_062s2_43012 FLASH 1464932 1464932 0 0.0
RAM 225560 225560 0 0.0
qpg lighting-app qpg6105+debug FLASH 660528 660528 0 0.0
RAM 105396 105396 0 0.0
lock-app qpg6105+debug FLASH 618548 618548 0 0.0
RAM 99864 99864 0 0.0
stm32 light STM32WB5MM-DK FLASH 481824 481824 0 0.0
RAM 144844 144844 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 620986 620986 0 0.0
RAM 50648 50648 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 688188 688306 118 0.0
RAM 148488 148488 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 781180 781180 0 0.0
RAM 110440 110440 0 0.0
bridge-app tlsr9258a FLASH 681086 681086 0 0.0
RAM 91304 91304 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 620750 620750 0 0.0
RAM 50600 50600 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 708692 708810 118 0.0
RAM 73940 73940 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 625692 625692 0 0.0
RAM 144468 144468 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 811452 811452 0 0.0
RAM 99100 99100 0 0.0
lock-app-dfu tlsr9528a FLASH 656656 656656 0 0.0
RAM 66660 66660 0 0.0
ota-requestor-app tlsr9258a FLASH 697064 697064 0 0.0
RAM 90896 90896 0 0.0
pump-app-usb tlsr9518adk80d FLASH 634384 634384 0 0.0
RAM 55476 55476 0 0.0
pump-controller-app tlsr9518adk80d FLASH 611574 611574 0 0.0
RAM 52720 52720 0 0.0
shell tlsr9518adk80d FLASH 467872 467872 0 0.0
RAM 68168 68168 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 627900 627900 0 0.0
RAM 52320 52320 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 653706 653706 0 0.0
RAM 56268 56268 0 0.0
thermostat tlsr9518adk80d FLASH 638306 638306 0 0.0
RAM 53112 53112 0 0.0
window-covering tlsr9118bdk40d FLASH 524444 524444 0 0.0
RAM 97444 97444 0 0.0

Copy link

github-actions bot commented Nov 13, 2024

PR #32849: Size comparison from f2b362a to d3a3ae1

Full report (68 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section f2b362a d3a3ae1 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1349448 1349448 0 0.0
RAM 104080 104080 0 0.0
bl702 lighting-app bl702+eth FLASH 649346 649346 0 0.0
RAM 25313 25313 0 0.0
bl702+wifi FLASH 826926 826926 0 0.0
RAM 14053 14053 0 0.0
bl706+mfd+rpc+littlefs FLASH 1055124 1055124 0 0.0
RAM 23893 23893 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 976486 976486 0 0.0
RAM 16556 16556 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 837852 837852 0 0.0
RAM 123632 123632 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 823768 823768 0 0.0
RAM 125520 125520 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 770492 770492 0 0.0
RAM 113988 113988 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 754704 754704 0 0.0
RAM 114196 114196 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 627498 627498 0 0.0
RAM 205784 205784 0 0.0
lock CC3235SF_LAUNCHXL FLASH 667242 667242 0 0.0
RAM 205936 205936 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 679489 679489 0 0.0
RAM 78692 78692 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 699341 699341 0 0.0
RAM 81324 81324 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 699341 699341 0 0.0
RAM 81324 81324 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 656277 656277 0 0.0
RAM 73760 73760 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 616345 616393 48 0.0
RAM 71644 71644 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 635973 636021 48 0.0
RAM 74196 74196 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 635973 636021 48 0.0
RAM 74196 74196 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 635801 635801 0 0.0
RAM 74692 74692 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 655517 655517 0 0.0
RAM 77244 77244 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 655517 655517 0 0.0
RAM 77244 77244 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 611197 611197 0 0.0
RAM 68780 68780 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 631049 631049 0 0.0
RAM 71412 71412 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 631049 631049 0 0.0
RAM 71412 71412 0 0.0
efr32 lock-app BRD4187C FLASH 927596 927596 0 0.0
RAM 160164 160164 0 0.0
BRD4338a FLASH 743712 743712 0 0.0
RAM 233296 233296 0 0.0
window-app BRD4187C FLASH 1018816 1018808 -8 -0.0
RAM 128264 128264 0 0.0
esp32 all-clusters-app c3devkit DRAM 95336 95336 0 0.0
FLASH 1540014 1540072 58 0.0
IRAM 82542 82542 0 0.0
m5stack DRAM 116264 116264 0 0.0
FLASH 1548894 1548862 -32 -0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4712 4712 0 0.0
FLASH 2699379 2699379 0 0.0
RAM 129696 129696 0 0.0
all-clusters-app debug unknown 5552 5552 0 0.0
FLASH 5990630 5990580 -50 -0.0
RAM 523552 523552 0 0.0
all-clusters-minimal-app debug unknown 5448 5448 0 0.0
FLASH 5328802 5328802 0 0.0
RAM 242512 242512 0 0.0
bridge-app debug unknown 5432 5432 0 0.0
FLASH 4671244 4671244 0 0.0
RAM 218432 218432 0 0.0
chip-tool debug unknown 5984 5984 0 0.0
FLASH 12855046 12855046 0 0.0
RAM 583186 583186 0 0.0
chip-tool-ipv6only arm64 unknown 21336 21336 0 0.0
FLASH 10989696 10989696 0 0.0
RAM 634088 634088 0 0.0
fabric-admin debug unknown 5808 5808 0 0.0
FLASH 11260541 11260541 0 0.0
RAM 583538 583538 0 0.0
fabric-bridge-app debug unknown 4688 4688 0 0.0
FLASH 4495514 4495514 0 0.0
RAM 205408 205408 0 0.0
fabric-sync debug unknown 4896 4896 0 0.0
FLASH 5309861 5309861 0 0.0
RAM 466536 466536 0 0.0
lighting-app debug+rpc+ui unknown 6096 6096 0 0.0
FLASH 5607169 5607169 0 0.0
RAM 228600 228600 0 0.0
lock-app debug unknown 5368 5368 0 0.0
FLASH 4720718 4720718 0 0.0
RAM 204600 204600 0 0.0
ota-provider-app debug unknown 4744 4744 0 0.0
FLASH 4346150 4346150 0 0.0
RAM 198272 198272 0 0.0
ota-requestor-app debug unknown 4680 4680 0 0.0
FLASH 4484552 4484552 0 0.0
RAM 202856 202856 0 0.0
shell debug unknown 4240 4240 0 0.0
FLASH 3013837 3013789 -48 -0.0
RAM 160344 160344 0 0.0
thermostat-no-ble arm64 unknown 9464 9464 0 0.0
FLASH 4090256 4090256 0 0.0
RAM 242984 242984 0 0.0
tv-app debug unknown 5664 5664 0 0.0
FLASH 5943813 5943813 0 0.0
RAM 595984 595984 0 0.0
tv-casting-app debug unknown 5232 5232 0 0.0
FLASH 11061613 11061613 0 0.0
RAM 693096 693096 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 914884 914936 52 0.0
RAM 143289 143289 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 887340 887364 24 0.0
RAM 141476 141476 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 849080 849080 0 0.0
RAM 142197 142197 0 0.0
nxp contact k32w0+release FLASH 584128 584128 0 0.0
RAM 71048 71048 0 0.0
mcxw71+release FLASH 598664 598664 0 0.0
RAM 63144 63144 0 0.0
light k32w0+release FLASH 611172 611172 0 0.0
RAM 70440 70440 0 0.0
k32w1+release FLASH 684976 684976 0 0.0
RAM 48776 48776 0 0.0
lock mcxw71+release FLASH 748512 748512 0 0.0
RAM 67300 67300 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1642476 1642372 -104 -0.0
RAM 212064 212064 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1550468 1550468 0 0.0
RAM 208864 208864 0 0.0
light cy8ckit_062s2_43012 FLASH 1466620 1466620 0 0.0
RAM 200848 200848 0 0.0
lock cy8ckit_062s2_43012 FLASH 1464796 1464796 0 0.0
RAM 225208 225208 0 0.0
qpg lighting-app qpg6105+debug FLASH 662144 662144 0 0.0
RAM 105384 105384 0 0.0
lock-app qpg6105+debug FLASH 620244 620244 0 0.0
RAM 99836 99836 0 0.0
stm32 light STM32WB5MM-DK FLASH 482944 482944 0 0.0
RAM 144848 144848 0 0.0
telink bridge-app tlsr9258a FLASH 684686 684686 0 0.0
RAM 91536 91536 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 622694 622694 0 0.0
RAM 50472 50472 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 710624 710780 156 0.0
RAM 73812 73812 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 628992 628992 0 0.0
RAM 145392 145392 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 814880 814880 0 0.0
RAM 100012 100012 0 0.0
tizen all-clusters-app arm unknown 4952 4952 0 0.0
FLASH 1721608 1721576 -32 -0.0
RAM 90628 90628 0 0.0
chip-tool-ubsan arm unknown 10800 10800 0 0.0
FLASH 17982062 17982062 0 0.0
RAM 7845176 7845176 0 0.0

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.

4 participants