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

Failsafe fixes #16973

Merged
merged 12 commits into from
Apr 5, 2022
Merged

Failsafe fixes #16973

merged 12 commits into from
Apr 5, 2022

Conversation

cecille
Copy link
Contributor

@cecille cecille commented Apr 3, 2022

Problem

Add changes proposed in https://github.com/CHIP-Specifications/connectedhomeip-spec/pull/5083

Change overview

  • arm failsafe on PASE session establishment completion
  • do not allow commissioning window to be opened if the failsafe is held
  • expire failsafe on commissioning window close
  • do not allow CASE sessions to arm the failsafe for the first time if the commissioning window is open

Testing

Please see new cirque tests. Tests for arming failsafe on PASE session establishment completion are more complicated because we have no direct access to the failsafe value. This can be tested by attempting to send a command that requires the failsafe to be armed. Network commands, unfortunately, do not yet check this. I have added such a check in https://github.com/cecille/connectedhomeip/tree/failsafe_fixes_with_tests along with the tests, but failsafe checking on network commands needs to be handled in another PR as it may affect platform devs.

@github-actions
Copy link

github-actions bot commented Apr 3, 2022

PR #16973: Size comparison from 6e49d41 to eca44cb

Increases (29 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 6e49d41 eca44cb change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 667715 668035 320 0.0
.rodata 79747 79891 144 0.2
.text 587488 587664 176 0.0
lock-mtd LP_CC2652R7 (read only) 616843 617163 320 0.1
.rodata 79627 79771 144 0.2
.text 536728 536904 176 0.0
pump-app LP_CC2652R7 (read only) 687175 687483 308 0.0
.rodata 81823 81963 140 0.2
.text 604868 605036 168 0.0
pump-controller-app LP_CC2652R7 (read only) 669399 669715 316 0.0
.rodata 78159 78299 140 0.2
.text 590756 590932 176 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 610098 610414 316 0.1
.app_xip_area 516840 517156 316 0.1
lock cyw930739m2evb_01 (read/write) 567602 567934 332 0.1
.app_xip_area 475880 476212 332 0.1
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 579214 579546 332 0.1
.app_xip_area 477852 478184 332 0.1
efr32 lighting-app BRD4161A (read only) 915192 915912 720 0.1
.text 915184 915904 720 0.1
BRD4161A+rpc (read only) 943072 943792 720 0.1
.text 943064 943784 720 0.1
window-app BRD4161A (read only) 850536 851256 720 0.1
.text 850528 851248 720 0.1
esp32 all-clusters-app c3devkit (read only) 985358 985576 218 0.0
(read/write) 1460626 1460770 144 0.0
.flash.rodata 198024 198168 144 0.1
.flash.text 985358 985576 218 0.0
m5stack (read only) 1037895 1038067 172 0.0
(read/write) 461640 461784 144 0.0
.flash.rodata 226992 227136 144 0.1
.flash.text 1032511 1032683 172 0.0
k32w light k32w061+release (read/write) 707528 707860 332 0.0
.text 621880 622212 332 0.1
lock k32w061+release (read/write) 706952 707272 320 0.0
.text 621280 621600 320 0.1
linux all-clusters-app debug (read only) 2575665 2576849 1184 0.0
.rodata 220709 220869 160 0.1
.text 2187394 2188418 1024 0.0
bridge-app debug+rpc (read only) 1786341 1787493 1152 0.1
.rodata 147217 147345 128 0.1
.text 1522949 1523973 1024 0.1
door-lock-app debug (read only) 2057057 2058241 1184 0.1
.rodata 185057 185217 160 0.1
.text 1718642 1719666 1024 0.1
lighting-app debug+rpc (read only) 2235241 2236393 1152 0.1
.rodata 179169 179297 128 0.1
.text 1893250 1894274 1024 0.1
ota-provider-app debug (read only) 1995025 1996097 1072 0.1
.rodata 170851 171011 160 0.1
.text 1669906 1670818 912 0.1
ota-requestor-app debug (read only) 2023857 2025009 1152 0.1
.rodata 167084 167212 128 0.1
.text 1700850 1701874 1024 0.1
shell debug (read only) 2472481 2473665 1184 0.0
.rodata 212498 212658 160 0.1
.text 2102050 2103074 1024 0.0
thermostat-no-ble arm64 (read only) 2309868 2311004 1136 0.0
.rodata 143052 143196 144 0.1
.text 1941536 1942528 992 0.1
tv-app debug (read only) 2739289 2740473 1184 0.0
.rodata 210731 210891 160 0.1
.text 2350594 2351618 1024 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2359004 2359372 368 0.0
.text 1321604 1321972 368 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1148347 1148667 320 0.0
rodata 143356 143500 144 0.1
text 787092 787276 184 0.0
p6 all-clusters-app default (read/write) 2503728 2504464 736 0.0
.text 1461992 1462728 736 0.1
light-app default (read/write) 2404904 2405624 720 0.0
.text 1363168 1363888 720 0.1
lock-app default (read/write) 2368536 2369256 720 0.0
.text 1326800 1327520 720 0.1
telink lighting-app tlsr9518adk80d (read/write) 791780 792132 352 0.0
text 561594 561806 212 0.0
Decreases (3 builds for cc13x2_26x2)
platform target config section 6e49d41 eca44cb change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read/write) 184012 183692 -320 -0.2
pump-app LP_CC2652R7 (read/write) 165712 165404 -308 -0.2
pump-controller-app LP_CC2652R7 (read/write) 183232 182916 -316 -0.2
Full report (31 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 6e49d41 eca44cb change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 667715 668035 320 0.0
(read/write) 184012 183692 -320 -0.2
.bss 81768 81768 0 0.0
.data 3132 3132 0 0.0
.rodata 79747 79891 144 0.2
.text 587488 587664 176 0.0
lock-mtd LP_CC2652R7 (read only) 616843 617163 320 0.1
(read/write) 154484 154484 0 0.0
.bss 77496 77496 0 0.0
.data 3132 3132 0 0.0
.rodata 79627 79771 144 0.2
.text 536728 536904 176 0.0
pump-app LP_CC2652R7 (read only) 687175 687483 308 0.0
(read/write) 165712 165404 -308 -0.2
.bss 82160 82160 0 0.0
.data 3164 3164 0 0.0
.rodata 81823 81963 140 0.2
.text 604868 605036 168 0.0
pump-controller-app LP_CC2652R7 (read only) 669399 669715 316 0.0
(read/write) 183232 182916 -316 -0.2
.bss 81904 81904 0 0.0
.data 3128 3128 0 0.0
.rodata 78159 78299 140 0.2
.text 590756 590932 176 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 610098 610414 316 0.1
.app_xip_area 516840 517156 316 0.1
.bss 76004 76004 0 0.0
.data 600 600 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 567602 567934 332 0.1
.app_xip_area 475880 476212 332 0.1
.bss 74508 74508 0 0.0
.data 564 564 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 579214 579546 332 0.1
.app_xip_area 477852 478184 332 0.1
.bss 83820 83820 0 0.0
.data 504 504 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 915192 915912 720 0.1
(read/write) 129760 129760 0 0.0
.bss 127800 127800 0 0.0
.data 1960 1960 0 0.0
.text 915184 915904 720 0.1
BRD4161A+rpc (read only) 943072 943792 720 0.1
(read/write) 145720 145720 0 0.0
.bss 143576 143576 0 0.0
.data 2140 2140 0 0.0
.text 943064 943784 720 0.1
window-app BRD4161A (read only) 850536 851256 720 0.1
(read/write) 127784 127784 0 0.0
.bss 125944 125944 0 0.0
.data 1840 1840 0 0.0
.text 850528 851248 720 0.1
esp32 all-clusters-app c3devkit (read only) 985358 985576 218 0.0
(read/write) 1460626 1460770 144 0.0
.dram0.bss 62952 62952 0 0.0
.dram0.data 14172 14172 0 0.0
.flash.rodata 198024 198168 144 0.1
.flash.text 985358 985576 218 0.0
.iram0.text 62572 62572 0 0.0
m5stack (read only) 1037895 1038067 172 0.0
(read/write) 461640 461784 144 0.0
.dram0.bss 68480 68480 0 0.0
.dram0.data 34024 34024 0 0.0
.flash.rodata 226992 227136 144 0.1
.flash.text 1032511 1032683 172 0.0
.iram0.text 123415 123415 0 0.0
k32w light k32w061+release (read/write) 707528 707860 332 0.0
.bss 77976 77976 0 0.0
.data 1872 1872 0 0.0
.text 621880 622212 332 0.1
lock k32w061+release (read/write) 706952 707272 320 0.0
.bss 77960 77960 0 0.0
.data 1912 1912 0 0.0
.text 621280 621600 320 0.1
linux all-clusters-app debug (read only) 2575665 2576849 1184 0.0
(read/write) 144488 144488 0 0.0
.bss 57600 57600 0 0.0
.data 1328 1328 0 0.0
.data.rel.ro 79672 79672 0 0.0
.dynamic 592 592 0 0.0
.got 4312 4312 0 0.0
.init 27 27 0 0.0
.init_array 960 960 0 0.0
.rodata 220709 220869 160 0.1
.text 2187394 2188418 1024 0.0
bridge-app debug+rpc (read only) 1786341 1787493 1152 0.1
(read/write) 90072 90072 0 0.0
.bss 44584 44584 0 0.0
.data 2000 2000 0 0.0
.data.rel.ro 38384 38384 0 0.0
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 552 552 0 0.0
.rodata 147217 147345 128 0.1
.text 1522949 1523973 1024 0.1
chip-tool debug (read only) 10433101 10433101 0 0.0
(read/write) 358584 358584 0 0.0
.bss 22016 22016 0 0.0
.data 1072 1072 0 0.0
.data.rel.ro 329272 329272 0 0.0
.dynamic 624 624 0 0.0
.got 4896 4896 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 532141 532141 0 0.0
.text 9108485 9108485 0 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 10033756 10033756 0 0.0
(read/write) 478177 478177 0 0.0
.bss 40337 40337 0 0.0
.data 1136 1136 0 0.0
.data.rel.ro 376144 376144 0 0.0
.dynamic 560 560 0 0.0
.got 56768 56768 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 506572 506572 0 0.0
.text 8462660 8462660 0 0.0
door-lock-app debug (read only) 2057057 2058241 1184 0.1
(read/write) 117968 117968 0 0.0
.bss 47840 47840 0 0.0
.data 1072 1072 0 0.0
.data.rel.ro 63480 63480 0 0.0
.dynamic 592 592 0 0.0
.got 4256 4256 0 0.0
.init 27 27 0 0.0
.init_array 680 680 0 0.0
.rodata 185057 185217 160 0.1
.text 1718642 1719666 1024 0.1
lighting-app debug+rpc (read only) 2235241 2236393 1152 0.1
(read/write) 124928 124928 0 0.0
.bss 49152 49152 0 0.0
.data 1520 1520 0 0.0
.data.rel.ro 68552 68552 0 0.0
.dynamic 608 608 0 0.0
.got 4304 4304 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 179169 179297 128 0.1
.text 1893250 1894274 1024 0.1
ota-provider-app debug (read only) 1995025 1996097 1072 0.1
(read/write) 113536 113536 0 0.0
.bss 47680 47680 0 0.0
.data 1320 1320 0 0.0
.data.rel.ro 58792 58792 0 0.0
.dynamic 608 608 0 0.0
.got 4456 4456 0 0.0
.init 27 27 0 0.0
.init_array 632 632 0 0.0
.rodata 170851 171011 160 0.1
.text 1669906 1670818 912 0.1
ota-requestor-app debug (read only) 2023857 2025009 1152 0.1
(read/write) 116760 116760 0 0.0
.bss 48672 48672 0 0.0
.data 1512 1512 0 0.0
.data.rel.ro 61000 61000 0 0.0
.dynamic 592 592 0 0.0
.got 4296 4296 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 167084 167212 128 0.1
.text 1700850 1701874 1024 0.1
shell debug (read only) 2472481 2473665 1184 0.0
(read/write) 147952 147952 0 0.0
.bss 67304 67304 0 0.0
.data 784 784 0 0.0
.data.rel.ro 74136 74136 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 212498 212658 160 0.1
.text 2102050 2103074 1024 0.0
thermostat-no-ble arm64 (read only) 2309868 2311004 1136 0.0
(read/write) 149185 149185 0 0.0
.bss 62961 62961 0 0.0
.data 1080 1080 0 0.0
.data.rel.ro 77552 77552 0 0.0
.dynamic 560 560 0 0.0
.got 4576 4576 0 0.0
.init 24 24 0 0.0
.init_array 368 368 0 0.0
.rodata 143052 143196 144 0.1
.text 1941536 1942528 992 0.1
tv-app debug (read only) 2739289 2740473 1184 0.0
(read/write) 249472 249472 0 0.0
.bss 165264 165264 0 0.0
.data 3328 3328 0 0.0
.data.rel.ro 74712 74712 0 0.0
.dynamic 592 592 0 0.0
.got 4656 4656 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 210731 210891 160 0.1
.text 2350594 2351618 1024 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2359004 2359372 368 0.0
.bss 185052 185052 0 0.0
.data 5760 5760 0 0.0
.text 1321604 1321972 368 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1148347 1148667 320 0.0
bss 143076 143076 0 0.0
rodata 143356 143500 144 0.1
text 787092 787276 184 0.0
p6 all-clusters-app default (read/write) 2503728 2504464 736 0.0
.bss 118488 118488 0 0.0
.data 2640 2640 0 0.0
.text 1461992 1462728 736 0.1
light-app default (read/write) 2404904 2405624 720 0.0
.bss 111944 111944 0 0.0
.data 2496 2496 0 0.0
.text 1363168 1363888 720 0.1
lock-app default (read/write) 2368536 2369256 720 0.0
.bss 111688 111688 0 0.0
.data 2456 2456 0 0.0
.text 1326800 1327520 720 0.1
telink lighting-app tlsr9518adk80d (read/write) 791780 792132 352 0.0
bss 70296 70296 0 0.0
noinit 40416 40416 0 0.0
text 561594 561806 212 0.0

@github-actions
Copy link

github-actions bot commented Apr 3, 2022

PR #16973: Size comparison from 6e49d41 to c037a5a

Increases (29 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 6e49d41 c037a5a change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 667715 668035 320 0.0
.rodata 79747 79891 144 0.2
.text 587488 587664 176 0.0
lock-mtd LP_CC2652R7 (read only) 616843 617163 320 0.1
.rodata 79627 79771 144 0.2
.text 536728 536904 176 0.0
pump-app LP_CC2652R7 (read only) 687175 687483 308 0.0
.rodata 81823 81963 140 0.2
.text 604868 605036 168 0.0
pump-controller-app LP_CC2652R7 (read only) 669399 669715 316 0.0
.rodata 78159 78299 140 0.2
.text 590756 590932 176 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 610098 610414 316 0.1
.app_xip_area 516840 517156 316 0.1
lock cyw930739m2evb_01 (read/write) 567602 567934 332 0.1
.app_xip_area 475880 476212 332 0.1
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 579214 579546 332 0.1
.app_xip_area 477852 478184 332 0.1
efr32 lighting-app BRD4161A (read only) 915192 915912 720 0.1
.text 915184 915904 720 0.1
BRD4161A+rpc (read only) 943072 943792 720 0.1
.text 943064 943784 720 0.1
window-app BRD4161A (read only) 850536 851256 720 0.1
.text 850528 851248 720 0.1
esp32 all-clusters-app c3devkit (read only) 985358 985576 218 0.0
(read/write) 1460626 1460770 144 0.0
.flash.rodata 198024 198168 144 0.1
.flash.text 985358 985576 218 0.0
m5stack (read only) 1037895 1038067 172 0.0
(read/write) 461640 461784 144 0.0
.flash.rodata 226992 227136 144 0.1
.flash.text 1032511 1032683 172 0.0
k32w light k32w061+release (read/write) 707528 707860 332 0.0
.text 621880 622212 332 0.1
lock k32w061+release (read/write) 706952 707272 320 0.0
.text 621280 621600 320 0.1
linux all-clusters-app debug (read only) 2575665 2576849 1184 0.0
.rodata 220709 220869 160 0.1
.text 2187394 2188418 1024 0.0
bridge-app debug+rpc (read only) 1786341 1787493 1152 0.1
.rodata 147217 147345 128 0.1
.text 1522949 1523973 1024 0.1
door-lock-app debug (read only) 2057057 2058241 1184 0.1
.rodata 185057 185217 160 0.1
.text 1718642 1719666 1024 0.1
lighting-app debug+rpc (read only) 2235241 2236393 1152 0.1
.rodata 179169 179297 128 0.1
.text 1893250 1894274 1024 0.1
ota-provider-app debug (read only) 1995025 1996097 1072 0.1
.rodata 170851 171011 160 0.1
.text 1669906 1670818 912 0.1
ota-requestor-app debug (read only) 2023857 2025009 1152 0.1
.rodata 167084 167212 128 0.1
.text 1700850 1701874 1024 0.1
shell debug (read only) 2472481 2473665 1184 0.0
.rodata 212498 212658 160 0.1
.text 2102050 2103074 1024 0.0
thermostat-no-ble arm64 (read only) 2309868 2311004 1136 0.0
.rodata 143052 143196 144 0.1
.text 1941536 1942528 992 0.1
tv-app debug (read only) 2739289 2740473 1184 0.0
.rodata 210731 210891 160 0.1
.text 2350594 2351618 1024 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2359004 2359372 368 0.0
.text 1321604 1321972 368 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1148347 1148667 320 0.0
rodata 143356 143500 144 0.1
text 787092 787276 184 0.0
p6 all-clusters-app default (read/write) 2503728 2504464 736 0.0
.text 1461992 1462728 736 0.1
light-app default (read/write) 2404904 2405624 720 0.0
.text 1363168 1363888 720 0.1
lock-app default (read/write) 2368536 2369256 720 0.0
.text 1326800 1327520 720 0.1
telink lighting-app tlsr9518adk80d (read/write) 791780 792132 352 0.0
text 561594 561806 212 0.0
Decreases (3 builds for cc13x2_26x2)
platform target config section 6e49d41 c037a5a change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read/write) 184012 183692 -320 -0.2
pump-app LP_CC2652R7 (read/write) 165712 165404 -308 -0.2
pump-controller-app LP_CC2652R7 (read/write) 183232 182916 -316 -0.2
Full report (31 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 6e49d41 c037a5a change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 667715 668035 320 0.0
(read/write) 184012 183692 -320 -0.2
.bss 81768 81768 0 0.0
.data 3132 3132 0 0.0
.rodata 79747 79891 144 0.2
.text 587488 587664 176 0.0
lock-mtd LP_CC2652R7 (read only) 616843 617163 320 0.1
(read/write) 154484 154484 0 0.0
.bss 77496 77496 0 0.0
.data 3132 3132 0 0.0
.rodata 79627 79771 144 0.2
.text 536728 536904 176 0.0
pump-app LP_CC2652R7 (read only) 687175 687483 308 0.0
(read/write) 165712 165404 -308 -0.2
.bss 82160 82160 0 0.0
.data 3164 3164 0 0.0
.rodata 81823 81963 140 0.2
.text 604868 605036 168 0.0
pump-controller-app LP_CC2652R7 (read only) 669399 669715 316 0.0
(read/write) 183232 182916 -316 -0.2
.bss 81904 81904 0 0.0
.data 3128 3128 0 0.0
.rodata 78159 78299 140 0.2
.text 590756 590932 176 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 610098 610414 316 0.1
.app_xip_area 516840 517156 316 0.1
.bss 76004 76004 0 0.0
.data 600 600 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 567602 567934 332 0.1
.app_xip_area 475880 476212 332 0.1
.bss 74508 74508 0 0.0
.data 564 564 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 579214 579546 332 0.1
.app_xip_area 477852 478184 332 0.1
.bss 83820 83820 0 0.0
.data 504 504 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 915192 915912 720 0.1
(read/write) 129760 129760 0 0.0
.bss 127800 127800 0 0.0
.data 1960 1960 0 0.0
.text 915184 915904 720 0.1
BRD4161A+rpc (read only) 943072 943792 720 0.1
(read/write) 145720 145720 0 0.0
.bss 143576 143576 0 0.0
.data 2140 2140 0 0.0
.text 943064 943784 720 0.1
window-app BRD4161A (read only) 850536 851256 720 0.1
(read/write) 127784 127784 0 0.0
.bss 125944 125944 0 0.0
.data 1840 1840 0 0.0
.text 850528 851248 720 0.1
esp32 all-clusters-app c3devkit (read only) 985358 985576 218 0.0
(read/write) 1460626 1460770 144 0.0
.dram0.bss 62952 62952 0 0.0
.dram0.data 14172 14172 0 0.0
.flash.rodata 198024 198168 144 0.1
.flash.text 985358 985576 218 0.0
.iram0.text 62572 62572 0 0.0
m5stack (read only) 1037895 1038067 172 0.0
(read/write) 461640 461784 144 0.0
.dram0.bss 68480 68480 0 0.0
.dram0.data 34024 34024 0 0.0
.flash.rodata 226992 227136 144 0.1
.flash.text 1032511 1032683 172 0.0
.iram0.text 123415 123415 0 0.0
k32w light k32w061+release (read/write) 707528 707860 332 0.0
.bss 77976 77976 0 0.0
.data 1872 1872 0 0.0
.text 621880 622212 332 0.1
lock k32w061+release (read/write) 706952 707272 320 0.0
.bss 77960 77960 0 0.0
.data 1912 1912 0 0.0
.text 621280 621600 320 0.1
linux all-clusters-app debug (read only) 2575665 2576849 1184 0.0
(read/write) 144488 144488 0 0.0
.bss 57600 57600 0 0.0
.data 1328 1328 0 0.0
.data.rel.ro 79672 79672 0 0.0
.dynamic 592 592 0 0.0
.got 4312 4312 0 0.0
.init 27 27 0 0.0
.init_array 960 960 0 0.0
.rodata 220709 220869 160 0.1
.text 2187394 2188418 1024 0.0
bridge-app debug+rpc (read only) 1786341 1787493 1152 0.1
(read/write) 90072 90072 0 0.0
.bss 44584 44584 0 0.0
.data 2000 2000 0 0.0
.data.rel.ro 38384 38384 0 0.0
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 552 552 0 0.0
.rodata 147217 147345 128 0.1
.text 1522949 1523973 1024 0.1
chip-tool debug (read only) 10433101 10433101 0 0.0
(read/write) 358584 358584 0 0.0
.bss 22016 22016 0 0.0
.data 1072 1072 0 0.0
.data.rel.ro 329272 329272 0 0.0
.dynamic 624 624 0 0.0
.got 4896 4896 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 532141 532141 0 0.0
.text 9108485 9108485 0 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 10033756 10033756 0 0.0
(read/write) 478177 478177 0 0.0
.bss 40337 40337 0 0.0
.data 1136 1136 0 0.0
.data.rel.ro 376144 376144 0 0.0
.dynamic 560 560 0 0.0
.got 56768 56768 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 506572 506572 0 0.0
.text 8462660 8462660 0 0.0
door-lock-app debug (read only) 2057057 2058241 1184 0.1
(read/write) 117968 117968 0 0.0
.bss 47840 47840 0 0.0
.data 1072 1072 0 0.0
.data.rel.ro 63480 63480 0 0.0
.dynamic 592 592 0 0.0
.got 4256 4256 0 0.0
.init 27 27 0 0.0
.init_array 680 680 0 0.0
.rodata 185057 185217 160 0.1
.text 1718642 1719666 1024 0.1
lighting-app debug+rpc (read only) 2235241 2236393 1152 0.1
(read/write) 124928 124928 0 0.0
.bss 49152 49152 0 0.0
.data 1520 1520 0 0.0
.data.rel.ro 68552 68552 0 0.0
.dynamic 608 608 0 0.0
.got 4304 4304 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 179169 179297 128 0.1
.text 1893250 1894274 1024 0.1
ota-provider-app debug (read only) 1995025 1996097 1072 0.1
(read/write) 113536 113536 0 0.0
.bss 47680 47680 0 0.0
.data 1320 1320 0 0.0
.data.rel.ro 58792 58792 0 0.0
.dynamic 608 608 0 0.0
.got 4456 4456 0 0.0
.init 27 27 0 0.0
.init_array 632 632 0 0.0
.rodata 170851 171011 160 0.1
.text 1669906 1670818 912 0.1
ota-requestor-app debug (read only) 2023857 2025009 1152 0.1
(read/write) 116760 116760 0 0.0
.bss 48672 48672 0 0.0
.data 1512 1512 0 0.0
.data.rel.ro 61000 61000 0 0.0
.dynamic 592 592 0 0.0
.got 4296 4296 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 167084 167212 128 0.1
.text 1700850 1701874 1024 0.1
shell debug (read only) 2472481 2473665 1184 0.0
(read/write) 147952 147952 0 0.0
.bss 67304 67304 0 0.0
.data 784 784 0 0.0
.data.rel.ro 74136 74136 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 212498 212658 160 0.1
.text 2102050 2103074 1024 0.0
thermostat-no-ble arm64 (read only) 2309868 2311004 1136 0.0
(read/write) 149185 149185 0 0.0
.bss 62961 62961 0 0.0
.data 1080 1080 0 0.0
.data.rel.ro 77552 77552 0 0.0
.dynamic 560 560 0 0.0
.got 4576 4576 0 0.0
.init 24 24 0 0.0
.init_array 368 368 0 0.0
.rodata 143052 143196 144 0.1
.text 1941536 1942528 992 0.1
tv-app debug (read only) 2739289 2740473 1184 0.0
(read/write) 249472 249472 0 0.0
.bss 165264 165264 0 0.0
.data 3328 3328 0 0.0
.data.rel.ro 74712 74712 0 0.0
.dynamic 592 592 0 0.0
.got 4656 4656 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 210731 210891 160 0.1
.text 2350594 2351618 1024 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2359004 2359372 368 0.0
.bss 185052 185052 0 0.0
.data 5760 5760 0 0.0
.text 1321604 1321972 368 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1148347 1148667 320 0.0
bss 143076 143076 0 0.0
rodata 143356 143500 144 0.1
text 787092 787276 184 0.0
p6 all-clusters-app default (read/write) 2503728 2504464 736 0.0
.bss 118488 118488 0 0.0
.data 2640 2640 0 0.0
.text 1461992 1462728 736 0.1
light-app default (read/write) 2404904 2405624 720 0.0
.bss 111944 111944 0 0.0
.data 2496 2496 0 0.0
.text 1363168 1363888 720 0.1
lock-app default (read/write) 2368536 2369256 720 0.0
.bss 111688 111688 0 0.0
.data 2456 2456 0 0.0
.text 1326800 1327520 720 0.1
telink lighting-app tlsr9518adk80d (read/write) 791780 792132 352 0.0
bss 70296 70296 0 0.0
noinit 40416 40416 0 0.0
text 561594 561806 212 0.0

@github-actions
Copy link

github-actions bot commented Apr 4, 2022

PR #16973: Size comparison from c3b1810 to 1955b29

Increases (29 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section c3b1810 1955b29 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 668387 668763 376 0.1
.rodata 79715 79899 184 0.2
.text 588192 588384 192 0.0
lock-mtd LP_CC2652R7 (read only) 617507 617883 376 0.1
.rodata 79595 79779 184 0.2
.text 537424 537616 192 0.0
pump-app LP_CC2652R7 (read only) 687847 688219 372 0.1
.rodata 81791 81971 180 0.2
.text 605572 605764 192 0.0
pump-controller-app LP_CC2652R7 (read only) 670079 670451 372 0.1
.rodata 78127 78307 180 0.2
.text 591468 591660 192 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 610982 611338 356 0.1
.app_xip_area 517692 518048 356 0.1
lock cyw930739m2evb_01 (read/write) 568498 568862 364 0.1
.app_xip_area 476752 477116 364 0.1
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 580158 580530 372 0.1
.app_xip_area 478768 479140 372 0.1
efr32 lighting-app BRD4161A (read only) 916292 917004 712 0.1
.text 916284 916996 712 0.1
BRD4161A+rpc (read only) 944196 944908 712 0.1
.text 944188 944900 712 0.1
window-app BRD4161A (read only) 851604 852228 624 0.1
.text 851596 852220 624 0.1
esp32 all-clusters-app c3devkit (read only) 986054 986272 218 0.0
(read/write) 1460602 1460778 176 0.0
.flash.rodata 197984 198160 176 0.1
.flash.text 986054 986272 218 0.0
m5stack (read only) 1038519 1038679 160 0.0
(read/write) 461632 461800 168 0.0
.flash.rodata 226960 227128 168 0.1
.flash.text 1033135 1033295 160 0.0
k32w light k32w061+release (read/write) 708236 708608 372 0.1
.text 622580 622952 372 0.1
lock k32w061+release (read/write) 707660 708028 368 0.1
.text 621964 622332 368 0.1
linux all-clusters-app debug (read only) 2580137 2581353 1216 0.0
.rodata 221061 221285 224 0.1
.text 2191250 2192242 992 0.0
bridge-app debug+rpc (read only) 1790421 1791365 944 0.1
.rodata 147385 147545 160 0.1
.text 1526597 1527381 784 0.1
door-lock-app debug (read only) 2061425 2062353 928 0.0
.rodata 185417 185577 160 0.1
.text 1722386 1723154 768 0.0
lighting-app debug+rpc (read only) 2239705 2240857 1152 0.1
.rodata 179497 179657 160 0.1
.text 1897122 1898114 992 0.1
ota-provider-app debug (read only) 1999449 2000249 800 0.0
.rodata 171299 171427 128 0.1
.text 1673618 1674290 672 0.0
ota-requestor-app debug (read only) 2028481 2029649 1168 0.1
.rodata 167724 167916 192 0.1
.text 1704546 1705522 976 0.1
shell debug (read only) 2477129 2478297 1168 0.0
.rodata 212754 212946 192 0.1
.text 2106034 2107010 976 0.0
thermostat-no-ble arm64 (read only) 2314172 2315004 832 0.0
.rodata 143132 143276 144 0.1
.text 1945440 1946128 688 0.0
tv-app debug (read only) 2749033 2749945 912 0.0
.rodata 211371 211499 128 0.1
.text 2359026 2359810 784 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2360548 2361012 464 0.0
.text 1323148 1323612 464 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1149103 1149475 372 0.0
rodata 143320 143500 180 0.1
text 787844 788036 192 0.0
p6 all-clusters-app default (read/write) 2504664 2505352 688 0.0
.text 1462928 1463616 688 0.0
light-app default (read/write) 2405840 2406544 704 0.0
.text 1364104 1364808 704 0.1
lock-app default (read/write) 2369496 2370200 704 0.0
.text 1327760 1328464 704 0.1
telink lighting-app tlsr9518adk80d (read/write) 792504 792888 384 0.0
text 562332 562540 208 0.0
Decreases (3 builds for cc13x2_26x2)
platform target config section c3b1810 1955b29 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read/write) 183324 182948 -376 -0.2
pump-app LP_CC2652R7 (read/write) 165032 164660 -372 -0.2
pump-controller-app LP_CC2652R7 (read/write) 182536 182164 -372 -0.2
Full report (31 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section c3b1810 1955b29 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 668387 668763 376 0.1
(read/write) 183324 182948 -376 -0.2
.bss 81752 81752 0 0.0
.data 3164 3164 0 0.0
.rodata 79715 79899 184 0.2
.text 588192 588384 192 0.0
lock-mtd LP_CC2652R7 (read only) 617507 617883 376 0.1
(read/write) 154500 154500 0 0.0
.bss 77480 77480 0 0.0
.data 3164 3164 0 0.0
.rodata 79595 79779 184 0.2
.text 537424 537616 192 0.0
pump-app LP_CC2652R7 (read only) 687847 688219 372 0.1
(read/write) 165032 164660 -372 -0.2
.bss 82152 82152 0 0.0
.data 3196 3196 0 0.0
.rodata 81791 81971 180 0.2
.text 605572 605764 192 0.0
pump-controller-app LP_CC2652R7 (read only) 670079 670451 372 0.1
(read/write) 182536 182164 -372 -0.2
.bss 81888 81888 0 0.0
.data 3160 3160 0 0.0
.rodata 78127 78307 180 0.2
.text 591468 591660 192 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 610982 611338 356 0.1
.app_xip_area 517692 518048 356 0.1
.bss 76004 76004 0 0.0
.data 632 632 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 568498 568862 364 0.1
.app_xip_area 476752 477116 364 0.1
.bss 74500 74500 0 0.0
.data 596 596 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 580158 580530 372 0.1
.app_xip_area 478768 479140 372 0.1
.bss 83816 83816 0 0.0
.data 536 536 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 916292 917004 712 0.1
(read/write) 129784 129784 0 0.0
.bss 127792 127792 0 0.0
.data 1992 1992 0 0.0
.text 916284 916996 712 0.1
BRD4161A+rpc (read only) 944196 944908 712 0.1
(read/write) 145732 145732 0 0.0
.bss 143560 143560 0 0.0
.data 2172 2172 0 0.0
.text 944188 944900 712 0.1
window-app BRD4161A (read only) 851604 852228 624 0.1
(read/write) 127808 127808 0 0.0
.bss 125936 125936 0 0.0
.data 1872 1872 0 0.0
.text 851596 852220 624 0.1
esp32 all-clusters-app c3devkit (read only) 986054 986272 218 0.0
(read/write) 1460602 1460778 176 0.0
.dram0.bss 62944 62944 0 0.0
.dram0.data 14196 14196 0 0.0
.flash.rodata 197984 198160 176 0.1
.flash.text 986054 986272 218 0.0
.iram0.text 62572 62572 0 0.0
m5stack (read only) 1038519 1038679 160 0.0
(read/write) 461632 461800 168 0.0
.dram0.bss 68472 68472 0 0.0
.dram0.data 34056 34056 0 0.0
.flash.rodata 226960 227128 168 0.1
.flash.text 1033135 1033295 160 0.0
.iram0.text 123415 123415 0 0.0
k32w light k32w061+release (read/write) 708236 708608 372 0.1
.bss 77952 77952 0 0.0
.data 1904 1904 0 0.0
.text 622580 622952 372 0.1
lock k32w061+release (read/write) 707660 708028 368 0.1
.bss 77952 77952 0 0.0
.data 1944 1944 0 0.0
.text 621964 622332 368 0.1
linux all-clusters-app debug (read only) 2580137 2581353 1216 0.0
(read/write) 144744 144744 0 0.0
.bss 57632 57632 0 0.0
.data 1440 1440 0 0.0
.data.rel.ro 79784 79784 0 0.0
.dynamic 592 592 0 0.0
.got 4312 4312 0 0.0
.init 27 27 0 0.0
.init_array 960 960 0 0.0
.rodata 221061 221285 224 0.1
.text 2191250 2192242 992 0.0
bridge-app debug+rpc (read only) 1790421 1791365 944 0.1
(read/write) 90200 90200 0 0.0
.bss 44552 44552 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 38520 38520 0 0.0
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 552 552 0 0.0
.rodata 147385 147545 160 0.1
.text 1526597 1527381 784 0.1
chip-tool debug (read only) 10468101 10468101 0 0.0
(read/write) 367128 367128 0 0.0
.bss 22016 22016 0 0.0
.data 1040 1040 0 0.0
.data.rel.ro 337848 337848 0 0.0
.dynamic 624 624 0 0.0
.got 4920 4920 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 532653 532653 0 0.0
.text 9117109 9117109 0 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 10068772 10068772 0 0.0
(read/write) 486769 486769 0 0.0
.bss 40337 40337 0 0.0
.data 1128 1128 0 0.0
.data.rel.ro 384712 384712 0 0.0
.dynamic 560 560 0 0.0
.got 56800 56800 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 506756 506756 0 0.0
.text 8471796 8471796 0 0.0
door-lock-app debug (read only) 2061425 2062353 928 0.0
(read/write) 118160 118160 0 0.0
.bss 47872 47872 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 63592 63592 0 0.0
.dynamic 592 592 0 0.0
.got 4256 4256 0 0.0
.init 27 27 0 0.0
.init_array 680 680 0 0.0
.rodata 185417 185577 160 0.1
.text 1722386 1723154 768 0.0
lighting-app debug+rpc (read only) 2239705 2240857 1152 0.1
(read/write) 125152 125152 0 0.0
.bss 49184 49184 0 0.0
.data 1600 1600 0 0.0
.data.rel.ro 68680 68680 0 0.0
.dynamic 608 608 0 0.0
.got 4304 4304 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 179497 179657 160 0.1
.text 1897122 1898114 992 0.1
ota-provider-app debug (read only) 1999449 2000249 800 0.0
(read/write) 113760 113760 0 0.0
.bss 47712 47712 0 0.0
.data 1384 1384 0 0.0
.data.rel.ro 58936 58936 0 0.0
.dynamic 608 608 0 0.0
.got 4456 4456 0 0.0
.init 27 27 0 0.0
.init_array 632 632 0 0.0
.rodata 171299 171427 128 0.1
.text 1673618 1674290 672 0.0
ota-requestor-app debug (read only) 2028481 2029649 1168 0.1
(read/write) 117016 117016 0 0.0
.bss 48704 48704 0 0.0
.data 1608 1608 0 0.0
.data.rel.ro 61128 61128 0 0.0
.dynamic 592 592 0 0.0
.got 4296 4296 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 167724 167916 192 0.1
.text 1704546 1705522 976 0.1
shell debug (read only) 2477129 2478297 1168 0.0
(read/write) 148208 148208 0 0.0
.bss 67304 67304 0 0.0
.data 848 848 0 0.0
.data.rel.ro 74328 74328 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 212754 212946 192 0.1
.text 2106034 2107010 976 0.0
thermostat-no-ble arm64 (read only) 2314172 2315004 832 0.0
(read/write) 149361 149361 0 0.0
.bss 62945 62945 0 0.0
.data 1136 1136 0 0.0
.data.rel.ro 77640 77640 0 0.0
.dynamic 560 560 0 0.0
.got 4624 4624 0 0.0
.init 24 24 0 0.0
.init_array 368 368 0 0.0
.rodata 143132 143276 144 0.1
.text 1945440 1946128 688 0.0
tv-app debug (read only) 2749033 2749945 912 0.0
(read/write) 249856 249856 0 0.0
.bss 165328 165328 0 0.0
.data 3392 3392 0 0.0
.data.rel.ro 74944 74944 0 0.0
.dynamic 592 592 0 0.0
.got 4672 4672 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 211371 211499 128 0.1
.text 2359026 2359810 784 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2360548 2361012 464 0.0
.bss 185036 185036 0 0.0
.data 5784 5784 0 0.0
.text 1323148 1323612 464 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1149103 1149475 372 0.0
bss 143060 143060 0 0.0
rodata 143320 143500 180 0.1
text 787844 788036 192 0.0
p6 all-clusters-app default (read/write) 2504664 2505352 688 0.0
.bss 118472 118472 0 0.0
.data 2672 2672 0 0.0
.text 1462928 1463616 688 0.0
light-app default (read/write) 2405840 2406544 704 0.0
.bss 111928 111928 0 0.0
.data 2528 2528 0 0.0
.text 1364104 1364808 704 0.1
lock-app default (read/write) 2369496 2370200 704 0.0
.bss 111672 111672 0 0.0
.data 2488 2488 0 0.0
.text 1327760 1328464 704 0.1
telink lighting-app tlsr9518adk80d (read/write) 792504 792888 384 0.0
bss 70288 70288 0 0.0
noinit 40416 40416 0 0.0
text 562332 562540 208 0.0

@cecille cecille merged commit 03cac1b into project-chip:master Apr 5, 2022
chencheung pushed a commit to chencheung/connectedhomeip that referenced this pull request Apr 6, 2022
* Failsafe checks

Do not allow CASE connections to arm the failsafe the first time
if there is a commissioning window open.

* Disarm failsafe immediately if we get 0 timeout.

* Do not allow commissioning window to be opened if failsafe is held

* Force expire failsafe on Commissioning window close

* Run test in cirque

* Arm failsafe on PASE session establishment complete

* Failsafe fixes from other PR

* Restyled by autopep8

* Remove newly removed argument

* manually cancel timer.

* Fixes from review.

Co-authored-by: Restyled.io <[email protected]>
chencheung pushed a commit to chencheung/connectedhomeip that referenced this pull request Apr 6, 2022
* Failsafe checks

Do not allow CASE connections to arm the failsafe the first time
if there is a commissioning window open.

* Disarm failsafe immediately if we get 0 timeout.

* Do not allow commissioning window to be opened if failsafe is held

* Force expire failsafe on Commissioning window close

* Run test in cirque

* Arm failsafe on PASE session establishment complete

* Failsafe fixes from other PR

* Restyled by autopep8

* Remove newly removed argument

* manually cancel timer.

* Fixes from review.

Co-authored-by: Restyled.io <[email protected]>
andrei-menzopol pushed a commit to andrei-menzopol/connectedhomeip that referenced this pull request Apr 14, 2022
* Failsafe checks

Do not allow CASE connections to arm the failsafe the first time
if there is a commissioning window open.

* Disarm failsafe immediately if we get 0 timeout.

* Do not allow commissioning window to be opened if failsafe is held

* Force expire failsafe on Commissioning window close

* Run test in cirque

* Arm failsafe on PASE session establishment complete

* Failsafe fixes from other PR

* Restyled by autopep8

* Remove newly removed argument

* manually cancel timer.

* Fixes from review.

Co-authored-by: Restyled.io <[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.

4 participants