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

Make the error-handling in OnReadInitialRequest clearer. #18706

Merged

Conversation

bzbarsky-apple
Copy link
Contributor

Instead of having both a status outparam and an error return, just use a status return.

Also fixes some bugs where we were not checking the results of some
TLV parsing operations, and not converting some TVL parsing failures
to the right status.

Fixes #11724

Fixes #17623

Problem

Confusing error handling, missing error checks.

Change overview

Fix that.

Testing

Just makes sure that we can't forget to set our status.

@github-actions
Copy link

github-actions bot commented May 21, 2022

PR #18706: Size comparison from 55ef609 to d9619ea

Increases (5 builds for cc13x2_26x2)
platform target config section 55ef609 d9619ea change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 182424 182456 32 0.0
lock-ftd LP_CC2652R7 (read/write) 166864 166888 24 0.0
pump-app LP_CC2652R7 (read/write) 168084 168100 16 0.0
pump-controller-app LP_CC2652R7 (read/write) 189908 189924 16 0.0
shell LP_CC2652R7 (read/write) 184896 184928 32 0.0
Decreases (37 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 55ef609 d9619ea change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 668407 668375 -32 -0.0
.text 568288 568256 -32 -0.0
lock-ftd LP_CC2652R7 (read only) 675919 675895 -24 -0.0
.text 581028 581004 -24 -0.0
lock-mtd LP_CC2652R7 (read only) 625327 625303 -24 -0.0
.text 530548 530524 -24 -0.0
pump-app LP_CC2652R7 (read only) 676003 675987 -16 -0.0
.text 586620 586604 -16 -0.0
pump-controller-app LP_CC2652R7 (read only) 653963 653947 -16 -0.0
.text 569808 569792 -16 -0.0
shell LP_CC2652R7 (read only) 661494 661462 -32 -0.0
.text 564404 564372 -32 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 624150 624126 -24 -0.0
.app_xip_area 527508 527484 -24 -0.0
lock cyw930739m2evb_01 (read/write) 626962 626938 -24 -0.0
.app_xip_area 531776 531752 -24 -0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 570882 570858 -24 -0.0
.app_xip_area 465980 465956 -24 -0.0
efr32 lighting-app BRD4161A (read only) 915988 915956 -32 -0.0
.text 915980 915948 -32 -0.0
BRD4161A+rpc (read only) 950176 950144 -32 -0.0
.text 950168 950136 -32 -0.0
BRD4161A+rs911x (read only) 790548 790516 -32 -0.0
.text 790540 790508 -32 -0.0
lock-app BRD4161A+wf200 (read only) 946760 946744 -16 -0.0
.text 946752 946736 -16 -0.0
window-app BRD4161A (read only) 897260 897228 -32 -0.0
.text 897252 897220 -32 -0.0
esp32 all-clusters-app c3devkit (read only) 1002770 1002732 -38 -0.0
.flash.text 1002770 1002732 -38 -0.0
m5stack (read only) 1057595 1057547 -48 -0.0
.flash.text 1052211 1052163 -48 -0.0
k32w light k32w061+release (read/write) 682488 682472 -16 -0.0
.text 598416 598400 -16 -0.0
lock k32w061+release (read/write) 728636 728620 -16 -0.0
.text 644172 644156 -16 -0.0
linux all-clusters-app debug (read only) 2759561 2759257 -304 -0.0
.text 2343634 2343330 -304 -0.0
bridge-app debug+rpc (read only) 2035481 2035161 -320 -0.0
.text 1709298 1708978 -320 -0.0
chip-tool debug (read only) 9460069 9459765 -304 -0.0
.text 7651125 7650821 -304 -0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9206676 9206532 -144 -0.0
(read/write) 645361 645329 -32 -0.0
.data.rel.ro 583112 583088 -24 -0.0
.text 7298196 7298068 -128 -0.0
lighting-app debug+rpc (read only) 2327273 2326969 -304 -0.0
.text 1972850 1972546 -304 -0.0
lock-app debug (read only) 2240769 2240449 -320 -0.0
.text 1882098 1881778 -320 -0.0
ota-provider-app debug (read only) 2065977 2065673 -304 -0.0
.text 1727538 1727234 -304 -0.0
ota-requestor-app debug (read only) 2094929 2094625 -304 -0.0
.text 1759058 1758754 -304 -0.0
shell debug (read only) 2575769 2575449 -320 -0.0
.text 2192242 2191922 -320 -0.0
thermostat-no-ble arm64 (read only) 2357292 2357148 -144 -0.0
(read/write) 176609 176593 -16 -0.0
.data.rel.ro 79416 79392 -24 -0.0
.text 1980768 1980640 -128 -0.0
tv-app debug (read only) 2856913 2856593 -320 -0.0
.text 2453602 2453282 -320 -0.0
tv-casting-app debug (read only) 5433385 5433065 -320 -0.0
.text 4733794 4733474 -320 -0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2418936 2418088 -848 -0.0
.text 1381580 1380732 -848 -0.1
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1182467 1182451 -16 -0.0
text 812288 812268 -20 -0.0
p6 all-clusters-app default (read/write) 2540656 2540624 -32 -0.0
.text 1498920 1498888 -32 -0.0
light-app default (read/write) 2424552 2424520 -32 -0.0
.text 1382816 1382784 -32 -0.0
lock-app default (read/write) 2435240 2435208 -32 -0.0
.text 1393504 1393472 -32 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 782400 782360 -40 -0.0
text 553442 553408 -34 -0.0
lighting-app tlsr9518adk80d (read/write) 802420 802380 -40 -0.0
text 570154 570120 -34 -0.0
Full report (37 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 55ef609 d9619ea change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 668407 668375 -32 -0.0
(read/write) 182424 182456 32 0.0
.bss 73812 73812 0 0.0
.data 3404 3404 0 0.0
.rodata 99895 99895 0 0.0
.text 568288 568256 -32 -0.0
lock-ftd LP_CC2652R7 (read only) 675919 675895 -24 -0.0
(read/write) 166864 166888 24 0.0
.bss 72820 72820 0 0.0
.data 3236 3236 0 0.0
.rodata 94407 94407 0 0.0
.text 581028 581004 -24 -0.0
lock-mtd LP_CC2652R7 (read only) 625327 625303 -24 -0.0
(read/write) 145652 145652 0 0.0
.bss 68556 68556 0 0.0
.data 3236 3236 0 0.0
.rodata 94287 94287 0 0.0
.text 530548 530524 -24 -0.0
pump-app LP_CC2652R7 (read only) 676003 675987 -16 -0.0
(read/write) 168084 168100 16 0.0
.bss 73100 73100 0 0.0
.data 3272 3272 0 0.0
.rodata 88899 88899 0 0.0
.text 586620 586604 -16 -0.0
pump-controller-app LP_CC2652R7 (read only) 653963 653947 -16 -0.0
(read/write) 189908 189924 16 0.0
.bss 73140 73140 0 0.0
.data 3232 3232 0 0.0
.rodata 83675 83675 0 0.0
.text 569808 569792 -16 -0.0
shell LP_CC2652R7 (read only) 661494 661462 -32 -0.0
(read/write) 184896 184928 32 0.0
.bss 76172 76172 0 0.0
.data 3408 3408 0 0.0
.rodata 96862 96862 0 0.0
.text 564404 564372 -32 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 624150 624126 -24 -0.0
.app_xip_area 527508 527484 -24 -0.0
.bss 79284 79284 0 0.0
.data 708 708 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 626962 626938 -24 -0.0
.app_xip_area 531776 531752 -24 -0.0
.bss 77860 77860 0 0.0
.data 672 672 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 570882 570858 -24 -0.0
.app_xip_area 465980 465956 -24 -0.0
.bss 87280 87280 0 0.0
.data 584 584 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 915988 915956 -32 -0.0
(read/write) 133372 133372 0 0.0
.bss 131312 131312 0 0.0
.data 2060 2060 0 0.0
.text 915980 915948 -32 -0.0
BRD4161A+rpc (read only) 950176 950144 -32 -0.0
(read/write) 150056 150056 0 0.0
.bss 147792 147792 0 0.0
.data 2264 2264 0 0.0
.text 950168 950136 -32 -0.0
BRD4161A+rs911x (read only) 790548 790516 -32 -0.0
(read/write) 129640 129640 0 0.0
.bss 127572 127572 0 0.0
.data 2068 2068 0 0.0
.text 790540 790508 -32 -0.0
lock-app BRD4161A+wf200 (read only) 946760 946744 -16 -0.0
(read/write) 124124 124124 0 0.0
.bss 122100 122100 0 0.0
.data 2024 2024 0 0.0
.text 946752 946736 -16 -0.0
window-app BRD4161A (read only) 897260 897228 -32 -0.0
(read/write) 133432 133432 0 0.0
.bss 131384 131384 0 0.0
.data 2048 2048 0 0.0
.text 897252 897220 -32 -0.0
esp32 all-clusters-app c3devkit (read only) 1002770 1002732 -38 -0.0
(read/write) 1478050 1478050 0 0.0
.dram0.bss 68376 68376 0 0.0
.dram0.data 14624 14624 0 0.0
.flash.rodata 209616 209616 0 0.0
.flash.text 1002770 1002732 -38 -0.0
.iram0.text 62954 62954 0 0.0
m5stack (read only) 1057595 1057547 -48 -0.0
(read/write) 480056 480056 0 0.0
.dram0.bss 73896 73896 0 0.0
.dram0.data 34200 34200 0 0.0
.flash.rodata 239964 239964 0 0.0
.flash.text 1052211 1052163 -48 -0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 682488 682472 -16 -0.0
.bss 80352 80352 0 0.0
.data 2016 2016 0 0.0
.text 598416 598400 -16 -0.0
lock k32w061+release (read/write) 728636 728620 -16 -0.0
.bss 80784 80784 0 0.0
.data 1976 1976 0 0.0
.text 644172 644156 -16 -0.0
linux all-clusters-app debug (read only) 2759561 2759257 -304 -0.0
(read/write) 176384 176384 0 0.0
.bss 85440 85440 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 82712 82712 0 0.0
.dynamic 608 608 0 0.0
.got 4496 4496 0 0.0
.init 27 27 0 0.0
.init_array 1016 1016 0 0.0
.rodata 241373 241373 0 0.0
.text 2343634 2343330 -304 -0.0
bridge-app debug+rpc (read only) 2035481 2035161 -320 -0.0
(read/write) 148024 148024 0 0.0
.bss 73120 73120 0 0.0
.data 3936 3936 0 0.0
.data.rel.ro 65384 65384 0 0.0
.dynamic 592 592 0 0.0
.got 4272 4272 0 0.0
.init 27 27 0 0.0
.init_array 688 688 0 0.0
.rodata 169065 169065 0 0.0
.text 1709298 1708978 -320 -0.0
chip-tool debug (read only) 9460069 9459765 -304 -0.0
(read/write) 579192 579192 0 0.0
.bss 23936 23936 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 547800 547800 0 0.0
.dynamic 624 624 0 0.0
.got 5000 5000 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 482013 482013 0 0.0
.text 7651125 7650821 -304 -0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9206676 9206532 -144 -0.0
(read/write) 645361 645329 -32 -0.0
.bss 42225 42225 0 0.0
.data 1192 1192 0 0.0
.data.rel.ro 583112 583088 -24 -0.0
.dynamic 560 560 0 0.0
.got 14984 14984 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 446436 446436 0 0.0
.text 7298196 7298068 -128 -0.0
lighting-app debug+rpc (read only) 2327273 2326969 -304 -0.0
(read/write) 153440 153440 0 0.0
.bss 74912 74912 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 70728 70728 0 0.0
.dynamic 608 608 0 0.0
.got 4344 4344 0 0.0
.init 27 27 0 0.0
.init_array 792 792 0 0.0
.rodata 188073 188073 0 0.0
.text 1972850 1972546 -304 -0.0
lock-app debug (read only) 2240769 2240449 -320 -0.0
(read/write) 148152 148152 0 0.0
.bss 73600 73600 0 0.0
.data 1568 1568 0 0.0
.data.rel.ro 67272 67272 0 0.0
.dynamic 592 592 0 0.0
.got 4336 4336 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 198713 198713 0 0.0
.text 1882098 1881778 -320 -0.0
ota-provider-app debug (read only) 2065977 2065673 -304 -0.0
(read/write) 141232 141232 0 0.0
.bss 73056 73056 0 0.0
.data 1768 1768 0 0.0
.data.rel.ro 60600 60600 0 0.0
.dynamic 608 608 0 0.0
.got 4504 4504 0 0.0
.init 27 27 0 0.0
.init_array 648 648 0 0.0
.rodata 179872 179872 0 0.0
.text 1727538 1727234 -304 -0.0
ota-requestor-app debug (read only) 2094929 2094625 -304 -0.0
(read/write) 144040 144040 0 0.0
.bss 73728 73728 0 0.0
.data 1992 1992 0 0.0
.data.rel.ro 62664 62664 0 0.0
.dynamic 592 592 0 0.0
.got 4344 4344 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 175840 175840 0 0.0
.text 1759058 1758754 -304 -0.0
shell debug (read only) 2575769 2575449 -320 -0.0
(read/write) 200408 200408 0 0.0
.bss 116360 116360 0 0.0
.data 1376 1376 0 0.0
.data.rel.ro 76912 76912 0 0.0
.dynamic 608 608 0 0.0
.got 4192 4192 0 0.0
.init 27 27 0 0.0
.init_array 936 936 0 0.0
.rodata 222354 222354 0 0.0
.text 2192242 2191922 -320 -0.0
thermostat-no-ble arm64 (read only) 2357292 2357148 -144 -0.0
(read/write) 176609 176593 -16 -0.0
.bss 87873 87873 0 0.0
.data 1520 1520 0 0.0
.data.rel.ro 79416 79392 -24 -0.0
.dynamic 560 560 0 0.0
.got 4768 4768 0 0.0
.init 24 24 0 0.0
.init_array 376 376 0 0.0
.rodata 147548 147548 0 0.0
.text 1980768 1980640 -128 -0.0
tv-app debug (read only) 2856913 2856593 -320 -0.0
(read/write) 279072 279072 0 0.0
.bss 191032 191032 0 0.0
.data 4672 4672 0 0.0
.data.rel.ro 77120 77120 0 0.0
.dynamic 592 592 0 0.0
.got 4720 4720 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 221137 221137 0 0.0
.text 2453602 2453282 -320 -0.0
tv-casting-app debug (read only) 5433385 5433065 -320 -0.0
(read/write) 225344 225344 0 0.0
.bss 78616 78616 0 0.0
.data 2400 2400 0 0.0
.data.rel.ro 138120 138120 0 0.0
.dynamic 608 608 0 0.0
.got 4728 4728 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 340097 340097 0 0.0
.text 4733794 4733474 -320 -0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2418936 2418088 -848 -0.0
.bss 202796 202796 0 0.0
.data 5872 5872 0 0.0
.text 1381580 1380732 -848 -0.1
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1182467 1182451 -16 -0.0
bss 138540 138540 0 0.0
rodata 152796 152796 0 0.0
text 812288 812268 -20 -0.0
p6 all-clusters-app default (read/write) 2540656 2540624 -32 -0.0
.bss 136344 136344 0 0.0
.data 2808 2808 0 0.0
.text 1498920 1498888 -32 -0.0
light-app default (read/write) 2424552 2424520 -32 -0.0
.bss 129616 129616 0 0.0
.data 2608 2608 0 0.0
.text 1382816 1382784 -32 -0.0
lock-app default (read/write) 2435240 2435208 -32 -0.0
.bss 129432 129432 0 0.0
.data 2568 2568 0 0.0
.text 1393504 1393472 -32 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 782400 782360 -40 -0.0
bss 70744 70744 0 0.0
noinit 40416 40416 0 0.0
text 553442 553408 -34 -0.0
lighting-app tlsr9518adk80d (read/write) 802420 802380 -40 -0.0
bss 71000 71000 0 0.0
noinit 40416 40416 0 0.0
text 570154 570120 -34 -0.0

Instead of having both a status outparam and an error return, just use a status return.

Also fixes some bugs where we were not checking the results of some
TLV parsing operations, and not converting some TVL parsing failures
to the right status.

Fixes project-chip#11724

Fixes project-chip#17623
@bzbarsky-apple bzbarsky-apple force-pushed the read-initial-request branch from d9619ea to ec99391 Compare May 25, 2022 13:27
@github-actions
Copy link

github-actions bot commented May 25, 2022

PR #18706: Size comparison from a3fdd05 to ec99391

Increases (5 builds for cc13x2_26x2)
platform target config section a3fdd05 ec99391 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 184368 184392 24 0.0
lock-ftd LP_CC2652R7 (read/write) 166328 166344 16 0.0
pump-app LP_CC2652R7 (read/write) 167956 167980 24 0.0
pump-controller-app LP_CC2652R7 (read/write) 189572 189596 24 0.0
shell LP_CC2652R7 (read/write) 186912 186936 24 0.0
Decreases (37 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section a3fdd05 ec99391 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 667479 667455 -24 -0.0
.text 567148 567124 -24 -0.0
lock-ftd LP_CC2652R7 (read only) 676511 676495 -16 -0.0
.text 581476 581460 -16 -0.0
lock-mtd LP_CC2652R7 (read only) 625919 625895 -24 -0.0
.text 530996 530972 -24 -0.0
pump-app LP_CC2652R7 (read only) 676307 676283 -24 -0.0
.text 587108 587084 -24 -0.0
pump-controller-app LP_CC2652R7 (read only) 654291 654267 -24 -0.0
.text 570312 570288 -24 -0.0
shell LP_CC2652R7 (read only) 660494 660470 -24 -0.0
.text 563200 563176 -24 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 622134 622118 -16 -0.0
.app_xip_area 525412 525396 -16 -0.0
lock cyw930739m2evb_01 (read/write) 627450 627426 -24 -0.0
.app_xip_area 532200 532176 -24 -0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 571218 571202 -16 -0.0
.app_xip_area 466292 466276 -16 -0.0
efr32 lighting-app BRD4161A (read only) 912284 912252 -32 -0.0
.text 912276 912244 -32 -0.0
BRD4161A+rpc (read only) 946456 946424 -32 -0.0
.text 946448 946416 -32 -0.0
BRD4161A+rs911x (read only) 786852 786820 -32 -0.0
.text 786844 786812 -32 -0.0
lock-app BRD4161A+wf200 (read only) 947056 947040 -16 -0.0
.text 947048 947032 -16 -0.0
window-app BRD4161A (read only) 897188 897156 -32 -0.0
.text 897180 897148 -32 -0.0
esp32 all-clusters-app c3devkit (read only) 1001112 1001074 -38 -0.0
.flash.text 1001112 1001074 -38 -0.0
m5stack (read only) 1056139 1056095 -44 -0.0
.flash.text 1050755 1050711 -44 -0.0
k32w light k32w061+release (read/write) 681216 681200 -16 -0.0
.text 597080 597064 -16 -0.0
lock k32w061+release (read/write) 729316 729284 -32 -0.0
.text 644780 644748 -32 -0.0
linux all-clusters-app debug (read only) 2747161 2746889 -272 -0.0
.text 2333202 2332930 -272 -0.0
bridge-app debug+rpc (read only) 2022281 2022009 -272 -0.0
.text 1698146 1697874 -272 -0.0
chip-tool debug (read only) 9609981 9609709 -272 -0.0
.text 7738005 7737733 -272 -0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9349380 9349252 -128 -0.0
(read/write) 663057 663041 -16 -0.0
.data.rel.ro 600760 600736 -24 -0.0
.text 7378228 7378132 -96 -0.0
lighting-app debug+rpc (read only) 2314665 2314393 -272 -0.0
.text 1962258 1961986 -272 -0.0
lock-app debug (read only) 2239633 2239345 -288 -0.0
.text 1881186 1880898 -288 -0.0
ota-provider-app debug (read only) 2064873 2064585 -288 -0.0
.text 1726626 1726338 -288 -0.0
ota-requestor-app debug (read only) 2093825 2093553 -272 -0.0
.text 1758146 1757874 -272 -0.0
shell debug (read only) 2563337 2563065 -272 -0.0
.text 2181714 2181442 -272 -0.0
thermostat-no-ble arm64 (read only) 2360276 2360164 -112 -0.0
(read/write) 177441 177425 -16 -0.0
.data.rel.ro 79944 79920 -24 -0.0
.text 1983488 1983392 -96 -0.0
tv-app debug (read only) 2873497 2873225 -272 -0.0
.text 2469394 2469122 -272 -0.0
tv-casting-app debug (read only) 5438721 5438449 -272 -0.0
.text 4739122 4738850 -272 -0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2419216 2418376 -840 -0.0
.text 1381860 1381020 -840 -0.1
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1181875 1181859 -16 -0.0
text 810628 810608 -20 -0.0
p6 all-clusters-app default (read/write) 2537544 2537512 -32 -0.0
.text 1495808 1495776 -32 -0.0
light-app default (read/write) 2420856 2420824 -32 -0.0
.text 1379120 1379088 -32 -0.0
lock-app default (read/write) 2435136 2435104 -32 -0.0
.text 1393400 1393368 -32 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 780088 780064 -24 -0.0
text 551574 551550 -24 -0.0
lighting-app tlsr9518adk80d (read/write) 800104 800080 -24 -0.0
text 568308 568284 -24 -0.0
Full report (37 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section a3fdd05 ec99391 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 667479 667455 -24 -0.0
(read/write) 184368 184392 24 0.0
.bss 74828 74828 0 0.0
.data 3400 3400 0 0.0
.rodata 100103 100103 0 0.0
.text 567148 567124 -24 -0.0
lock-ftd LP_CC2652R7 (read only) 676511 676495 -16 -0.0
(read/write) 166328 166344 16 0.0
.bss 72876 72876 0 0.0
.data 3236 3236 0 0.0
.rodata 94551 94551 0 0.0
.text 581476 581460 -16 -0.0
lock-mtd LP_CC2652R7 (read only) 625919 625895 -24 -0.0
(read/write) 145708 145708 0 0.0
.bss 68612 68612 0 0.0
.data 3236 3236 0 0.0
.rodata 94431 94431 0 0.0
.text 530996 530972 -24 -0.0
pump-app LP_CC2652R7 (read only) 676307 676283 -24 -0.0
(read/write) 167956 167980 24 0.0
.bss 73276 73276 0 0.0
.data 3272 3272 0 0.0
.rodata 88715 88715 0 0.0
.text 587108 587084 -24 -0.0
pump-controller-app LP_CC2652R7 (read only) 654291 654267 -24 -0.0
(read/write) 189572 189596 24 0.0
.bss 73132 73132 0 0.0
.data 3232 3232 0 0.0
.rodata 83499 83499 0 0.0
.text 570312 570288 -24 -0.0
shell LP_CC2652R7 (read only) 660494 660470 -24 -0.0
(read/write) 186912 186936 24 0.0
.bss 77188 77188 0 0.0
.data 3404 3404 0 0.0
.rodata 97070 97070 0 0.0
.text 563200 563176 -24 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 622134 622118 -16 -0.0
.app_xip_area 525412 525396 -16 -0.0
.bss 79364 79364 0 0.0
.data 704 704 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 627450 627426 -24 -0.0
.app_xip_area 532200 532176 -24 -0.0
.bss 77924 77924 0 0.0
.data 672 672 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 571218 571202 -16 -0.0
.app_xip_area 466292 466276 -16 -0.0
.bss 87304 87304 0 0.0
.data 584 584 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 912284 912252 -32 -0.0
(read/write) 133436 133436 0 0.0
.bss 131384 131384 0 0.0
.data 2052 2052 0 0.0
.text 912276 912244 -32 -0.0
BRD4161A+rpc (read only) 946456 946424 -32 -0.0
(read/write) 150128 150128 0 0.0
.bss 147872 147872 0 0.0
.data 2256 2256 0 0.0
.text 946448 946416 -32 -0.0
BRD4161A+rs911x (read only) 786852 786820 -32 -0.0
(read/write) 129704 129704 0 0.0
.bss 127644 127644 0 0.0
.data 2060 2060 0 0.0
.text 786844 786812 -32 -0.0
lock-app BRD4161A+wf200 (read only) 947056 947040 -16 -0.0
(read/write) 124180 124180 0 0.0
.bss 122156 122156 0 0.0
.data 2024 2024 0 0.0
.text 947048 947032 -16 -0.0
window-app BRD4161A (read only) 897188 897156 -32 -0.0
(read/write) 133496 133496 0 0.0
.bss 131448 131448 0 0.0
.data 2048 2048 0 0.0
.text 897180 897148 -32 -0.0
esp32 all-clusters-app c3devkit (read only) 1001112 1001074 -38 -0.0
(read/write) 1479114 1479114 0 0.0
.dram0.bss 69392 69392 0 0.0
.dram0.data 14616 14616 0 0.0
.flash.rodata 209672 209672 0 0.0
.flash.text 1001112 1001074 -38 -0.0
.iram0.text 62954 62954 0 0.0
m5stack (read only) 1056139 1056095 -44 -0.0
(read/write) 481144 481144 0 0.0
.dram0.bss 74904 74904 0 0.0
.dram0.data 34200 34200 0 0.0
.flash.rodata 240044 240044 0 0.0
.flash.text 1050755 1050711 -44 -0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 681216 681200 -16 -0.0
.bss 80424 80424 0 0.0
.data 2008 2008 0 0.0
.text 597080 597064 -16 -0.0
lock k32w061+release (read/write) 729316 729284 -32 -0.0
.bss 80856 80856 0 0.0
.data 1976 1976 0 0.0
.text 644780 644748 -32 -0.0
linux all-clusters-app debug (read only) 2747161 2746889 -272 -0.0
(read/write) 178240 178240 0 0.0
.bss 86464 86464 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 83560 83560 0 0.0
.dynamic 608 608 0 0.0
.got 4496 4496 0 0.0
.init 27 27 0 0.0
.init_array 1016 1016 0 0.0
.rodata 240317 240317 0 0.0
.text 2333202 2332930 -272 -0.0
bridge-app debug+rpc (read only) 2022281 2022009 -272 -0.0
(read/write) 147928 147928 0 0.0
.bss 73152 73152 0 0.0
.data 3936 3936 0 0.0
.data.rel.ro 65272 65272 0 0.0
.dynamic 592 592 0 0.0
.got 4272 4272 0 0.0
.init 27 27 0 0.0
.init_array 688 688 0 0.0
.rodata 167977 167977 0 0.0
.text 1698146 1697874 -272 -0.0
chip-tool debug (read only) 9609981 9609709 -272 -0.0
(read/write) 596824 596824 0 0.0
.bss 23968 23968 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 565400 565400 0 0.0
.dynamic 624 624 0 0.0
.got 5008 5008 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 492797 492797 0 0.0
.text 7738005 7737733 -272 -0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9349380 9349252 -128 -0.0
(read/write) 663057 663041 -16 -0.0
.bss 42241 42241 0 0.0
.data 1192 1192 0 0.0
.data.rel.ro 600760 600736 -24 -0.0
.dynamic 560 560 0 0.0
.got 15024 15024 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 456652 456652 0 0.0
.text 7378228 7378132 -96 -0.0
lighting-app debug+rpc (read only) 2314665 2314393 -272 -0.0
(read/write) 153536 153536 0 0.0
.bss 74944 74944 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 70792 70792 0 0.0
.dynamic 608 608 0 0.0
.got 4344 4344 0 0.0
.init 27 27 0 0.0
.init_array 792 792 0 0.0
.rodata 187017 187017 0 0.0
.text 1962258 1961986 -272 -0.0
lock-app debug (read only) 2239633 2239345 -288 -0.0
(read/write) 148600 148600 0 0.0
.bss 73632 73632 0 0.0
.data 1568 1568 0 0.0
.data.rel.ro 67688 67688 0 0.0
.dynamic 592 592 0 0.0
.got 4336 4336 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 198489 198489 0 0.0
.text 1881186 1880898 -288 -0.0
ota-provider-app debug (read only) 2064873 2064585 -288 -0.0
(read/write) 141424 141424 0 0.0
.bss 73056 73056 0 0.0
.data 1768 1768 0 0.0
.data.rel.ro 60792 60792 0 0.0
.dynamic 608 608 0 0.0
.got 4504 4504 0 0.0
.init 27 27 0 0.0
.init_array 648 648 0 0.0
.rodata 179680 179680 0 0.0
.text 1726626 1726338 -288 -0.0
ota-requestor-app debug (read only) 2093825 2093553 -272 -0.0
(read/write) 144232 144232 0 0.0
.bss 73728 73728 0 0.0
.data 1992 1992 0 0.0
.data.rel.ro 62856 62856 0 0.0
.dynamic 592 592 0 0.0
.got 4344 4344 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 175648 175648 0 0.0
.text 1758146 1757874 -272 -0.0
shell debug (read only) 2563337 2563065 -272 -0.0
(read/write) 202328 202328 0 0.0
.bss 117416 117416 0 0.0
.data 1376 1376 0 0.0
.data.rel.ro 77776 77776 0 0.0
.dynamic 608 608 0 0.0
.got 4192 4192 0 0.0
.init 27 27 0 0.0
.init_array 936 936 0 0.0
.rodata 221362 221362 0 0.0
.text 2181714 2181442 -272 -0.0
thermostat-no-ble arm64 (read only) 2360276 2360164 -112 -0.0
(read/write) 177441 177425 -16 -0.0
.bss 88177 88177 0 0.0
.data 1520 1520 0 0.0
.data.rel.ro 79944 79920 -24 -0.0
.dynamic 560 560 0 0.0
.got 4768 4768 0 0.0
.init 24 24 0 0.0
.init_array 376 376 0 0.0
.rodata 147716 147716 0 0.0
.text 1983488 1983392 -96 -0.0
tv-app debug (read only) 2873497 2873225 -272 -0.0
(read/write) 280416 280416 0 0.0
.bss 191320 191320 0 0.0
.data 4672 4672 0 0.0
.data.rel.ro 78144 78144 0 0.0
.dynamic 592 592 0 0.0
.got 4728 4728 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 221617 221617 0 0.0
.text 2469394 2469122 -272 -0.0
tv-casting-app debug (read only) 5438721 5438449 -272 -0.0
(read/write) 226400 226400 0 0.0
.bss 78904 78904 0 0.0
.data 2400 2400 0 0.0
.data.rel.ro 138888 138888 0 0.0
.dynamic 608 608 0 0.0
.got 4728 4728 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 339841 339841 0 0.0
.text 4739122 4738850 -272 -0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2419216 2418376 -840 -0.0
.bss 202852 202852 0 0.0
.data 5872 5872 0 0.0
.text 1381860 1381020 -840 -0.1
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1181875 1181859 -16 -0.0
bss 139552 139552 0 0.0
rodata 152844 152844 0 0.0
text 810628 810608 -20 -0.0
p6 all-clusters-app default (read/write) 2537544 2537512 -32 -0.0
.bss 137352 137352 0 0.0
.data 2800 2800 0 0.0
.text 1495808 1495776 -32 -0.0
light-app default (read/write) 2420856 2420824 -32 -0.0
.bss 129688 129688 0 0.0
.data 2600 2600 0 0.0
.text 1379120 1379088 -32 -0.0
lock-app default (read/write) 2435136 2435104 -32 -0.0
.bss 129496 129496 0 0.0
.data 2568 2568 0 0.0
.text 1393400 1393368 -32 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 780088 780064 -24 -0.0
bss 70824 70824 0 0.0
noinit 40416 40416 0 0.0
text 551574 551550 -24 -0.0
lighting-app tlsr9518adk80d (read/write) 800104 800080 -24 -0.0
bss 71076 71076 0 0.0
noinit 40416 40416 0 0.0
text 568308 568284 -24 -0.0

@bzbarsky-apple bzbarsky-apple merged commit f18efd8 into project-chip:master May 25, 2022
@bzbarsky-apple bzbarsky-apple deleted the read-initial-request branch May 25, 2022 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants