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

Update operational state server and related examples #28577

Conversation

hicklin
Copy link
Contributor

@hicklin hicklin commented Aug 8, 2023

Updates the Operational State server

  • Makes the server and the delegate classes have pointers to each other. This will

    • greatly improve how the server locates the delegate. Currently the SDK consumer has to put the delegate in a table and then create functions to access it.
    • provide a way for the delegate to locate the server. Currently, if the delegate wants to access server functions like OnOperationalErrorDetected, the SDK consumer has to maintain some kind of variable which the delegate can access.
  • Move the attributes and their accessor functions from the Delegate to the Server. This will

    • Relieve the SDK consumer from having to manage these attributes and implement their accessor methods.
    • Most importantly, this will provide the Delegate a single way of accessing these attributes such that any Matter specific function calls required when accessing these attributes are dealt with by these methods. Currently, as is the case in the example provided, the Delegate can change these attributes without calling the MatterReportingAttributeChangeCallback. Similarly, if the spec requires certain checks to be made or values to be stored, the SDK consumer will have to implement it all.

@github-actions
Copy link

github-actions bot commented Aug 10, 2023

PR #28577: Size comparison from 4111aac to 18d65c1

Increases above 0.2%:

platform target config section 4111aac 18d65c1 change % change
k32w contact k32w0+release .bss 67316 71344 4028 6.0
light k32w0+release .bss 66972 71008 4036 6.0
lock k32w0+release .bss 64852 68864 4012 6.2
linux all-clusters-app debug (read only) 5487297 5517321 30024 0.5
.rodata 334032 335824 1792 0.5
.text 4776211 4803699 27488 0.6
all-clusters-minimal-app debug .init_array 1136 1144 8 0.7
shell debug (read only) 2930337 2937513 7176 0.2
.rodata 210674 212274 1600 0.8
.text 2548770 2554274 5504 0.2
psoc6 all-clusters cy8ckit_062s2_43012 .data 2528 2536 8 0.3
.debug_abbrev 1378683 1382399 3716 0.3
.debug_info 30132758 30264039 131281 0.4
.strtab 802679 805861 3182 0.4
.symtab 500160 501680 1520 0.3
Increases (48 builds for bl602, bl702, bl702l, cc32xx, cyw30739, esp32, k32w, linux, mbed, nrfconnect, psoc6, telink)
platform target config section 4111aac 18d65c1 change % change
bl602 lighting-app bl602 (read/write) 1363562 1364502 940 0.1
.text 1056654 1057532 878 0.1
bl602+rpc (read/write) 1411030 1411970 940 0.1
.text 1088590 1089466 876 0.1
bl702 lighting-app bl702 (read/write) 1166415 1167527 1112 0.1
.debug_abbrev 1567344 1567358 14 0.0
.debug_aranges 140376 140392 16 0.0
.debug_frame 516556 516600 44 0.0
.debug_info 41506296 41507174 878 0.0
.debug_line 5483788 5484197 409 0.0
.debug_loc 3564500 3564711 211 0.0
.debug_ranges 384456 384528 72 0.0
.debug_str 4012273 4012409 136 0.0
.rodata 106856 106920 64 0.1
.strtab 589203 589524 321 0.1
.symtab 175568 175792 224 0.1
.text 953632 954680 1048 0.1
bl702+rpc (read/write) 1265355 1266467 1112 0.1
.debug_abbrev 1744474 1744488 14 0.0
.debug_aranges 148920 148936 16 0.0
.debug_frame 545460 545504 44 0.0
.debug_info 46400984 46401874 890 0.0
.debug_line 5896310 5896719 409 0.0
.debug_loc 3770656 3770867 211 0.0
.debug_ranges 410208 410280 72 0.0
.debug_str 4432138 4432274 136 0.0
.rodata 121508 121572 64 0.1
.strtab 652166 652487 321 0.0
.symtab 194496 194720 224 0.1
.text 1028318 1029366 1048 0.1
bl702l lighting-app bl702l (read/write) 1152348 1153392 1044 0.1
.debug_abbrev 1569563 1569577 14 0.0
.debug_aranges 134880 134896 16 0.0
.debug_frame 496244 496288 44 0.0
.debug_info 41507405 41508283 878 0.0
.debug_line 5399482 5399891 409 0.0
.debug_loc 3500683 3500836 153 0.0
.debug_ranges 389664 389736 72 0.0
.debug_str 4024742 4024878 136 0.0
.rodata 100740 100804 64 0.1
.strtab 589428 589739 311 0.1
.symtab 175136 175344 208 0.1
.text 942706 943688 982 0.1
cc32xx lock CC3235SF_LAUNCHXL .debug_info 1942089 19421381 488 0.0
.debug_loclists 1596773 1596785 12 0.0
.debug_str 3426976 3427024 48 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 550199 550207 8 0.0
.app_xip_area 441489 441497 8 0.0
esp32 all-clusters-app c3devkit (read only) 1149628 1150972 1344 0.1
(read/write) 1701964 1702092 128 0.0
.dram0.data 13076 13084 8 0.1
.flash.rodata 266088 266216 128 0.0
.flash.text 1149628 1150972 1344 0.1
m5stack (read only) 1191487 1192731 1244 0.1
(read/write) 550174 550302 128 0.0
.flash.rodata 297080 297208 128 0.0
.flash.text 1186103 1187347 1244 0.1
k32w contact k32w0+release (read only) 590524 590564 40 0.0
.bss 67316 71344 4028 6.0
.data 2124 2128 4 0.2
.text 589988 590028 40 0.0
light k32w0+release (read only) 589148 589364 216 0.0
.bss 66972 71008 4036 6.0
.data 2112 2116 4 0.2
.text 588612 588828 216 0.0
lock k32w0+release .bss 64852 68864 4012 6.2
.data 2056 2060 4 0.2
linux all-clusters-app debug (read only) 5487297 5517321 30024 0.5
.data.rel.ro 275872 276320 448 0.2
.rodata 334032 335824 1792 0.5
.text 4776211 4803699 27488 0.6
all-clusters-minimal-app debug (read only) 4901129 4901297 168 0.0
(read/write) 231384 231392 8 0.0
.init_array 1136 1144 8 0.7
.rodata 271878 271910 32 0.0
.text 4399075 4399187 112 0.0
bridge-app debug (read only) 2768945 2768993 48 0.0
.rodata 214440 214472 32 0.0
.text 2376979 2376995 16 0.0
chip-tool-ipv6only arm64 (read only) 16838788 16838820 32 0.0
.rodata 812384 812400 16 0.0
.text 13808472 13808488 16 0.0
lighting-app debug+rpc+ui (read only) 5240401 5240417 16 0.0
.text 4661379 4661395 16 0.0
lock-app debug (read only) 4471377 4471425 48 0.0
.rodata 247782 247814 32 0.0
.text 4014243 4014259 16 0.0
ota-provider-app debug (read only) 4127561 4127609 48 0.0
.rodata 200966 200998 32 0.0
.text 3736275 3736291 16 0.0
ota-requestor-app debug (read only) 4221505 4221521 16 0.0
.text 3822467 3822483 16 0.0
shell debug (read only) 2930337 2937513 7176 0.2
(read/write) 150688 150720 32 0.0
.data.rel.ro 84024 84056 32 0.0
.rodata 210674 212274 1600 0.8
.text 2548770 2554274 5504 0.2
thermostat-no-ble arm64 (read only) 4450452 4450484 32 0.0
.rodata 161996 162012 16 0.0
.text 3950376 3950392 16 0.0
tv-app debug (read only) 5315697 5315713 16 0.0
.text 4799683 4799699 16 0.0
tv-casting-app debug (read only) 8295105 8295121 16 0.0
.text 7527299 7527315 16 0.0
mbed lock-app-release cy8cproto_062_4343w (read/write) 2522080 2522144 64 0.0
.text 1484764 1484828 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1218724 1219864 1140 0.1
rodata 141392 141436 44 0.0
text 843776 844864 1088 0.1
nrf7002dk_nrf5340_cpuapp (read/write) 1337436 1338200 764 0.1
rodata 135484 135504 20 0.0
text 771196 771928 732 0.1
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1766788 1768476 1688 0.1
.data 2528 2536 8 0.3
.debug_abbrev 1378683 1382399 3716 0.3
.debug_aranges 143904 144016 112 0.1
.debug_frame 479288 479660 372 0.1
.debug_info 30132758 30264039 131281 0.4
.debug_line 4143196 4150092 6896 0.2
.debug_loclists 2248217 2250127 1910 0.1
.debug_rnglists 142353 142415 62 0.0
.debug_str 4120936 4126291 5355 0.1
.strtab 802679 805861 3182 0.4
.symtab 500160 501680 1520 0.3
.text 1562756 1564436 1680 0.1
all-clusters-minimal cy8ckit_062s2_43012 .debug_info 27227858 27228621 763 0.0
.debug_loclists 2148948 2148953 5 0.0
.debug_str 3979198 3979246 48 0.0
light cy8ckit_062s2_43012 .debug_info 22370427 22370960 533 0.0
.debug_loclists 1986063 1986068 5 0.0
.debug_str 3787270 3787318 48 0.0
lock cy8ckit_062s2_43012 .debug_info 22283982 22284511 529 0.0
.debug_loclists 1966472 1966477 5 0.0
.debug_str 3751808 3751856 48 0.0
telink all-clusters-app tlsr9518adk80d (read/write) 1070244 1071740 1496 0.1
text 729056 730460 1404 0.2
all-clusters-minimal-app tlsr9518adk80d (read/write) 976720 976808 88 0.0
text 669696 669784 88 0.0
bridge-app tlsr9518adk80d (read/write) 944120 944208 88 0.0
text 646946 647034 88 0.0
contact-sensor-app tlsr9518adk80d (read/write) 876076 876172 96 0.0
text 590336 590426 90 0.0
light-switch-app tlsr9518adk80d (read/write) 907380 907476 96 0.0
text 618068 618158 90 0.0
lighting-app tlsr9518adk80d (read/write) 982368 982464 96 0.0
text 685700 685792 92 0.0
lighting-app-factory-data tlsr9518adk80d (read/write) 993740 993828 88 0.0
text 693220 693308 88 0.0
lighting-app-rpc tlsr9518adk80d (read/write) 1051900 1051988 88 0.0
text 730636 730722 86 0.0
lighting-app-shell tlsr9518adk80d (read/write) 1083228 1083316 88 0.0
text 750742 750826 84 0.0
lock-app tlsr9518adk80d (read/write) 933528 933616 88 0.0
text 621008 621100 92 0.0
ota-requestor-app tlsr9518adk80d (read/write) 898656 898744 88 0.0
text 612180 612268 88 0.0
pump-app tlsr9518adk80d (read/write) 881476 881564 88 0.0
text 595938 596032 94 0.0
pump-controller-app tlsr9518adk80d (read/write) 868656 868744 88 0.0
text 586402 586496 94 0.0
smoke_co_alarm-app tlsr9518adk80d (read/write) 878560 878648 88 0.0
text 593810 593900 90 0.0
temperature-measurement-app tlsr9518adk80d (read/write) 864828 864924 96 0.0
text 582048 582138 90 0.0
thermostat tlsr9518adk80d (read/write) 910668 910756 88 0.0
text 621380 621466 86 0.0
window-covering tlsr9518adk80d (read/write) 906456 906544 88 0.0
text 616690 616776 86 0.0
Decreases (7 builds for efr32, k32w, linux, psoc6, telink)
platform target config section 4111aac 18d65c1 change % change
efr32 lighting-app BRD4187C (read/write) 1036604 1036596 -8 -0.0
.text 869228 869220 -8 -0.0
k32w contact k32w0+release (read/write) 91272 88096 -3176 -3.5
light k32w0+release (read/write) 90912 87748 -3164 -3.5
lock k32w0+release (read only) 561716 561700 -16 -0.0
(read/write) 88736 85548 -3188 -3.6
.text 561180 561164 -16 -0.0
linux all-clusters-app debug (read/write) 417632 416376 -1256 -0.3
.bss 130400 128704 -1696 -1.3
.init_array 1304 1296 -8 -0.6
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 837696 837688 -8 -0.0
.heap 837696 837688 -8 -0.0
telink shell tlsr9518adk80d text 478656 478654 -2 -0.0
Full report (60 builds for bl602, bl702, bl702l, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 4111aac 18d65c1 change % change
bl602 lighting-app bl602 (read/write) 1363562 1364502 940 0.1
.bss 73622 73622 0 0.0
.data 9560 9560 0 0.0
.text 1056654 1057532 878 0.1
bl602+rpc (read/write) 1411030 1411970 940 0.1
.bss 81662 81662 0 0.0
.data 9952 9952 0 0.0
.text 1088590 1089466 876 0.1
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1166415 1167527 1112 0.1
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 41285 41285 0 0.0
.bss_psram 43424 43424 0 0.0
.comment 48 48 0 0.0
.data 3544 3544 0 0.0
.debug_abbrev 1567344 1567358 14 0.0
.debug_aranges 140376 140392 16 0.0
.debug_frame 516556 516600 44 0.0
.debug_info 41506296 41507174 878 0.0
.debug_line 5483788 5484197 409 0.0
.debug_loc 3564500 3564711 211 0.0
.debug_ranges 384456 384528 72 0.0
.debug_str 4012273 4012409 136 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 106856 106920 64 0.1
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 589203 589524 321 0.1
.symtab 175568 175792 224 0.1
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
953632 954680 1048 0.1
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1265355 1266467 1112 0.1
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 49749 49749 0 0.0
.bss_psram 43424 43424 0 0.0
.comment 48 48 0 0.0
.data 4104 4104 0 0.0
.debug_abbrev 1744474 1744488 14 0.0
.debug_aranges 148920 148936 16 0.0
.debug_frame 545460 545504 44 0.0
.debug_info 46400984 46401874 890 0.0
.debug_line 5896310 5896719 409 0.0
.debug_loc 3770656 3770867 211 0.0
.debug_ranges 410208 410280 72 0.0
.debug_str 4432138 4432274 136 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 121508 121572 64 0.1
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 652166 652487 321 0.0
.symtab 194496 194720 224 0.1
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1028318 1029366 1048 0.1
bl702l lighting-app bl702l (read only) 278 278 0 0.0
(read/write) 1152348 1153392 1044 0.1
.boot2 292 292 0 0.0
.bss 15988 15988 0 0.0
.bss_psram 77840 77840 0 0.0
.comment 48 48 0 0.0
.data 4528 4528 0 0.0
.debug_abbrev 1569563 1569577 14 0.0
.debug_aranges 134880 134896 16 0.0
.debug_frame 496244 496288 44 0.0
.debug_info 41507405 41508283 878 0.0
.debug_line 5399482 5399891 409 0.0
.debug_loc 3500683 3500836 153 0.0
.debug_ranges 389664 389736 72 0.0
.debug_str 4024742 4024878 136 0.0
.hbn 3244 3244 0 0.0
.hbn_noinit 308 308 0 0.0
.init 408 408 0 0.0
.init_array 144 144 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 100740 100804 64 0.1
.romdata 3224 3224 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 286 286 0 0.0
.stack 2048 2048 0 0.0
.strtab 589428 589739 311 0.1
.symtab 175136 175344 208 0.1
.tcm_data 692 692 0 0.0
.tcmcode 278 278 0 0.0
.text 0 0 0 0.0
942706 943688 982 0.1
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 615642 615642 0 0.0
(read/write) 207744 207744 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 201184 201184 0 0.0
.comment 206 206 0 0.0
.data 1440 1440 0 0.0
.debug_abbrev 961965 961965 0 0.0
.debug_aranges 109048 109048 0 0.0
.debug_frame 369816 369816 0 0.0
.debug_info 1942089 19421381 488 0.0
.debug_line 2813775 2813775 0 0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1596773 1596785 12 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 100571 100571 0 0.0
.debug_str 3426976 3427024 48 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 106282 106282 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 496303 496303 0 0.0
.symtab 293312 293312 0 0.0
.text 507240 507240 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 550199 550207 8 0.0
.app_xip_area 441489 441497 8 0.0
.bss 63728 63728 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) 537287 537287 0 0.0
.app_xip_area 423529 423529 0 0.0
.bss 68752 68752 0 0.0
.data 692 692 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 573991 573991 0 0.0
.app_xip_area 466361 466361 0 0.0
.bss 62720 62720 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) 548943 548943 0 0.0
.app_xip_area 438305 438305 0 0.0
.bss 65632 65632 0 0.0
.data 688 688 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1012028 1012028 0 0.0
.bss 184524 184524 0 0.0
.data 2652 2652 0 0.0
.text 824832 824832 0 0.0
BRD4187C (read/write) 1036604 1036596 -8 -0.0
.bss 164108 164108 0 0.0
.data 3248 3248 0 0.0
.text 869228 869220 -8 -0.0
lock-app BRD4161A+wf200 (read/write) 1088760 1088760 0 0.0
.bss 178580 178580 0 0.0
.data 2672 2672 0 0.0
.text 907488 907488 0 0.0
window-app BRD4187C (read/write) 1108064 1108064 0 0.0
.bss 147148 147148 0 0.0
.data 3132 3132 0 0.0
.text 957764 957764 0 0.0
esp32 all-clusters-app c3devkit (read only) 1149628 1150972 1344 0.1
(read/write) 1701964 1702092 128 0.0
.dram0.bss 79048 79048 0 0.0
.dram0.data 13076 13084 8 0.1
.flash.rodata 266088 266216 128 0.0
.flash.text 1149628 1150972 1344 0.1
.iram0.text 75262 75262 0 0.0
m5stack (read only) 1191487 1192731 1244 0.1
(read/write) 550174 550302 128 0.0
.dram0.bss 85416 85416 0 0.0
.dram0.data 34036 34036 0 0.0
.flash.rodata 297080 297208 128 0.0
.flash.text 1186103 1187347 1244 0.1
.iram0.text 123311 123311 0 0.0
k32w contact k32w0+release (read only) 590524 590564 40 0.0
(read/write) 91272 88096 -3176 -3.5
.bss 67316 71344 4028 6.0
.data 2124 2128 4 0.2
.text 589988 590028 40 0.0
light k32w0+release (read only) 589148 589364 216 0.0
(read/write) 90912 87748 -3164 -3.5
.bss 66972 71008 4036 6.0
.data 2112 2116 4 0.2
.text 588612 588828 216 0.0
lock k32w0+release (read only) 561716 561700 -16 -0.0
(read/write) 88736 85548 -3188 -3.6
.bss 64852 68864 4012 6.2
.data 2056 2060 4 0.2
.text 561180 561164 -16 -0.0
linux all-clusters-app debug (read only) 5487297 5517321 30024 0.5
(read/write) 417632 416376 -1256 -0.3
.bss 130400 128704 -1696 -1.3
.data 4016 4016 0 0.0
.data.rel.ro 275872 276320 448 0.2
.dynamic 624 624 0 0.0
.got 5384 5384 0 0.0
.init 27 27 0 0.0
.init_array 1304 1296 -8 -0.6
.rodata 334032 335824 1792 0.5
.text 4776211 4803699 27488 0.6
all-clusters-minimal-app debug (read only) 4901129 4901297 168 0.0
(read/write) 231384 231392 8 0.0
.bss 126016 126016 0 0.0
.data 3856 3856 0 0.0
.data.rel.ro 94376 94376 0 0.0
.dynamic 624 624 0 0.0
.got 5344 5344 0 0.0
.init 27 27 0 0.0
.init_array 1136 1144 8 0.7
.rodata 271878 271910 32 0.0
.text 4399075 4399187 112 0.0
bridge-app debug (read only) 2768945 2768993 48 0.0
(read/write) 132816 132816 0 0.0
.bss 51480 51480 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 71400 71400 0 0.0
.dynamic 624 624 0 0.0
.got 4640 4640 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 214440 214472 32 0.0
.text 2376979 2376995 16 0.0
chip-tool debug (read only) 17605649 17605649 0 0.0
(read/write) 1046144 1046144 0 0.0
.bss 93752 93752 0 0.0
.data 5090 5090 0 0.0
.data.rel.ro 939952 939952 0 0.0
.dynamic 624 624 0 0.0
.got 5880 5880 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 900209 900209 0 0.0
.text 14672035 14672035 0 0.0
chip-tool-ipv6only arm64 (read only) 16838788 16838820 32 0.0
(read/write) 1113528 1113528 0 0.0
.bss 103064 103064 0 0.0
.data 4392 4392 0 0.0
.data.rel.ro 977304 977304 0 0.0
.dynamic 512 512 0 0.0
.got 23272 23272 0 0.0
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 812384 812400 16 0.0
.text 13808472 13808488 16 0.0
lighting-app debug+rpc+ui (read only) 5240401 5240417 16 0.0
(read/write) 222056 222056 0 0.0
.bss 117712 117712 0 0.0
.data 4528 4528 0 0.0
.data.rel.ro 92240 92240 0 0.0
.dynamic 672 672 0 0.0
.got 5928 5928 0 0.0
.init 27 27 0 0.0
.init_array 944 944 0 0.0
.rodata 336948 336948 0 0.0
.text 4661379 4661395 16 0.0
lock-app debug (read only) 4471377 4471425 48 0.0
(read/write) 202808 202808 0 0.0
.bss 113328 113328 0 0.0
.data 3728 3728 0 0.0
.data.rel.ro 78960 78960 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 247782 247814 32 0.0
.text 4014243 4014259 16 0.0
ota-provider-app debug (read only) 4127561 4127609 48 0.0
(read/write) 191872 191872 0 0.0
.bss 113504 113504 0 0.0
.data 4000 4000 0 0.0
.data.rel.ro 68448 68448 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 200966 200998 32 0.0
.text 3736275 3736291 16 0.0
ota-requestor-app debug (read only) 4221505 4221521 16 0.0
(read/write) 196184 196184 0 0.0
.bss 114560 114560 0 0.0
.data 4240 4240 0 0.0
.data.rel.ro 71448 71448 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 204390 204390 0 0.0
.text 3822467 3822483 16 0.0
shell debug (read only) 2930337 2937513 7176 0.2
(read/write) 150688 150720 32 0.0
.bss 60008 60008 0 0.0
.data 784 784 0 0.0
.data.rel.ro 84024 84056 32 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 210674 212274 1600 0.8
.text 2548770 2554274 5504 0.2
thermostat-no-ble arm64 (read only) 4450452 4450484 32 0.0
(read/write) 243848 243848 0 0.0
.bss 122280 122280 0 0.0
.data 2880 2880 0 0.0
.data.rel.ro 102232 102232 0 0.0
.dynamic 512 512 0 0.0
.got 11984 11984 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 161996 162012 16 0.0
.text 3950376 3950392 16 0.0
tv-app debug (read only) 5315697 5315713 16 0.0
(read/write) 349856 349856 0 0.0
.bss 241280 241280 0 0.0
.data 5104 5104 0 0.0
.data.rel.ro 96048 96048 0 0.0
.dynamic 624 624 0 0.0
.got 5616 5616 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 272374 272374 0 0.0
.text 4799683 4799699 16 0.0
tv-casting-app debug (read only) 8295105 8295121 16 0.0
(read/write) 210568 210568 0 0.0
.bss 54208 54208 0 0.0
.data 2544 2544 0 0.0
.data.rel.ro 147016 147016 0 0.0
.dynamic 624 624 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 1056 1056 0 0.0
.rodata 367644 367644 0 0.0
.text 7527299 7527315 16 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2522080 2522144 64 0.0
.bss 219904 219904 0 0.0
.data 5128 5128 0 0.0
.text 1484764 1484828 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1218724 1219864 1140 0.1
bss 154612 154612 0 0.0
rodata 141392 141436 44 0.0
text 843776 844864 1088 0.1
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1337436 1338200 764 0.1
bss 140070 140070 0 0.0
rodata 135484 135504 20 0.0
text 771196 771928 732 0.1
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1156764 1156764 0 0.0
bss 154791 154791 0 0.0
rodata 112776 112776 0 0.0
text 810212 810212 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 837696 837688 -8 -0.0
(read/write) 1766788 1768476 1688 0.1
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 193116 193116 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2528 2536 8 0.3
.debug_abbrev 1378683 1382399 3716 0.3
.debug_aranges 143904 144016 112 0.1
.debug_frame 479288 479660 372 0.1
.debug_info 30132758 30264039 131281 0.4
.debug_line 4143196 4150092 6896 0.2
.debug_line_str 957 957 0 0.0
.debug_loclists 2248217 2250127 1910 0.1
.debug_rnglists 142353 142415 62 0.0
.debug_str 4120936 4126291 5355 0.1
.heap 837696 837688 -8 -0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 802679 805861 3182 0.4
.symtab 500160 501680 1520 0.3
.text 1562756 1564436 1680 0.1
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 839648 839648 0 0.0
(read/write) 1674236 1674236 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 191228 191228 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2464 2464 0 0.0
.debug_abbrev 1285068 1285068 0 0.0
.debug_aranges 137200 137200 0 0.0
.debug_frame 462360 462360 0 0.0
.debug_info 27227858 27228621 763 0.0
.debug_line 3961044 3961044 0 0.0
.debug_line_str 981 981 0 0.0
.debug_loclists 2148948 2148953 5 0.0
.debug_rnglists 135480 135480 0 0.0
.debug_str 3979198 3979246 48 0.0
.heap 839648 839648 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 713312 713312 0 0.0
.symtab 465808 465808 0 0.0
.text 1472156 1472156 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 845912 845912 0 0.0
(read/write) 1605732 1605732 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 185076 185076 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2352 2352 0 0.0
.debug_abbrev 1125291 1125291 0 0.0
.debug_aranges 127328 127328 0 0.0
.debug_frame 425504 425504 0 0.0
.debug_info 22370427 22370960 533 0.0
.debug_line 3526349 3526349 0 0.0
.debug_line_str 942 942 0 0.0
.debug_loclists 1986063 1986068 5 0.0
.debug_rnglists 125250 125250 0 0.0
.debug_str 3787270 3787318 48 0.0
.heap 845912 845912 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 634304 634304 0 0.0
.symtab 430448 430448 0 0.0
.text 1409916 1409916 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 818392 818392 0 0.0
(read/write) 1639236 1639236 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 212580 212580 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2368 2368 0 0.0
.debug_abbrev 1116755 1116755 0 0.0
.debug_aranges 126240 126240 0 0.0
.debug_frame 421532 421532 0 0.0
.debug_info 22283982 22284511 529 0.0
.debug_line 3481800 3481800 0 0.0
.debug_line_str 933 933 0 0.0
.debug_loclists 1966472 1966477 5 0.0
.debug_rnglists 123426 123426 0 0.0
.debug_str 3751808 3751856 48 0.0
.heap 818392 818392 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 608204 608204 0 0.0
.symtab 422576 422576 0 0.0
.text 1415900 1415900 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1177860 1177860 0 0.0
.bss 101176 101176 0 0.0
.data 744 744 0 0.0
.text 624704 624704 0 0.0
lock-app qpg6105+debug (read/write) 1134932 1134932 0 0.0
.bss 95896 95896 0 0.0
.data 748 748 0 0.0
.text 581772 581772 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1070244 1071740 1496 0.1
bss 107308 107308 0 0.0
text 729056 730460 1404 0.2
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 976720 976808 88 0.0
bss 105284 105284 0 0.0
text 669696 669784 88 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 944120 944208 88 0.0
bss 109660 109660 0 0.0
text 646946 647034 88 0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 876076 876172 96 0.0
bss 98840 98840 0 0.0
text 590336 590426 90 0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 907380 907476 96 0.0
bss 99464 99464 0 0.0
text 618068 618158 90 0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 982368 982464 96 0.0
bss 107516 107516 0 0.0
text 685700 685792 92 0.0
lighting-app-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 993740 993828 88 0.0
bss 111764 111764 0 0.0
text 693220 693308 88 0.0
lighting-app-rpc tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1051900 1051988 88 0.0
bss 109088 109088 0 0.0
text 730636 730722 86 0.0
lighting-app-shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1083228 1083316 88 0.0
bss 120164 120164 0 0.0
text 750742 750826 84 0.0
lock-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 933528 933616 88 0.0
bss 99560 99560 0 0.0
text 621008 621100 92 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 898656 898744 88 0.0
bss 100148 100148 0 0.0
text 612180 612268 88 0.0
pump-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 881476 881564 88 0.0
bss 98972 98972 0 0.0
text 595938 596032 94 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 868656 868744 88 0.0
bss 98772 98772 0 0.0
text 586402 586496 94 0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 744196 744196 0 0.0
bss 97208 97208 0 0.0
text 478656 478654 -2 -0.0
smoke_co_alarm-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 878560 878648 88 0.0
bss 98952 98952 0 0.0
text 593810 593900 90 0.0
temperature-measurement-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 864828 864924 96 0.0
bss 98680 98680 0 0.0
text 582048 582138 90 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 910668 910756 88 0.0
bss 99224 99224 0 0.0
text 621380 621466 86 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 906456 906544 88 0.0
bss 99560 99560 0 0.0
text 616690 616776 86 0.0

