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

Remove all dead config options from SDK #17119

Merged

Conversation

tcarmelveilleux
Copy link
Contributor

Problem

2 years ago, when OpenWeave was imported as a baseline, its config.h system was included verbatim. Since then, 90%+ of the code has been rewritten at the message layer. Many of the config constants are orphaned and confusing. This is made worse by the fact that "weave" was globally replaced with "chip" at the time to smooth things over, which lost some of the pedigree.

Change overview

  • All CHIP_CONFIG_* that came from OpenWeave and had no current usage
    outside CHIPProjectConfig.h or were always disabled in common code for

    1 year and have obviously no use anymore, were removed.

Fixes #17118

Testing

  • Unit tests still pass
  • Integration/cert tests still pass
  • Did not change any values for anyone

- All `CHIP_CONFIG_*` that came from OpenWeave and had no current usage
  outside CHIPProjectConfig.h or were always disabled in common code for
  > 1 year and have obviously no use anymore, were removed.

Fixes project-chip#17118
src/lib/core/CHIPConfig.h Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Apr 6, 2022

PR #17119: Size comparison from cd29bba to d37f3e3

Increases (4 builds for cc13x2_26x2, esp32)
platform target config section cd29bba d37f3e3 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read/write) 177204 177228 24 0.0
pump-app LP_CC2652R7 (read/write) 161064 161080 16 0.0
pump-controller-app LP_CC2652R7 (read/write) 176436 176460 24 0.0
esp32 all-clusters-app m5stack (read only) 1043503 1043507 4 0.0
.flash.text 1038119 1038123 4 0.0
Decreases (17 builds for cc13x2_26x2, esp32, k32w, nrfconnect, telink)
platform target config section cd29bba d37f3e3 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 674307 674283 -24 -0.0
.text 593248 593224 -24 -0.0
lock-mtd LP_CC2652R7 (read only) 623443 623419 -24 -0.0
.text 542488 542464 -24 -0.0
pump-app LP_CC2652R7 (read only) 691607 691591 -16 -0.0
.text 608612 608596 -16 -0.0
pump-controller-app LP_CC2652R7 (read only) 675979 675955 -24 -0.0
.text 596484 596460 -24 -0.0
esp32 all-clusters-app c3devkit (read only) 991668 991646 -22 -0.0
.flash.text 991668 991646 -22 -0.0
k32w light k32w061+release (read/write) 684828 684796 -32 -0.0
.text 598800 598768 -32 -0.0
lock k32w061+release (read/write) 689668 689652 -16 -0.0
.text 603104 603088 -16 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1152967 1152951 -16 -0.0
text 793156 793132 -24 -0.0
lighting-app nrf52840dk_nrf52840 (read/write) 1139895 1139879 -16 -0.0
text 800792 800772 -20 -0.0
nrf52840dk_nrf52840+rpc (read/write) 1104135 1104119 -16 -0.0
text 773204 773184 -20 -0.0
nrf52840dongle_nrf52840 (read/write) 1154287 1154255 -32 -0.0
text 803664 803644 -20 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1048610 1048578 -32 -0.0
text 715956 715932 -24 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 1040239 1040223 -16 -0.0
text 718512 718492 -20 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 949342 949310 -32 -0.0
text 633828 633808 -20 -0.0
pump-app nrf52840dk_nrf52840 (read/write) 1059263 1059231 -32 -0.0
text 735296 735272 -24 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 1041435 1041403 -32 -0.0
text 721532 721512 -20 -0.0
telink lighting-app tlsr9518adk80d (read/write) 798836 798812 -24 -0.0
text 567918 567896 -22 -0.0
Full report (36 builds for cc13x2_26x2, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section cd29bba d37f3e3 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 674307 674283 -24 -0.0
(read/write) 177204 177228 24 0.0
.bss 81552 81552 0 0.0
.data 3168 3168 0 0.0
.rodata 80579 80579 0 0.0
.text 593248 593224 -24 -0.0
lock-mtd LP_CC2652R7 (read only) 623443 623419 -24 -0.0
(read/write) 154304 154304 0 0.0
.bss 77280 77280 0 0.0
.data 3168 3168 0 0.0
.rodata 80467 80467 0 0.0
.text 542488 542464 -24 -0.0
pump-app LP_CC2652R7 (read only) 691607 691591 -16 -0.0
(read/write) 161064 161080 16 0.0
.bss 81944 81944 0 0.0
.data 3200 3200 0 0.0
.rodata 82511 82511 0 0.0
.text 608612 608596 -16 -0.0
pump-controller-app LP_CC2652R7 (read only) 675979 675955 -24 -0.0
(read/write) 176436 176460 24 0.0
.bss 81688 81688 0 0.0
.data 3164 3164 0 0.0
.rodata 79011 79011 0 0.0
.text 596484 596460 -24 -0.0
esp32 all-clusters-app c3devkit (read only) 991668 991646 -22 -0.0
(read/write) 1461530 1461530 0 0.0
.dram0.bss 63000 63000 0 0.0
.dram0.data 14260 14260 0 0.0
.flash.rodata 198784 198784 0 0.0
.flash.text 991668 991646 -22 -0.0
.iram0.text 62572 62572 0 0.0
m5stack (read only) 1043503 1043507 4 0.0
(read/write) 462488 462488 0 0.0
.dram0.bss 68528 68528 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 227752 227752 0 0.0
.flash.text 1038119 1038123 4 0.0
.iram0.text 123415 123415 0 0.0
k32w light k32w061+release (read/write) 684828 684796 -32 -0.0
.bss 78240 78240 0 0.0
.data 1988 1988 0 0.0
.text 598800 598768 -32 -0.0
lock k32w061+release (read/write) 689668 689652 -16 -0.0
.bss 78816 78816 0 0.0
.data 1948 1948 0 0.0
.text 603104 603088 -16 -0.0
linux all-clusters-app debug (read only) 2617705 2617705 0 0.0
(read/write) 145384 145384 0 0.0
.bss 57856 57856 0 0.0
.data 1408 1408 0 0.0
.data.rel.ro 80232 80232 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 222149 222149 0 0.0
.text 2226866 2226866 0 0.0
bridge-app debug+rpc (read only) 1826845 1826845 0 0.0
(read/write) 90824 90824 0 0.0
.bss 44792 44792 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 38904 38904 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 148409 148409 0 0.0
.text 1561157 1561157 0 0.0
chip-tool debug (read only) 10675813 10675813 0 0.0
(read/write) 371640 371640 0 0.0
.bss 22784 22784 0 0.0
.data 1040 1040 0 0.0
.data.rel.ro 341584 341584 0 0.0
.dynamic 624 624 0 0.0
.got 4928 4928 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 538005 538005 0 0.0
.text 9309013 9309013 0 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 10278220 10278220 0 0.0
(read/write) 492033 492033 0 0.0
.bss 41041 41041 0 0.0
.data 1120 1120 0 0.0
.data.rel.ro 388704 388704 0 0.0
.dynamic 560 560 0 0.0
.got 57360 57360 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 512396 512396 0 0.0
.text 8663044 8663044 0 0.0
door-lock-app debug (read only) 2098057 2098057 0 0.0
(read/write) 118864 118864 0 0.0
.bss 48128 48128 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 64024 64024 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 186441 186441 0 0.0
.text 1757154 1757154 0 0.0
lighting-app debug+rpc (read only) 2277625 2277625 0 0.0
(read/write) 125920 125920 0 0.0
.bss 49472 49472 0 0.0
.data 1600 1600 0 0.0
.data.rel.ro 69160 69160 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 180553 180553 0 0.0
.text 1933122 1933122 0 0.0
ota-provider-app debug (read only) 2036033 2036033 0 0.0
(read/write) 114432 114432 0 0.0
.bss 47968 47968 0 0.0
.data 1384 1384 0 0.0
.data.rel.ro 59352 59352 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 172291 172291 0 0.0
.text 1708370 1708370 0 0.0
ota-requestor-app debug (read only) 2065617 2065617 0 0.0
(read/write) 117720 117720 0 0.0
.bss 48928 48928 0 0.0
.data 1608 1608 0 0.0
.data.rel.ro 61592 61592 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 168820 168820 0 0.0
.text 1739650 1739650 0 0.0
shell debug (read only) 2513177 2513177 0 0.0
(read/write) 148912 148912 0 0.0
.bss 67560 67560 0 0.0
.data 848 848 0 0.0
.data.rel.ro 74776 74776 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 213874 213874 0 0.0
.text 2140098 2140098 0 0.0
thermostat-no-ble arm64 (read only) 2344188 2344188 0 0.0
(read/write) 150257 150257 0 0.0
.bss 63169 63169 0 0.0
.data 1136 1136 0 0.0
.data.rel.ro 78184 78184 0 0.0
.dynamic 560 560 0 0.0
.got 4752 4752 0 0.0
.init 24 24 0 0.0
.init_array 368 368 0 0.0
.rodata 144364 144364 0 0.0
.text 1972672 1972672 0 0.0
tv-app debug (read only) 2787361 2787361 0 0.0
(read/write) 250488 250488 0 0.0
.bss 165576 165576 0 0.0
.data 3360 3360 0 0.0
.data.rel.ro 75360 75360 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 212523 212523 0 0.0
.text 2395362 2395362 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2475504 2475504 0 0.0
.bss 191016 191016 0 0.0
.data 5496 5496 0 0.0
.text 1438076 1438076 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2434728 2434728 0 0.0
.bss 186316 186316 0 0.0
.data 5808 5808 0 0.0
.text 1397300 1397300 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2366580 2366580 0 0.0
.bss 185092 185092 0 0.0
.data 5792 5792 0 0.0
.text 1329180 1329180 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2360976 2360976 0 0.0
.bss 184856 184856 0 0.0
.data 5600 5600 0 0.0
.text 1323548 1323548 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1152967 1152951 -16 -0.0
bss 135604 135604 0 0.0
rodata 145632 145632 0 0.0
text 793156 793132 -24 -0.0
lighting-app nrf52840dk_nrf52840 (read/write) 1139895 1139879 -16 -0.0
bss 139308 139308 0 0.0
rodata 121192 121192 0 0.0
text 800792 800772 -20 -0.0
nrf52840dk_nrf52840+rpc (read/write) 1104135 1104119 -16 -0.0
bss 139544 139544 0 0.0
rodata 112320 112320 0 0.0
text 773204 773184 -20 -0.0
nrf52840dongle_nrf52840 (read/write) 1154287 1154255 -32 -0.0
bss 140308 140308 0 0.0
rodata 120748 120748 0 0.0
text 803664 803644 -20 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1048610 1048578 -32 -0.0
bss 136372 136372 0 0.0
rodata 114368 114368 0 0.0
text 715956 715932 -24 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 1040239 1040223 -16 -0.0
bss 129252 129252 0 0.0
rodata 114096 114096 0 0.0
text 718512 718492 -20 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 949342 949310 -32 -0.0
bss 126348 126348 0 0.0
rodata 107324 107324 0 0.0
text 633828 633808 -20 -0.0
pump-app nrf52840dk_nrf52840 (read/write) 1059263 1059231 -32 -0.0
bss 129168 129168 0 0.0
rodata 116176 116176 0 0.0
text 735296 735272 -24 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 1041435 1041403 -32 -0.0
bss 128912 128912 0 0.0
rodata 112396 112396 0 0.0
text 721532 721512 -20 -0.0
p6 all-clusters-app default (read/write) 2511992 2511992 0 0.0
.bss 118528 118528 0 0.0
.data 2672 2672 0 0.0
.text 1470256 1470256 0 0.0
light-app default (read/write) 2413168 2413168 0 0.0
.bss 111992 111992 0 0.0
.data 2528 2528 0 0.0
.text 1371432 1371432 0 0.0
lock-app default (read/write) 2376848 2376848 0 0.0
.bss 111736 111736 0 0.0
.data 2488 2488 0 0.0
.text 1335112 1335112 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 798836 798812 -24 -0.0
bss 70096 70096 0 0.0
noinit 40416 40416 0 0.0
text 567918 567896 -22 -0.0

@github-actions
Copy link

github-actions bot commented Apr 6, 2022

PR #17119: Size comparison from 6da0db8 to b0bf296

Increases (4 builds for cc13x2_26x2, esp32)
platform target config section 6da0db8 b0bf296 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read/write) 177204 177228 24 0.0
pump-app LP_CC2652R7 (read/write) 161064 161080 16 0.0
pump-controller-app LP_CC2652R7 (read/write) 176436 176460 24 0.0
esp32 all-clusters-app m5stack (read only) 1044367 1044371 4 0.0
.flash.text 1038983 1038987 4 0.0
Decreases (20 builds for cc13x2_26x2, efr32, esp32, k32w, nrfconnect, telink)
platform target config section 6da0db8 b0bf296 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 674307 674283 -24 -0.0
.text 593248 593224 -24 -0.0
lock-mtd LP_CC2652R7 (read only) 623443 623419 -24 -0.0
.text 542488 542464 -24 -0.0
pump-app LP_CC2652R7 (read only) 691607 691591 -16 -0.0
.text 608612 608596 -16 -0.0
pump-controller-app LP_CC2652R7 (read only) 675979 675955 -24 -0.0
.text 596484 596460 -24 -0.0
efr32 lighting-app BRD4161A (read only) 904532 904516 -16 -0.0
.text 904524 904508 -16 -0.0
BRD4161A+rpc (read only) 932420 932404 -16 -0.0
.text 932412 932396 -16 -0.0
window-app BRD4161A (read only) 841868 841836 -32 -0.0
.text 841860 841828 -32 -0.0
esp32 all-clusters-app c3devkit (read only) 991668 991646 -22 -0.0
.flash.text 991668 991646 -22 -0.0
k32w light k32w061+release (read/write) 684828 684796 -32 -0.0
.text 598800 598768 -32 -0.0
lock k32w061+release (read/write) 689668 689652 -16 -0.0
.text 603104 603088 -16 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1152967 1152951 -16 -0.0
text 793156 793132 -24 -0.0
lighting-app nrf52840dk_nrf52840 (read/write) 1139895 1139879 -16 -0.0
text 800792 800772 -20 -0.0
nrf52840dk_nrf52840+rpc (read/write) 1104135 1104119 -16 -0.0
text 773204 773184 -20 -0.0
nrf52840dongle_nrf52840 (read/write) 1154287 1154255 -32 -0.0
text 803664 803644 -20 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1048610 1048578 -32 -0.0
text 715956 715932 -24 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 1040239 1040223 -16 -0.0
text 718512 718492 -20 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 949342 949310 -32 -0.0
text 633828 633808 -20 -0.0
pump-app nrf52840dk_nrf52840 (read/write) 1059263 1059231 -32 -0.0
text 735296 735272 -24 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 1041435 1041403 -32 -0.0
text 721532 721512 -20 -0.0
telink lighting-app tlsr9518adk80d (read/write) 798836 798812 -24 -0.0
text 567918 567896 -22 -0.0
Full report (39 builds for cc13x2_26x2, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 6da0db8 b0bf296 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 674307 674283 -24 -0.0
(read/write) 177204 177228 24 0.0
.bss 81552 81552 0 0.0
.data 3168 3168 0 0.0
.rodata 80579 80579 0 0.0
.text 593248 593224 -24 -0.0
lock-mtd LP_CC2652R7 (read only) 623443 623419 -24 -0.0
(read/write) 154304 154304 0 0.0
.bss 77280 77280 0 0.0
.data 3168 3168 0 0.0
.rodata 80467 80467 0 0.0
.text 542488 542464 -24 -0.0
pump-app LP_CC2652R7 (read only) 691607 691591 -16 -0.0
(read/write) 161064 161080 16 0.0
.bss 81944 81944 0 0.0
.data 3200 3200 0 0.0
.rodata 82511 82511 0 0.0
.text 608612 608596 -16 -0.0
pump-controller-app LP_CC2652R7 (read only) 675979 675955 -24 -0.0
(read/write) 176436 176460 24 0.0
.bss 81688 81688 0 0.0
.data 3164 3164 0 0.0
.rodata 79011 79011 0 0.0
.text 596484 596460 -24 -0.0
efr32 lighting-app BRD4161A (read only) 904532 904516 -16 -0.0
(read/write) 133144 133144 0 0.0
.bss 131152 131152 0 0.0
.data 1992 1992 0 0.0
.text 904524 904508 -16 -0.0
BRD4161A+rpc (read only) 932420 932404 -16 -0.0
(read/write) 149092 149092 0 0.0
.bss 146920 146920 0 0.0
.data 2172 2172 0 0.0
.text 932412 932396 -16 -0.0
window-app BRD4161A (read only) 841868 841836 -32 -0.0
(read/write) 131204 131204 0 0.0
.bss 129328 129328 0 0.0
.data 1876 1876 0 0.0
.text 841860 841828 -32 -0.0
esp32 all-clusters-app c3devkit (read only) 991668 991646 -22 -0.0
(read/write) 1461530 1461530 0 0.0
.dram0.bss 63000 63000 0 0.0
.dram0.data 14260 14260 0 0.0
.flash.rodata 198784 198784 0 0.0
.flash.text 991668 991646 -22 -0.0
.iram0.text 62572 62572 0 0.0
m5stack (read only) 1044367 1044371 4 0.0
(read/write) 462584 462584 0 0.0
.dram0.bss 68528 68528 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 227848 227848 0 0.0
.flash.text 1038983 1038987 4 0.0
.iram0.text 123415 123415 0 0.0
k32w light k32w061+release (read/write) 684828 684796 -32 -0.0
.bss 78240 78240 0 0.0
.data 1988 1988 0 0.0
.text 598800 598768 -32 -0.0
lock k32w061+release (read/write) 689668 689652 -16 -0.0
.bss 78816 78816 0 0.0
.data 1948 1948 0 0.0
.text 603104 603088 -16 -0.0
linux all-clusters-app debug (read only) 2617705 2617705 0 0.0
(read/write) 145384 145384 0 0.0
.bss 57856 57856 0 0.0
.data 1408 1408 0 0.0
.data.rel.ro 80232 80232 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 222149 222149 0 0.0
.text 2226866 2226866 0 0.0
bridge-app debug+rpc (read only) 1826845 1826845 0 0.0
(read/write) 90824 90824 0 0.0
.bss 44792 44792 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 38904 38904 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 148409 148409 0 0.0
.text 1561157 1561157 0 0.0
chip-tool debug (read only) 10675813 10675813 0 0.0
(read/write) 371640 371640 0 0.0
.bss 22784 22784 0 0.0
.data 1040 1040 0 0.0
.data.rel.ro 341584 341584 0 0.0
.dynamic 624 624 0 0.0
.got 4928 4928 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 538005 538005 0 0.0
.text 9309013 9309013 0 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 10278220 10278220 0 0.0
(read/write) 492033 492033 0 0.0
.bss 41041 41041 0 0.0
.data 1120 1120 0 0.0
.data.rel.ro 388704 388704 0 0.0
.dynamic 560 560 0 0.0
.got 57360 57360 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 512396 512396 0 0.0
.text 8663044 8663044 0 0.0
door-lock-app debug (read only) 2098057 2098057 0 0.0
(read/write) 118864 118864 0 0.0
.bss 48128 48128 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 64024 64024 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 186441 186441 0 0.0
.text 1757154 1757154 0 0.0
lighting-app debug+rpc (read only) 2277625 2277625 0 0.0
(read/write) 125920 125920 0 0.0
.bss 49472 49472 0 0.0
.data 1600 1600 0 0.0
.data.rel.ro 69160 69160 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 180553 180553 0 0.0
.text 1933122 1933122 0 0.0
ota-provider-app debug (read only) 2036033 2036033 0 0.0
(read/write) 114432 114432 0 0.0
.bss 47968 47968 0 0.0
.data 1384 1384 0 0.0
.data.rel.ro 59352 59352 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 172291 172291 0 0.0
.text 1708370 1708370 0 0.0
ota-requestor-app debug (read only) 2065617 2065617 0 0.0
(read/write) 117720 117720 0 0.0
.bss 48928 48928 0 0.0
.data 1608 1608 0 0.0
.data.rel.ro 61592 61592 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 168820 168820 0 0.0
.text 1739650 1739650 0 0.0
shell debug (read only) 2513177 2513177 0 0.0
(read/write) 148912 148912 0 0.0
.bss 67560 67560 0 0.0
.data 848 848 0 0.0
.data.rel.ro 74776 74776 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 213874 213874 0 0.0
.text 2140098 2140098 0 0.0
thermostat-no-ble arm64 (read only) 2344188 2344188 0 0.0
(read/write) 150257 150257 0 0.0
.bss 63169 63169 0 0.0
.data 1136 1136 0 0.0
.data.rel.ro 78184 78184 0 0.0
.dynamic 560 560 0 0.0
.got 4752 4752 0 0.0
.init 24 24 0 0.0
.init_array 368 368 0 0.0
.rodata 144364 144364 0 0.0
.text 1972672 1972672 0 0.0
tv-app debug (read only) 2787361 2787361 0 0.0
(read/write) 250488 250488 0 0.0
.bss 165576 165576 0 0.0
.data 3360 3360 0 0.0
.data.rel.ro 75360 75360 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 212523 212523 0 0.0
.text 2395362 2395362 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2475504 2475504 0 0.0
.bss 191016 191016 0 0.0
.data 5496 5496 0 0.0
.text 1438076 1438076 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2434728 2434728 0 0.0
.bss 186316 186316 0 0.0
.data 5808 5808 0 0.0
.text 1397300 1397300 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2366580 2366580 0 0.0
.bss 185092 185092 0 0.0
.data 5792 5792 0 0.0
.text 1329180 1329180 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2360976 2360976 0 0.0
.bss 184856 184856 0 0.0
.data 5600 5600 0 0.0
.text 1323548 1323548 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1152967 1152951 -16 -0.0
bss 135604 135604 0 0.0
rodata 145632 145632 0 0.0
text 793156 793132 -24 -0.0
lighting-app nrf52840dk_nrf52840 (read/write) 1139895 1139879 -16 -0.0
bss 139308 139308 0 0.0
rodata 121192 121192 0 0.0
text 800792 800772 -20 -0.0
nrf52840dk_nrf52840+rpc (read/write) 1104135 1104119 -16 -0.0
bss 139544 139544 0 0.0
rodata 112320 112320 0 0.0
text 773204 773184 -20 -0.0
nrf52840dongle_nrf52840 (read/write) 1154287 1154255 -32 -0.0
bss 140308 140308 0 0.0
rodata 120748 120748 0 0.0
text 803664 803644 -20 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1048610 1048578 -32 -0.0
bss 136372 136372 0 0.0
rodata 114368 114368 0 0.0
text 715956 715932 -24 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 1040239 1040223 -16 -0.0
bss 129252 129252 0 0.0
rodata 114096 114096 0 0.0
text 718512 718492 -20 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 949342 949310 -32 -0.0
bss 126348 126348 0 0.0
rodata 107324 107324 0 0.0
text 633828 633808 -20 -0.0
pump-app nrf52840dk_nrf52840 (read/write) 1059263 1059231 -32 -0.0
bss 129168 129168 0 0.0
rodata 116176 116176 0 0.0
text 735296 735272 -24 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 1041435 1041403 -32 -0.0
bss 128912 128912 0 0.0
rodata 112396 112396 0 0.0
text 721532 721512 -20 -0.0
p6 all-clusters-app default (read/write) 2511992 2511992 0 0.0
.bss 118528 118528 0 0.0
.data 2672 2672 0 0.0
.text 1470256 1470256 0 0.0
light-app default (read/write) 2413168 2413168 0 0.0
.bss 111992 111992 0 0.0
.data 2528 2528 0 0.0
.text 1371432 1371432 0 0.0
lock-app default (read/write) 2376848 2376848 0 0.0
.bss 111736 111736 0 0.0
.data 2488 2488 0 0.0
.text 1335112 1335112 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 798836 798812 -24 -0.0
bss 70096 70096 0 0.0
noinit 40416 40416 0 0.0
text 567918 567896 -22 -0.0

@github-actions
Copy link

github-actions bot commented Apr 7, 2022

PR #17119: Size comparison from b06bd8c to 1ef5cfd

Increases (4 builds for cc13x2_26x2, esp32)
platform target config section b06bd8c 1ef5cfd change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read/write) 177140 177164 24 0.0
pump-app LP_CC2652R7 (read/write) 160904 160920 16 0.0
pump-controller-app LP_CC2652R7 (read/write) 176324 176348 24 0.0
esp32 all-clusters-app m5stack (read only) 1044439 1044443 4 0.0
.flash.text 1039055 1039059 4 0.0
Decreases (20 builds for cc13x2_26x2, efr32, esp32, k32w, nrfconnect, telink)
platform target config section b06bd8c 1ef5cfd change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 674371 674347 -24 -0.0
.text 593336 593312 -24 -0.0
lock-mtd LP_CC2652R7 (read only) 623515 623491 -24 -0.0
.text 542584 542560 -24 -0.0
pump-app LP_CC2652R7 (read only) 691767 691751 -16 -0.0
.text 608716 608700 -16 -0.0
pump-controller-app LP_CC2652R7 (read only) 676091 676067 -24 -0.0
.text 596588 596564 -24 -0.0
efr32 lighting-app BRD4161A (read only) 904660 904628 -32 -0.0
.text 904652 904620 -32 -0.0
BRD4161A+rpc (read only) 932548 932516 -32 -0.0
.text 932540 932508 -32 -0.0
window-app BRD4161A (read only) 841964 841948 -16 -0.0
.text 841956 841940 -16 -0.0
esp32 all-clusters-app c3devkit (read only) 991802 991780 -22 -0.0
.flash.text 991802 991780 -22 -0.0
k32w light k32w061+release (read/write) 684996 684964 -32 -0.0
.text 598968 598936 -32 -0.0
lock k32w061+release (read/write) 689780 689748 -32 -0.0
.text 603216 603184 -32 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1153247 1153231 -16 -0.0
text 793252 793232 -20 -0.0
lighting-app nrf52840dk_nrf52840 (read/write) 1140023 1140007 -16 -0.0
text 800892 800868 -24 -0.0
nrf52840dk_nrf52840+rpc (read/write) 1104291 1104275 -16 -0.0
text 773332 773308 -24 -0.0
nrf52840dongle_nrf52840 (read/write) 1154439 1154423 -16 -0.0
text 803768 803744 -24 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1048734 1048702 -32 -0.0
text 716052 716032 -20 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 1040327 1040295 -32 -0.0
text 718612 718588 -24 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 949414 949382 -32 -0.0
text 633928 633904 -24 -0.0
pump-app nrf52840dk_nrf52840 (read/write) 1059419 1059403 -16 -0.0
text 735392 735372 -20 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 1041543 1041511 -32 -0.0
text 721632 721608 -24 -0.0
telink lighting-app tlsr9518adk80d (read/write) 799016 798992 -24 -0.0
text 568074 568052 -22 -0.0
Full report (39 builds for cc13x2_26x2, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section b06bd8c 1ef5cfd change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 674371 674347 -24 -0.0
(read/write) 177140 177164 24 0.0
.bss 81552 81552 0 0.0
.data 3168 3168 0 0.0
.rodata 80555 80555 0 0.0
.text 593336 593312 -24 -0.0
lock-mtd LP_CC2652R7 (read only) 623515 623491 -24 -0.0
(read/write) 154304 154304 0 0.0
.bss 77280 77280 0 0.0
.data 3168 3168 0 0.0
.rodata 80443 80443 0 0.0
.text 542584 542560 -24 -0.0
pump-app LP_CC2652R7 (read only) 691767 691751 -16 -0.0
(read/write) 160904 160920 16 0.0
.bss 81944 81944 0 0.0
.data 3200 3200 0 0.0
.rodata 82567 82567 0 0.0
.text 608716 608700 -16 -0.0
pump-controller-app LP_CC2652R7 (read only) 676091 676067 -24 -0.0
(read/write) 176324 176348 24 0.0
.bss 81688 81688 0 0.0
.data 3164 3164 0 0.0
.rodata 79019 79019 0 0.0
.text 596588 596564 -24 -0.0
efr32 lighting-app BRD4161A (read only) 904660 904628 -32 -0.0
(read/write) 133144 133144 0 0.0
.bss 131152 131152 0 0.0
.data 1992 1992 0 0.0
.text 904652 904620 -32 -0.0
BRD4161A+rpc (read only) 932548 932516 -32 -0.0
(read/write) 149092 149092 0 0.0
.bss 146920 146920 0 0.0
.data 2172 2172 0 0.0
.text 932540 932508 -32 -0.0
window-app BRD4161A (read only) 841964 841948 -16 -0.0
(read/write) 131204 131204 0 0.0
.bss 129328 129328 0 0.0
.data 1876 1876 0 0.0
.text 841956 841940 -16 -0.0
esp32 all-clusters-app c3devkit (read only) 991802 991780 -22 -0.0
(read/write) 1461714 1461714 0 0.0
.dram0.bss 63000 63000 0 0.0
.dram0.data 14260 14260 0 0.0
.flash.rodata 198968 198968 0 0.0
.flash.text 991802 991780 -22 -0.0
.iram0.text 62572 62572 0 0.0
m5stack (read only) 1044439 1044443 4 0.0
(read/write) 462768 462768 0 0.0
.dram0.bss 68528 68528 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 228032 228032 0 0.0
.flash.text 1039055 1039059 4 0.0
.iram0.text 123415 123415 0 0.0
k32w light k32w061+release (read/write) 684996 684964 -32 -0.0
.bss 78240 78240 0 0.0
.data 1988 1988 0 0.0
.text 598968 598936 -32 -0.0
lock k32w061+release (read/write) 689780 689748 -32 -0.0
.bss 78816 78816 0 0.0
.data 1948 1948 0 0.0
.text 603216 603184 -32 -0.0
linux all-clusters-app debug (read only) 2618025 2618025 0 0.0
(read/write) 145384 145384 0 0.0
.bss 57856 57856 0 0.0
.data 1408 1408 0 0.0
.data.rel.ro 80232 80232 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 222341 222341 0 0.0
.text 2226994 2226994 0 0.0
bridge-app debug+rpc (read only) 1826685 1826685 0 0.0
(read/write) 90824 90824 0 0.0
.bss 44792 44792 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 38904 38904 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 148249 148249 0 0.0
.text 1561157 1561157 0 0.0
chip-tool debug (read only) 10677733 10677733 0 0.0
(read/write) 371672 371672 0 0.0
.bss 22784 22784 0 0.0
.data 1040 1040 0 0.0
.data.rel.ro 341600 341600 0 0.0
.dynamic 624 624 0 0.0
.got 4928 4928 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 538613 538613 0 0.0
.text 9310277 9310277 0 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 10279468 10279468 0 0.0
(read/write) 492065 492065 0 0.0
.bss 41041 41041 0 0.0
.data 1120 1120 0 0.0
.data.rel.ro 388720 388720 0 0.0
.dynamic 560 560 0 0.0
.got 57376 57376 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 512700 512700 0 0.0
.text 8663892 8663892 0 0.0
door-lock-app debug (read only) 2097897 2097897 0 0.0
(read/write) 118864 118864 0 0.0
.bss 48128 48128 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 64024 64024 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 186281 186281 0 0.0
.text 1757154 1757154 0 0.0
lighting-app debug+rpc (read only) 2300177 2300177 0 0.0
(read/write) 127216 127216 0 0.0
.bss 50336 50336 0 0.0
.data 1664 1664 0 0.0
.data.rel.ro 69512 69512 0 0.0
.dynamic 608 608 0 0.0
.got 4304 4304 0 0.0
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 181321 181321 0 0.0
.text 1954306 1954306 0 0.0
ota-provider-app debug (read only) 2036033 2036033 0 0.0
(read/write) 114432 114432 0 0.0
.bss 47968 47968 0 0.0
.data 1384 1384 0 0.0
.data.rel.ro 59352 59352 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 172291 172291 0 0.0
.text 1708370 1708370 0 0.0
ota-requestor-app debug (read only) 2065313 2065313 0 0.0
(read/write) 117720 117720 0 0.0
.bss 48928 48928 0 0.0
.data 1608 1608 0 0.0
.data.rel.ro 61592 61592 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 168660 168660 0 0.0
.text 1739506 1739506 0 0.0
shell debug (read only) 2513097 2513097 0 0.0
(read/write) 148912 148912 0 0.0
.bss 67560 67560 0 0.0
.data 848 848 0 0.0
.data.rel.ro 74776 74776 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 213938 213938 0 0.0
.text 2139954 2139954 0 0.0
thermostat-no-ble arm64 (read only) 2344404 2344404 0 0.0
(read/write) 150257 150257 0 0.0
.bss 63169 63169 0 0.0
.data 1136 1136 0 0.0
.data.rel.ro 78184 78184 0 0.0
.dynamic 560 560 0 0.0
.got 4752 4752 0 0.0
.init 24 24 0 0.0
.init_array 368 368 0 0.0
.rodata 144420 144420 0 0.0
.text 1972832 1972832 0 0.0
tv-app debug (read only) 2789713 2789713 0 0.0
(read/write) 250488 250488 0 0.0
.bss 165576 165576 0 0.0
.data 3360 3360 0 0.0
.data.rel.ro 75376 75376 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 213323 213323 0 0.0
.text 2396866 2396866 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2475816 2475816 0 0.0
.bss 191016 191016 0 0.0
.data 5496 5496 0 0.0
.text 1438388 1438388 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2434888 2434888 0 0.0
.bss 186316 186316 0 0.0
.data 5808 5808 0 0.0
.text 1397460 1397460 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2366708 2366708 0 0.0
.bss 185092 185092 0 0.0
.data 5792 5792 0 0.0
.text 1329308 1329308 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2361080 2361080 0 0.0
.bss 184856 184856 0 0.0
.data 5600 5600 0 0.0
.text 1323652 1323652 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1153247 1153231 -16 -0.0
bss 135604 135604 0 0.0
rodata 145816 145816 0 0.0
text 793252 793232 -20 -0.0
lighting-app nrf52840dk_nrf52840 (read/write) 1140023 1140007 -16 -0.0
bss 139308 139308 0 0.0
rodata 121224 121224 0 0.0
text 800892 800868 -24 -0.0
nrf52840dk_nrf52840+rpc (read/write) 1104291 1104275 -16 -0.0
bss 139544 139544 0 0.0
rodata 112348 112348 0 0.0
text 773332 773308 -24 -0.0
nrf52840dongle_nrf52840 (read/write) 1154439 1154423 -16 -0.0
bss 140308 140308 0 0.0
rodata 120804 120804 0 0.0
text 803768 803744 -24 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1048734 1048702 -32 -0.0
bss 136372 136372 0 0.0
rodata 114396 114396 0 0.0
text 716052 716032 -20 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 1040327 1040295 -32 -0.0
bss 129252 129252 0 0.0
rodata 114072 114072 0 0.0
text 718612 718588 -24 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 949414 949382 -32 -0.0
bss 126348 126348 0 0.0
rodata 107300 107300 0 0.0
text 633928 633904 -24 -0.0
pump-app nrf52840dk_nrf52840 (read/write) 1059419 1059403 -16 -0.0
bss 129168 129168 0 0.0
rodata 116236 116236 0 0.0
text 735392 735372 -20 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 1041543 1041511 -32 -0.0
bss 128912 128912 0 0.0
rodata 112408 112408 0 0.0
text 721632 721608 -24 -0.0
p6 all-clusters-app default (read/write) 2512272 2512272 0 0.0
.bss 118528 118528 0 0.0
.data 2672 2672 0 0.0
.text 1470536 1470536 0 0.0
light-app default (read/write) 2413312 2413312 0 0.0
.bss 111992 111992 0 0.0
.data 2528 2528 0 0.0
.text 1371576 1371576 0 0.0
lock-app default (read/write) 2376944 2376944 0 0.0
.bss 111736 111736 0 0.0
.data 2488 2488 0 0.0
.text 1335208 1335208 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 799016 798992 -24 -0.0
bss 70096 70096 0 0.0
noinit 40416 40416 0 0.0
text 568074 568052 -22 -0.0

@tcarmelveilleux tcarmelveilleux merged commit 6ba2a09 into project-chip:master Apr 7, 2022
andrei-menzopol pushed a commit to andrei-menzopol/connectedhomeip that referenced this pull request Apr 14, 2022
* Remove all dead config options from SDK

- All `CHIP_CONFIG_*` that came from OpenWeave and had no current usage
  outside CHIPProjectConfig.h or were always disabled in common code for
  > 1 year and have obviously no use anymore, were removed.

Fixes project-chip#17118

* Update src/lib/core/CHIPConfig.h

Co-authored-by: Evgeny Margolis <[email protected]>

* Restyled by clang-format

* Fix missing dependency

Co-authored-by: Evgeny Margolis <[email protected]>
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.

SDK has tons of OpenWeave-based dead configs
6 participants