@github-actions
Copy link

github-actions bot commented Aug 14, 2023

PR #28577: Size comparison from b0b0d58 to 568acd5

Increases (15 builds for bl702l, esp32, linux, nrfconnect, psoc6, telink)
platform target config section b0b0d58 568acd5 change % change
bl702l lighting-app bl702l (read/write) 1153808 1153812 4 0.0
.debug_info 41510305 41510306 1 0.0
.text 943828 943830 2 0.0
esp32 all-clusters-app c3devkit (read only) 1151428 1151432 4 0.0
.flash.text 1151428 1151432 4 0.0
linux all-clusters-app debug (read only) 5518193 5518681 488 0.0
.data.rel.ro 276360 276392 32 0.0
.rodata 336016 336080 64 0.0
.text 4804259 4804659 400 0.0
shell debug (read only) 2939049 2939145 96 0.0
.rodata 212370 212466 96 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1220412 1220428 16 0.0
text 845148 845168 20 0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1338624 1338656 32 0.0
text 772180 772200 20 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_abbrev 1382477 1382550 73 0.0
.debug_aranges 143944 144024 80 0.1
.debug_frame 479472 479756 284 0.1
.debug_info 30262561 30267196 4635 0.0
.debug_line 4150562 4151511 949 0.0
.debug_loclists 2249376 2251571 2195 0.1
.debug_rnglists 142398 142460 62 0.0
.debug_str 4124989 4126354 1365 0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_info 27230583 27230584 1 0.0
telink all-clusters-app tlsr9518adk80d (read/write) 1072388 1072436 48 0.0
text 730834 730882 48 0.0
bridge-app tlsr9518adk80d text 647458 647460 2 0.0
contact-sensor-app tlsr9518adk80d (read/write) 876860 876868 8 0.0
text 590848 590850 2 0.0
lighting-app tlsr9518adk80d text 686214 686216 2 0.0
lighting-app-rpc tlsr9518adk80d text 731144 731148 4 0.0
ota-requestor-app tlsr9518adk80d text 612688 612690 2 0.0
pump-app tlsr9518adk80d text 596452 596454 2 0.0
Decreases (15 builds for bl602, bl702, cc32xx, cyw30739, efr32, linux, psoc6, telink)
platform target config section b0b0d58 568acd5 change % change
bl602 lighting-app bl602 .text 1057928 1057924 -4 -0.0
bl602+rpc .text 1089862 1089858 -4 -0.0
bl702 lighting-app bl702 .debug_info 41509196 41509195 -1 -0.0
.text 955076 955074 -2 -0.0
bl702+rpc (read/write) 1267139 1267135 -4 -0.0
.debug_info 46403896 46403895 -1 -0.0
.text 1029762 1029760 -2 -0.0
cc32xx lock CC3235SF_LAUNCHXL .debug_info 19423290 19423289 -1 -0.0
cyw30739 lock cyw930739m2evb_01 (read/write) 537743 537735 -8 -0.0
.app_xip_area 423985 423977 -8 -0.0
efr32 lighting-app BRD4187C (read/write) 1037244 1037236 -8 -0.0
.text 869868 869860 -8 -0.0
linux all-clusters-app debug (read/write) 418176 416440 -1736 -0.4
.bss 130464 128704 -1760 -1.3
.init_array 1304 1296 -8 -0.6
psoc6 lock cy8ckit_062s2_43012 .debug_info 22286451 22286449 -2 -0.0
telink all-clusters-minimal-app tlsr9518adk80d (read/write) 977504 977496 -8 -0.0
text 670208 670204 -4 -0.0
lighting-app-factory-data tlsr9518adk80d text 693732 693730 -2 -0.0
shell tlsr9518adk80d text 478658 478656 -2 -0.0
smoke_co_alarm-app tlsr9518adk80d text 594324 594322 -2 -0.0
temperature-measurement-app tlsr9518adk80d (read/write) 865620 865612 -8 -0.0
text 582562 582560 -2 -0.0
window-covering tlsr9518adk80d text 617200 617198 -2 -0.0
Full report (60 builds for bl602, bl702, bl702l, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section b0b0d58 568acd5 change % change
bl602 lighting-app bl602 (read/write) 1365170 1365170 0 0.0
.bss 73622 73622 0 0.0
.data 9560 9560 0 0.0
.text 1057928 1057924 -4 -0.0
bl602+rpc (read/write) 1412638 1412638 0 0.0
.bss 81662 81662 0 0.0
.data 9952 9952 0 0.0
.text 1089862 1089858 -4 -0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1168199 1168199 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 41285 41285 0 0.0
.bss_psram 43424 43424 0 0.0
.comment 48 48 0 0.0
.data 3544 3544 0 0.0
.debug_abbrev 1567493 1567493 0 0.0
.debug_aranges 140400 140400 0 0.0
.debug_frame 516640 516640 0 0.0
.debug_info 41509196 41509195 -1 -0.0
.debug_line 5485389 5485389 0 0.0
.debug_loc 3565999 3565999 0 0.0
.debug_ranges 384712 384712 0 0.0
.debug_str 4012573 4012573 0 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 107196 107196 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 589689 589689 0 0.0
.symtab 175808 175808 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
955076 955074 -2 -0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1267139 1267135 -4 -0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 49749 49749 0 0.0
.bss_psram 43424 43424 0 0.0
.comment 48 48 0 0.0
.data 4104 4104 0 0.0
.debug_abbrev 1744623 1744623 0 0.0
.debug_aranges 148944 148944 0 0.0
.debug_frame 545544 545544 0 0.0
.debug_info 46403896 46403895 -1 -0.0
.debug_line 5897911 5897911 0 0.0
.debug_loc 3772155 3772155 0 0.0
.debug_ranges 410464 410464 0 0.0
.debug_str 4432438 4432438 0 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 121848 121848 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 652652 652652 0 0.0
.symtab 194736 194736 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1029762 1029760 -2 -0.0
bl702l lighting-app bl702l (read only) 278 278 0 0.0
(read/write) 1153808 1153812 4 0.0
.boot2 292 292 0 0.0
.bss 15988 15988 0 0.0
.bss_psram 77840 77840 0 0.0
.comment 48 48 0 0.0
.data 4528 4528 0 0.0
.debug_abbrev 1569712 1569712 0 0.0
.debug_aranges 134904 134904 0 0.0
.debug_frame 496328 496328 0 0.0
.debug_info 41510305 41510306 1 0.0
.debug_line 5401083 5401083 0 0.0
.debug_loc 3502138 3502138 0 0.0
.debug_ranges 389920 389920 0 0.0
.debug_str 4025042 4025042 0 0.0
.hbn 3244 3244 0 0.0
.hbn_noinit 308 308 0 0.0
.init 408 408 0 0.0
.init_array 144 144 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 101080 101080 0 0.0
.romdata 3224 3224 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 286 286 0 0.0
.stack 2048 2048 0 0.0
.strtab 589904 589904 0 0.0
.symtab 175360 175360 0 0.0
.tcm_data 692 692 0 0.0
.tcmcode 278 278 0 0.0
.text 0 0 0 0.0
943828 943830 2 0.0
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 615962 615962 0 0.0
(read/write) 207744 207744 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 201184 201184 0 0.0
.comment 206 206 0 0.0
.data 1440 1440 0 0.0
.debug_abbrev 962080 962080 0 0.0
.debug_aranges 109056 109056 0 0.0
.debug_frame 369852 369852 0 0.0
.debug_info 19423290 19423289 -1 -0.0
.debug_line 2814419 2814419 0 0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1597625 1597625 0 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 100591 100591 0 0.0
.debug_str 3427188 3427188 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 106458 106458 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 496476 496476 0 0.0
.symtab 293440 293440 0 0.0
.text 507384 507384 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 550647 550647 0 0.0
.app_xip_area 441937 441937 0 0.0
.bss 63728 63728 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) 537743 537735 -8 -0.0
.app_xip_area 423985 423977 -8 -0.0
.bss 68752 68752 0 0.0
.data 692 692 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 574407 574407 0 0.0
.app_xip_area 466777 466777 0 0.0
.bss 62720 62720 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) 549399 549399 0 0.0
.app_xip_area 438761 438761 0 0.0
.bss 65632 65632 0 0.0
.data 688 688 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1013004 1013004 0 0.0
.bss 184524 184524 0 0.0
.data 2652 2652 0 0.0
.text 825808 825808 0 0.0
BRD4187C (read/write) 1037244 1037236 -8 -0.0
.bss 164108 164108 0 0.0
.data 3248 3248 0 0.0
.text 869868 869860 -8 -0.0
lock-app BRD4161A+wf200 (read/write) 1089648 1089648 0 0.0
.bss 178580 178580 0 0.0
.data 2672 2672 0 0.0
.text 908376 908376 0 0.0
window-app BRD4187C (read/write) 1109024 1109024 0 0.0
.bss 147148 147148 0 0.0
.data 3132 3132 0 0.0
.text 958724 958724 0 0.0
esp32 all-clusters-app c3devkit (read only) 1151428 1151432 4 0.0
(read/write) 1702412 1702412 0 0.0
.dram0.bss 79048 79048 0 0.0
.dram0.data 13084 13084 0 0.0
.flash.rodata 266536 266536 0 0.0
.flash.text 1151428 1151432 4 0.0
.iram0.text 75262 75262 0 0.0
m5stack (read only) 1193059 1193059 0 0.0
(read/write) 550606 550606 0 0.0
.dram0.bss 85416 85416 0 0.0
.dram0.data 34036 34036 0 0.0
.flash.rodata 297512 297512 0 0.0
.flash.text 1187675 1187675 0 0.0
.iram0.text 123311 123311 0 0.0
k32w contact k32w0+release (read only) 591012 591012 0 0.0
(read/write) 88096 88096 0 0.0
.bss 71344 71344 0 0.0
.data 2128 2128 0 0.0
.text 590476 590476 0 0.0
light k32w0+release (read only) 589812 589812 0 0.0
(read/write) 87748 87748 0 0.0
.bss 71008 71008 0 0.0
.data 2116 2116 0 0.0
.text 589276 589276 0 0.0
lock k32w0+release (read only) 562148 562148 0 0.0
(read/write) 85548 85548 0 0.0
.bss 68864 68864 0 0.0
.data 2060 2060 0 0.0
.text 561612 561612 0 0.0
linux all-clusters-app debug (read only) 5518193 5518681 488 0.0
(read/write) 418176 416440 -1736 -0.4
.bss 130464 128704 -1760 -1.3
.data 4016 4016 0 0.0
.data.rel.ro 276360 276392 32 0.0
.dynamic 624 624 0 0.0
.got 5384 5384 0 0.0
.init 27 27 0 0.0
.init_array 1304 1296 -8 -0.6
.rodata 336016 336080 64 0.0
.text 4804259 4804659 400 0.0
all-clusters-minimal-app debug (read only) 4902913 4902913 0 0.0
(read/write) 231392 231392 0 0.0
.bss 126016 126016 0 0.0
.data 3856 3856 0 0.0
.data.rel.ro 94384 94384 0 0.0
.dynamic 624 624 0 0.0
.got 5344 5344 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 272102 272102 0 0.0
.text 4400611 4400611 0 0.0
bridge-app debug (read only) 2770593 2770593 0 0.0
(read/write) 132848 132848 0 0.0
.bss 51512 51512 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 71408 71408 0 0.0
.dynamic 624 624 0 0.0
.got 4640 4640 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 214664 214664 0 0.0
.text 2378403 2378403 0 0.0
chip-tool debug (read only) 17528481 17528481 0 0.0
(read/write) 1043136 1043136 0 0.0
.bss 93752 93752 0 0.0
.data 5090 5090 0 0.0
.data.rel.ro 936936 936936 0 0.0
.dynamic 624 624 0 0.0
.got 5880 5880 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 892049 892049 0 0.0
.text 14610179 14610179 0 0.0
chip-tool-ipv6only arm64 (read only) 16770644 16770644 0 0.0
(read/write) 1110520 1110520 0 0.0
.bss 103064 103064 0 0.0
.data 4392 4392 0 0.0
.data.rel.ro 974328 974328 0 0.0
.dynamic 512 512 0 0.0
.got 23248 23248 0 0.0
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 804416 804416 0 0.0
.text 13755528 13755528 0 0.0
lighting-app debug+rpc+ui (read only) 5242001 5242001 0 0.0
(read/write) 222088 222088 0 0.0
.bss 117744 117744 0 0.0
.data 4528 4528 0 0.0
.data.rel.ro 92248 92248 0 0.0
.dynamic 672 672 0 0.0
.got 5928 5928 0 0.0
.init 27 27 0 0.0
.init_array 944 944 0 0.0
.rodata 337108 337108 0 0.0
.text 4662819 4662819 0 0.0
lock-app debug (read only) 4473057 4473057 0 0.0
(read/write) 202840 202840 0 0.0
.bss 113360 113360 0 0.0
.data 3728 3728 0 0.0
.data.rel.ro 78952 78952 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 248038 248038 0 0.0
.text 4015667 4015667 0 0.0
ota-provider-app debug (read only) 4128329 4128329 0 0.0
(read/write) 191872 191872 0 0.0
.bss 113504 113504 0 0.0
.data 4000 4000 0 0.0
.data.rel.ro 68448 68448 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 201254 201254 0 0.0
.text 3736755 3736755 0 0.0
ota-requestor-app debug (read only) 4222225 4222225 0 0.0
(read/write) 196184 196184 0 0.0
.bss 114560 114560 0 0.0
.data 4240 4240 0 0.0
.data.rel.ro 71448 71448 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 204646 204646 0 0.0
.text 3822931 3822931 0 0.0
shell debug (read only) 2939049 2939145 96 0.0
(read/write) 150720 150720 0 0.0
.bss 60008 60008 0 0.0
.data 784 784 0 0.0
.data.rel.ro 84056 84056 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 212370 212466 96 0.0
.text 2555714 2555714 0 0.0
thermostat-no-ble arm64 (read only) 4451476 4451476 0 0.0
(read/write) 243848 243848 0 0.0
.bss 122280 122280 0 0.0
.data 2880 2880 0 0.0
.data.rel.ro 102232 102232 0 0.0
.dynamic 512 512 0 0.0
.got 11984 11984 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 162252 162252 0 0.0
.text 3951144 3951144 0 0.0
tv-app debug (read only) 5317361 5317361 0 0.0
(read/write) 349856 349856 0 0.0
.bss 241280 241280 0 0.0
.data 5104 5104 0 0.0
.data.rel.ro 96048 96048 0 0.0
.dynamic 624 624 0 0.0
.got 5616 5616 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 272598 272598 0 0.0
.text 4801123 4801123 0 0.0
tv-casting-app debug (read only) 8296737 8296737 0 0.0
(read/write) 210568 210568 0 0.0
.bss 54208 54208 0 0.0
.data 2544 2544 0 0.0
.data.rel.ro 147016 147016 0 0.0
.dynamic 624 624 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 1056 1056 0 0.0
.rodata 367836 367836 0 0.0
.text 7528739 7528739 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2522504 2522504 0 0.0
.bss 219904 219904 0 0.0
.data 5128 5128 0 0.0
.text 1485188 1485188 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1220412 1220428 16 0.0
bss 154612 154612 0 0.0
rodata 141696 141696 0 0.0
text 845148 845168 20 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1338624 1338656 32 0.0
bss 140070 140070 0 0.0
rodata 135688 135688 0 0.0
text 772180 772200 20 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1157328 1157328 0 0.0
bss 154791 154791 0 0.0
rodata 113036 113036 0 0.0
text 810516 810516 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 837688 837688 0 0.0
(read/write) 1768804 1768804 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 193116 193116 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2536 2536 0 0.0
.debug_abbrev 1382477 1382550 73 0.0
.debug_aranges 143944 144024 80 0.1
.debug_frame 479472 479756 284 0.1
.debug_info 30262561 30267196 4635 0.0
.debug_line 4150562 4151511 949 0.0
.debug_line_str 957 957 0 0.0
.debug_loclists 2249376 2251571 2195 0.1
.debug_rnglists 142398 142460 62 0.0
.debug_str 4124989 4126354 1365 0.0
.heap 837688 837688 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 806034 806034 0 0.0
.symtab 501808 501808 0 0.0
.text 1564764 1564764 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 839648 839648 0 0.0
(read/write) 1674572 1674572 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 191228 191228 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2464 2464 0 0.0
.debug_abbrev 1285184 1285184 0 0.0
.debug_aranges 137208 137208 0 0.0
.debug_frame 462420 462420 0 0.0
.debug_info 27230583 27230584 1 0.0
.debug_line 3961702 3961702 0 0.0
.debug_line_str 981 981 0 0.0
.debug_loclists 2149738 2149738 0 0.0
.debug_rnglists 135498 135498 0 0.0
.debug_str 3979410 3979410 0 0.0
.heap 839648 839648 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 713485 713485 0 0.0
.symtab 465936 465936 0 0.0
.text 1472492 1472492 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 845912 845912 0 0.0
(read/write) 1606076 1606076 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 185076 185076 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2352 2352 0 0.0
.debug_abbrev 1125407 1125407 0 0.0
.debug_aranges 127336 127336 0 0.0
.debug_frame 425564 425564 0 0.0
.debug_info 22372915 22372915 0 0.0
.debug_line 3527007 3527007 0 0.0
.debug_line_str 942 942 0 0.0
.debug_loclists 1986853 1986853 0 0.0
.debug_rnglists 125268 125268 0 0.0
.debug_str 3787482 3787482 0 0.0
.heap 845912 845912 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 634477 634477 0 0.0
.symtab 430576 430576 0 0.0
.text 1410260 1410260 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 818392 818392 0 0.0
(read/write) 1639580 1639580 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 212580 212580 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2368 2368 0 0.0
.debug_abbrev 1116871 1116871 0 0.0
.debug_aranges 126248 126248 0 0.0
.debug_frame 421592 421592 0 0.0
.debug_info 22286451 22286449 -2 -0.0
.debug_line 3482458 3482458 0 0.0
.debug_line_str 933 933 0 0.0
.debug_loclists 1967262 1967262 0 0.0
.debug_rnglists 123444 123444 0 0.0
.debug_str 3752020 3752020 0 0.0
.heap 818392 818392 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 608377 608377 0 0.0
.symtab 422704 422704 0 0.0
.text 1416244 1416244 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1178444 1178444 0 0.0
.bss 101176 101176 0 0.0
.data 744 744 0 0.0
.text 625288 625288 0 0.0
lock-app qpg6105+debug (read/write) 1135500 1135500 0 0.0
.bss 95896 95896 0 0.0
.data 748 748 0 0.0
.text 582340 582340 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1072388 1072436 48 0.0
bss 107308 107308 0 0.0
text 730834 730882 48 0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 977504 977496 -8 -0.0
bss 105284 105284 0 0.0
text 670208 670204 -4 -0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 944904 944904 0 0.0
bss 109660 109660 0 0.0
text 647458 647460 2 0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 876860 876868 8 0.0
bss 98840 98840 0 0.0
text 590848 590850 2 0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 908164 908164 0 0.0
bss 99464 99464 0 0.0
text 618580 618580 0 0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 983160 983160 0 0.0
bss 107516 107516 0 0.0
text 686214 686216 2 0.0
lighting-app-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 994524 994524 0 0.0
bss 111764 111764 0 0.0
text 693732 693730 -2 -0.0
lighting-app-rpc tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1052684 1052684 0 0.0
bss 109088 109088 0 0.0
text 731144 731148 4 0.0
lighting-app-shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1084004 1084004 0 0.0
bss 120164 120164 0 0.0
text 751248 751248 0 0.0
lock-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 934312 934312 0 0.0
bss 99560 99560 0 0.0
text 621522 621522 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 899440 899440 0 0.0
bss 100148 100148 0 0.0
text 612688 612690 2 0.0
pump-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 882260 882260 0 0.0
bss 98972 98972 0 0.0
text 596452 596454 2 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 869440 869440 0 0.0
bss 98772 98772 0 0.0
text 586916 586916 0 0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 744196 744196 0 0.0
bss 97208 97208 0 0.0
text 478658 478656 -2 -0.0
smoke_co_alarm-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 879344 879344 0 0.0
bss 98952 98952 0 0.0
text 594324 594322 -2 -0.0
temperature-measurement-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 865620 865612 -8 -0.0
bss 98680 98680 0 0.0
text 582562 582560 -2 -0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 911452 911452 0 0.0
bss 99224 99224 0 0.0
text 621890 621890 0 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 907240 907240 0 0.0
bss 99560 99560 0 0.0
text 617200 617198 -2 -0.0

@hicklin hicklin requested a review from bzbarsky-apple August 15, 2023 08:43
@hicklin hicklin dismissed bzbarsky-apple’s stale review August 15, 2023 14:11

All of the comments have been resolved and the final outstanding comment has been looked at by other reviewers to ensure that it has been resolved since this reviewer is off for 12 days.

@mergify mergify bot merged commit 7067897 into project-chip:master Aug 15, 2023
s07641069 pushed a commit to s07641069/connectedhomeip that referenced this pull request Aug 22, 2023
)

* Reordered Mode Base functions.

* Moved generic OpState cluster objects into one header file.

* Reordered OperationalStateServer functions.

* Moved OpState delegate in the server header file.

* Updated the TestOperationalStateDelegate inctludes following the operational state delegate change in location.

* Renamed TestOperationalStateDelegate.cpp -> src/app/tests/TestOperationalStateClusterObjects.cpp

* Restyled by clang-format

* Minor corrections following revision.

* Refactored the OperationalState server code to match with other derived cluters. Updated the examples to work with this change.

* Explicitly initialised the edpoint ID in the operational state examples to improve readability.

* OpState: Made OpState getters return const.

* Restyled by clang-format

* Moved the responsibility of storing and managing the countdown time attribute to the delegate.

* Applied minor review changes.

* OpState: Made the improved the relationship between the Delegate and Instance classes.

* OpState: Removed the ability to set the OperationalState to the Error state and the ability to set the OperationalError. These can only be set via the ErrorDetected event.

* OpState: Fixed GetCurrentOperationalError

* Restyled by clang-format

* Added checks to the phase and operational state setters to ensure that the value given is valid.

* Added a safe method to check if two GenericOperationalError objects are equal.

* GetInstance returns a const pointer.

Co-authored-by: Boris Zbarsky <[email protected]>

* Restyled by clang-format

---------

Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Boris Zbarsky <[email protected]>
@@ -138,6 +138,35 @@ struct GenericOperationalError : public app::Clusters::detail::Structs::ErrorSta
}
}

bool IsEqual(const Structs::ErrorStateStruct::Type & rhs)
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a reason this is not a const method?

else if (opState == to_underlying(OperationalStateEnum::kPaused))

// Set the OperationalError attribute
if (mOperationalError.IsEqual(aError))
Copy link
Contributor

Choose a reason for hiding this comment

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

This check is backward, so this code does not work correctly. Was this tested? Why is it not being tested as part of this PR?

HunsupJung pushed a commit to HunsupJung/connectedhomeip that referenced this pull request Oct 23, 2023
)

* Reordered Mode Base functions.

* Moved generic OpState cluster objects into one header file.

* Reordered OperationalStateServer functions.

* Moved OpState delegate in the server header file.

* Updated the TestOperationalStateDelegate inctludes following the operational state delegate change in location.

* Renamed TestOperationalStateDelegate.cpp -> src/app/tests/TestOperationalStateClusterObjects.cpp

* Restyled by clang-format

* Minor corrections following revision.

* Refactored the OperationalState server code to match with other derived cluters. Updated the examples to work with this change.

* Explicitly initialised the edpoint ID in the operational state examples to improve readability.

* OpState: Made OpState getters return const.

* Restyled by clang-format

* Moved the responsibility of storing and managing the countdown time attribute to the delegate.

* Applied minor review changes.

* OpState: Made the improved the relationship between the Delegate and Instance classes.

* OpState: Removed the ability to set the OperationalState to the Error state and the ability to set the OperationalError. These can only be set via the ErrorDetected event.

* OpState: Fixed GetCurrentOperationalError

* Restyled by clang-format

* Added checks to the phase and operational state setters to ensure that the value given is valid.

* Added a safe method to check if two GenericOperationalError objects are equal.

* GetInstance returns a const pointer.

Co-authored-by: Boris Zbarsky <[email protected]>

* Restyled by clang-format

---------

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

Successfully merging this pull request may close these issues.

5 participants