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

Allow commissioning window to work even if BLE advertising is not supported #19121

Merged

Conversation

bzbarsky-apple
Copy link
Contributor

An application might be built against an CHIP library that has BLE support
compieled in (e.g. so it can do discovery over BLE) but does not support
commissionable advertising over BLE. In that case, we should not fail to open a
commissioning window just because we can't advertise over BLE; we can still
advertise over DNS-SD.

Problem

Have to compile SDK with non-default flags to get a working example app on Mac.

Change overview

Fix things to not need that.

Testing

Compiled with scripts/examples/gn_build_example.sh examples/all-clusters-app/linux out/debug/standalone without disabling BLE and was able to commission the resulting example app over IP.

…ported.

An application might be built against an CHIP library that has BLE support
compieled in (e.g. so it can do discovery over BLE) but does not support
commissionable advertising over BLE.  In that case, we should not fail to open a
commissioning window just because we can't advertise over BLE; we can still
advertise over DNS-SD.
@github-actions
Copy link

github-actions bot commented Jun 2, 2022

PR #19121: Size comparison from 0bf3ba4 to aa59d7a

Increases (26 builds for cc13x2_26x2, cyw30739, efr32, esp32, linux, nrfconnect, p6, telink)
platform target config section 0bf3ba4 aa59d7a change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 648691 648699 8 0.0
.text 563924 563932 8 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 615523 615531 8 0.0
.text 541372 541380 8 0.0
lock-ftd LP_CC2652R7 (read only) 680755 680763 8 0.0
.text 583644 583652 8 0.0
lock-mtd LP_CC2652R7 (read only) 630155 630163 8 0.0
.text 533156 533164 8 0.0
pump-app LP_CC2652R7 (read only) 663627 663635 8 0.0
.text 577504 577512 8 0.0
pump-controller-app LP_CC2652R7 (read only) 655083 655091 8 0.0
.text 570768 570776 8 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 602150 602158 8 0.0
.app_xip_area 461176 461184 8 0.0
lock cyw930739m2evb_01 (read/write) 598290 598298 8 0.0
.app_xip_area 457188 457196 8 0.0
efr32 lighting-app BRD4161A+rpc (read only) 949924 949940 16 0.0
.text 949916 949932 16 0.0
lock-app BRD4161A+wf200 (read only) 955400 955416 16 0.0
.text 955392 955408 16 0.0
esp32 all-clusters-app c3devkit (read only) 1005844 1005850 6 0.0
.flash.text 1005844 1005850 6 0.0
linux all-clusters-app debug (read only) 2767185 2767265 80 0.0
.text 2348626 2348706 80 0.0
all-clusters-minimal-app debug (read only) 2644337 2644417 80 0.0
.text 2225218 2225298 80 0.0
bridge-app debug+rpc (read only) 2030065 2030145 80 0.0
.text 1703698 1703778 80 0.0
lighting-app debug+rpc (read only) 2320297 2320361 64 0.0
.text 1965810 1965874 64 0.0
lock-app debug (read only) 2258929 2259009 80 0.0
.text 1896818 1896898 80 0.0
ota-provider-app debug (read only) 2066817 2066897 80 0.0
.text 1726546 1726626 80 0.0
ota-requestor-app debug (read only) 2093937 2094017 80 0.0
.text 1756226 1756306 80 0.0
shell debug (read only) 2572137 2572201 64 0.0
.text 2188002 2188066 64 0.0
tv-app debug (read only) 2877273 2877353 80 0.0
.text 2471538 2471618 80 0.0
tv-casting-app debug (read only) 5431761 5431825 64 0.0
.text 4731906 4731970 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 814932 814936 4 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 text 787944 787948 4 0.0
p6 all-clusters-minimal-app default (read/write) 2487696 2487712 16 0.0
.text 1445960 1445976 16 0.0
telink light-switch-app tlsr9518adk80d text 552238 552244 6 0.0
lighting-app tlsr9518adk80d (read/write) 800936 800944 8 0.0
text 568980 568986 6 0.0
Decreases (4 builds for cc13x2_26x2, esp32)
platform target config section 0bf3ba4 aa59d7a change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read/write) 162068 162060 -8 -0.0
pump-app LP_CC2652R7 (read/write) 180108 180100 -8 -0.0
pump-controller-app LP_CC2652R7 (read/write) 188764 188756 -8 -0.0
esp32 all-clusters-app m5stack (read only) 1060943 1060935 -8 -0.0
.flash.text 1055559 1055551 -8 -0.0
Full report (41 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 0bf3ba4 aa59d7a change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 648691 648699 8 0.0
(read/write) 158900 158900 0 0.0
.bss 74580 74580 0 0.0
.data 3404 3404 0 0.0
.rodata 84531 84531 0 0.0
.text 563924 563932 8 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 615523 615531 8 0.0
(read/write) 158072 158072 0 0.0
.bss 73812 73812 0 0.0
.data 3344 3344 0 0.0
.rodata 73915 73915 0 0.0
.text 541372 541380 8 0.0
lock-ftd LP_CC2652R7 (read only) 680755 680763 8 0.0
(read/write) 162068 162060 -8 -0.0
.bss 72604 72604 0 0.0
.data 3268 3268 0 0.0
.rodata 96627 96627 0 0.0
.text 583644 583652 8 0.0
lock-mtd LP_CC2652R7 (read only) 630155 630163 8 0.0
(read/write) 145724 145724 0 0.0
.bss 68340 68340 0 0.0
.data 3268 3268 0 0.0
.rodata 96507 96507 0 0.0
.text 533156 533164 8 0.0
pump-app LP_CC2652R7 (read only) 663627 663635 8 0.0
(read/write) 180108 180100 -8 -0.0
.bss 72748 72748 0 0.0
.data 3300 3300 0 0.0
.rodata 85643 85643 0 0.0
.text 577504 577512 8 0.0
pump-controller-app LP_CC2652R7 (read only) 655083 655091 8 0.0
(read/write) 188764 188756 -8 -0.0
.bss 72860 72860 0 0.0
.data 3264 3264 0 0.0
.rodata 83835 83835 0 0.0
.text 570768 570776 8 0.0
shell LP_CC2652R7 (read only) 641706 641706 0 0.0
(read/write) 154456 154456 0 0.0
.bss 76932 76932 0 0.0
.data 3408 3408 0 0.0
.rodata 81522 81522 0 0.0
.text 559952 559952 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 602150 602158 8 0.0
.app_xip_area 461176 461184 8 0.0
.bss 83912 83912 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 598290 598298 8 0.0
.app_xip_area 457188 457196 8 0.0
.bss 84072 84072 0 0.0
.data 712 712 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 596786 596786 0 0.0
.app_xip_area 456808 456808 0 0.0
.bss 83044 83044 0 0.0
.data 620 620 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 915712 915712 0 0.0
(read/write) 133184 133184 0 0.0
.bss 131088 131088 0 0.0
.data 2096 2096 0 0.0
.text 915704 915704 0 0.0
BRD4161A+rpc (read only) 949924 949940 16 0.0
(read/write) 149876 149876 0 0.0
.bss 147576 147576 0 0.0
.data 2300 2300 0 0.0
.text 949916 949932 16 0.0
BRD4161A+rs911x (read only) 787860 787860 0 0.0
(read/write) 129404 129404 0 0.0
.bss 127308 127308 0 0.0
.data 2096 2096 0 0.0
.text 787852 787852 0 0.0
lock-app BRD4161A+wf200 (read only) 955400 955416 16 0.0
(read/write) 128244 128244 0 0.0
.bss 126172 126172 0 0.0
.data 2068 2068 0 0.0
.text 955392 955408 16 0.0
window-app BRD4161A (read only) 900648 900648 0 0.0
(read/write) 133256 133256 0 0.0
.bss 131160 131160 0 0.0
.data 2092 2092 0 0.0
.text 900640 900640 0 0.0
esp32 all-clusters-app c3devkit (read only) 1005844 1005850 6 0.0
(read/write) 1480026 1480026 0 0.0
.dram0.bss 69144 69144 0 0.0
.dram0.data 14656 14656 0 0.0
.flash.rodata 210792 210792 0 0.0
.flash.text 1005844 1005850 6 0.0
.iram0.text 62954 62954 0 0.0
m5stack (read only) 1060943 1060935 -8 -0.0
(read/write) 482232 482232 0 0.0
.dram0.bss 74664 74664 0 0.0
.dram0.data 34208 34208 0 0.0
.flash.rodata 241364 241364 0 0.0
.flash.text 1055559 1055551 -8 -0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 681412 681412 0 0.0
.bss 80168 80168 0 0.0
.data 2012 2012 0 0.0
.text 597528 597528 0 0.0
lock k32w061+release (read/write) 733444 733444 0 0.0
.bss 80600 80600 0 0.0
.data 1980 1980 0 0.0
.text 649160 649160 0 0.0
linux all-clusters-app debug (read only) 2767185 2767265 80 0.0
(read/write) 178272 178272 0 0.0
.bss 86240 86240 0 0.0
.data 2032 2032 0 0.0
.data.rel.ro 83848 83848 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 244605 244605 0 0.0
.text 2348626 2348706 80 0.0
all-clusters-minimal-app debug (read only) 2644337 2644417 80 0.0
(read/write) 170304 170304 0 0.0
.bss 85504 85504 0 0.0
.data 1904 1904 0 0.0
.data.rel.ro 76728 76728 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 246557 246557 0 0.0
.text 2225218 2225298 80 0.0
bridge-app debug+rpc (read only) 2030065 2030145 80 0.0
(read/write) 147928 147928 0 0.0
.bss 72896 72896 0 0.0
.data 3936 3936 0 0.0
.data.rel.ro 65528 65528 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 169824 169824 0 0.0
.text 1703698 1703778 80 0.0
chip-tool debug (read only) 9704781 9704781 0 0.0
(read/write) 600688 600688 0 0.0
.bss 23968 23968 0 0.0
.data 1120 1120 0 0.0
.data.rel.ro 569296 569296 0 0.0
.dynamic 624 624 0 0.0
.got 5008 5008 0 0.0
.init 27 27 0 0.0
.init_array 648 648 0 0.0
.rodata 498045 498045 0 0.0
.text 7818149 7818149 0 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9439476 9439476 0 0.0
(read/write) 666897 666897 0 0.0
.bss 42257 42257 0 0.0
.data 1176 1176 0 0.0
.data.rel.ro 604672 604672 0 0.0
.dynamic 528 528 0 0.0
.got 14984 14984 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 461372 461372 0 0.0
.text 7454260 7454260 0 0.0
lighting-app debug+rpc (read only) 2320297 2320361 64 0.0
(read/write) 153568 153568 0 0.0
.bss 74752 74752 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 71016 71016 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 188712 188712 0 0.0
.text 1965810 1965874 64 0.0
lock-app debug (read only) 2258929 2259009 80 0.0
(read/write) 148664 148664 0 0.0
.bss 73440 73440 0 0.0
.data 1568 1568 0 0.0
.data.rel.ro 67944 67944 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 201768 201768 0 0.0
.text 1896818 1896898 80 0.0
ota-provider-app debug (read only) 2066817 2066897 80 0.0
(read/write) 141584 141584 0 0.0
.bss 73024 73024 0 0.0
.data 1768 1768 0 0.0
.data.rel.ro 61000 61000 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 181176 181176 0 0.0
.text 1726546 1726626 80 0.0
ota-requestor-app debug (read only) 2093937 2094017 80 0.0
(read/write) 144424 144424 0 0.0
.bss 73728 73728 0 0.0
.data 1960 1960 0 0.0
.data.rel.ro 63096 63096 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 177152 177152 0 0.0
.text 1756226 1756306 80 0.0
shell debug (read only) 2572137 2572201 64 0.0
(read/write) 201680 201680 0 0.0
.bss 117096 117096 0 0.0
.data 1376 1376 0 0.0
.data.rel.ro 77464 77464 0 0.0
.dynamic 608 608 0 0.0
.got 4192 4192 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 224690 224690 0 0.0
.text 2188002 2188066 64 0.0
thermostat-no-ble arm64 (read only) 2367516 2367516 0 0.0
(read/write) 177505 177505 0 0.0
.bss 87921 87921 0 0.0
.data 1528 1528 0 0.0
.data.rel.ro 80264 80264 0 0.0
.dynamic 528 528 0 0.0
.got 4792 4792 0 0.0
.init 24 24 0 0.0
.init_array 376 376 0 0.0
.rodata 148828 148828 0 0.0
.text 1988992 1988992 0 0.0
tv-app debug (read only) 2877273 2877353 80 0.0
(read/write) 280208 280208 0 0.0
.bss 191048 191048 0 0.0
.data 4672 4672 0 0.0
.data.rel.ro 78224 78224 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 223104 223104 0 0.0
.text 2471538 2471618 80 0.0
tv-casting-app debug (read only) 5431761 5431825 64 0.0
(read/write) 226032 226032 0 0.0
.bss 78632 78632 0 0.0
.data 2400 2400 0 0.0
.data.rel.ro 138792 138792 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 340576 340576 0 0.0
.text 4731906 4731970 64 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2425752 2425752 0 0.0
.bss 202620 202620 0 0.0
.data 5872 5872 0 0.0
.text 1388396 1388396 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1187927 1187927 0 0.0
bss 141277 141277 0 0.0
rodata 152832 152832 0 0.0
text 814932 814936 4 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1136659 1136659 0 0.0
bss 140506 140506 0 0.0
rodata 129396 129396 0 0.0
text 787944 787948 4 0.0
p6 all-clusters-app default (read/write) 2541760 2541760 0 0.0
.bss 137104 137104 0 0.0
.data 2808 2808 0 0.0
.text 1500024 1500024 0 0.0
all-clusters-minimal-app default (read/write) 2487696 2487712 16 0.0
.bss 136328 136328 0 0.0
.data 2744 2744 0 0.0
.text 1445960 1445976 16 0.0
light-app default (read/write) 2422144 2422144 0 0.0
.bss 129432 129432 0 0.0
.data 2600 2600 0 0.0
.text 1380408 1380408 0 0.0
lock-app default (read/write) 2440184 2440184 0 0.0
.bss 129248 129248 0 0.0
.data 2568 2568 0 0.0
.text 1398448 1398448 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 780900 780900 0 0.0
bss 70564 70564 0 0.0
noinit 40416 40416 0 0.0
text 552238 552244 6 0.0
lighting-app tlsr9518adk80d (read/write) 800936 800944 8 0.0
bss 70824 70824 0 0.0
noinit 40416 40416 0 0.0
text 568980 568986 6 0.0

@github-actions
Copy link

github-actions bot commented Jun 2, 2022

PR #19121: Size comparison from 0bf3ba4 to 7823ff3

Increases above 0.2%:

platform target config section 0bf3ba4 7823ff3 change % change
k32w light k32w061+release .data 2012 2020 8 0.4
lock k32w061+release .data 1980 1988 8 0.4
linux all-clusters-app debug .init_array 1016 1024 8 0.8
all-clusters-minimal-app debug .init_array 1016 1024 8 0.8
bridge-app debug+rpc .init_array 688 696 8 1.2
chip-tool debug .bss 23968 24032 64 0.3
.init_array 648 656 8 1.2
chip-tool-no-interactive-ipv6only arm64 .init_array 184 192 8 4.3
lighting-app debug+rpc .init_array 792 800 8 1.0
lock-app debug .init_array 752 760 8 1.1
ota-provider-app debug .init_array 648 656 8 1.2
ota-requestor-app debug .init_array 672 680 8 1.2
shell debug .init_array 928 936 8 0.9
thermostat-no-ble arm64 .init_array 376 384 8 2.1
tv-app debug .init_array 928 936 8 0.9
tv-casting-app debug .init_array 864 872 8 0.9
p6 all-clusters-minimal-app default .data 2744 2752 8 0.3
light-app default .data 2600 2608 8 0.3
lock-app default .data 2568 2576 8 0.3
Increases (38 builds for cc13x2_26x2, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 0bf3ba4 7823ff3 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 648691 648723 32 0.0
(read/write) 158900 158988 88 0.1
.bss 74580 74668 88 0.1
.text 563924 563960 36 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 615523 615555 32 0.0
(read/write) 158072 158160 88 0.1
.bss 73812 73900 88 0.1
.text 541372 541408 36 0.0
lock-ftd LP_CC2652R7 (read only) 680755 680863 108 0.0
.bss 72604 72692 88 0.1
.rodata 96627 96687 60 0.1
.text 583644 583696 52 0.0
lock-mtd LP_CC2652R7 (read only) 630155 630263 108 0.0
(read/write) 145724 145812 88 0.1
.bss 68340 68428 88 0.1
.rodata 96507 96567 60 0.1
.text 533156 533208 52 0.0
pump-app LP_CC2652R7 (read only) 663627 663743 116 0.0
.bss 72748 72836 88 0.1
.rodata 85643 85703 60 0.1
.text 577504 577556 52 0.0
pump-controller-app LP_CC2652R7 (read only) 655083 655199 116 0.0
.bss 72860 72948 88 0.1
.rodata 83835 83895 60 0.1
.text 570768 570820 52 0.0
shell LP_CC2652R7 (read only) 641706 641738 32 0.0
(read/write) 154456 154544 88 0.1
.bss 76932 77020 88 0.1
.text 559952 559980 28 0.0
efr32 lighting-app BRD4161A (read only) 915712 915840 128 0.0
(read/write) 133184 133280 96 0.1
.bss 131088 131176 88 0.1
.data 2096 2100 4 0.2
.text 915704 915832 128 0.0
BRD4161A+rpc (read only) 949924 950068 144 0.0
(read/write) 149876 149968 92 0.1
.bss 147576 147664 88 0.1
.data 2300 2304 4 0.2
.text 949916 950060 144 0.0
BRD4161A+rs911x (read only) 787860 787924 64 0.0
(read/write) 129404 129496 92 0.1
.bss 127308 127396 88 0.1
.data 2096 2100 4 0.2
.text 787852 787916 64 0.0
lock-app BRD4161A+wf200 (read only) 955400 955428 28 0.0
(read/write) 128244 128332 88 0.1
.bss 126172 126260 88 0.1
.data 2068 2072 4 0.2
.text 955392 955420 28 0.0
window-app BRD4161A (read only) 900648 900776 128 0.0
(read/write) 133256 133344 88 0.1
.bss 131160 131248 88 0.1
.data 2092 2096 4 0.2
.text 900640 900768 128 0.0
esp32 all-clusters-app c3devkit (read/write) 1480026 1480178 152 0.0
.dram0.bss 69144 69232 88 0.1
.flash.rodata 210792 210864 72 0.0
m5stack (read/write) 482232 482380 148 0.0
.dram0.bss 74664 74752 88 0.1
.flash.rodata 241364 241424 60 0.0
k32w light k32w061+release .data 2012 2020 8 0.4
lock k32w061+release .data 1980 1988 8 0.4
linux all-clusters-app debug (read/write) 178272 178344 72 0.0
.bss 86240 86304 64 0.1
.init_array 1016 1024 8 0.8
.rodata 244605 244637 32 0.0
all-clusters-minimal-app debug (read/write) 170304 170376 72 0.0
.bss 85504 85568 64 0.1
.init_array 1016 1024 8 0.8
.rodata 246557 246589 32 0.0
bridge-app debug+rpc (read/write) 147928 148000 72 0.0
.bss 72896 72960 64 0.1
.init_array 688 696 8 1.2
chip-tool debug (read/write) 600688 600760 72 0.0
.bss 23968 24032 64 0.3
.init_array 648 656 8 1.2
chip-tool-no-interactive-ipv6only arm64 (read/write) 666897 666993 96 0.0
.bss 42257 42305 48 0.1
.data.rel.ro 604672 604696 24 0.0
.got 14984 14992 8 0.1
.init_array 184 192 8 4.3
lighting-app debug+rpc (read/write) 153568 153640 72 0.0
.bss 74752 74816 64 0.1
.init_array 792 800 8 1.0
.rodata 188712 188744 32 0.0
lock-app debug (read/write) 148664 148736 72 0.0
.bss 73440 73504 64 0.1
.init_array 752 760 8 1.1
.rodata 201768 201832 64 0.0
ota-provider-app debug (read/write) 141584 141656 72 0.1
.bss 73024 73088 64 0.1
.init_array 648 656 8 1.2
.rodata 181176 181240 64 0.0
ota-requestor-app debug (read/write) 144424 144496 72 0.0
.bss 73728 73792 64 0.1
.init_array 672 680 8 1.2
shell debug (read/write) 201680 201752 72 0.0
.bss 117096 117160 64 0.1
.init_array 928 936 8 0.9
thermostat-no-ble arm64 (read/write) 177505 177601 96 0.1
.bss 87921 87969 48 0.1
.data.rel.ro 80264 80288 24 0.0
.got 4792 4800 8 0.2
.init_array 376 384 8 2.1
tv-app debug (read/write) 280208 280280 72 0.0
.bss 191048 191112 64 0.0
.init_array 928 936 8 0.9
tv-casting-app debug (read/write) 226032 226104 72 0.0
.bss 78632 78696 64 0.1
.init_array 864 872 8 0.9
.rodata 340576 340640 64 0.0
mbed lock-app CY8CPROTO_062_4343W+release .bss 202620 202652 32 0.0
.data 5872 5880 8 0.1
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1187927 1188003 76 0.0
bss 141277 141297 20 0.0
rodata 152832 152892 60 0.0
text 814932 814952 20 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1136659 1136755 96 0.0
bss 140506 140526 20 0.0
rodata 129396 129460 64 0.0
text 787944 787964 20 0.0
p6 all-clusters-app default (read/write) 2541760 2541840 80 0.0
.bss 137104 137192 88 0.1
.text 1500024 1500104 80 0.0
all-clusters-minimal-app default (read/write) 2487696 2487776 80 0.0
.bss 136328 136416 88 0.1
.data 2744 2752 8 0.3
.text 1445960 1446040 80 0.0
light-app default (read/write) 2422144 2422192 48 0.0
.bss 129432 129520 88 0.1
.data 2600 2608 8 0.3
.text 1380408 1380456 48 0.0
lock-app default (read/write) 2440184 2440232 48 0.0
.bss 129248 129336 88 0.1
.data 2568 2576 8 0.3
.text 1398448 1398496 48 0.0
telink light-switch-app tlsr9518adk80d (read/write) 780900 781048 148 0.0
bss 70564 70584 20 0.0
text 552238 552304 66 0.0
lighting-app tlsr9518adk80d (read/write) 800936 801092 156 0.0
bss 70824 70844 20 0.0
text 568980 569046 66 0.0
Decreases (23 builds for cc13x2_26x2, cyw30739, esp32, k32w, linux)
platform target config section 0bf3ba4 7823ff3 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read/write) 162068 162048 -20 -0.0
pump-app LP_CC2652R7 (read/write) 180108 180080 -28 -0.0
pump-controller-app LP_CC2652R7 (read/write) 188764 188736 -28 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 602150 602094 -56 -0.0
.app_xip_area 461176 461120 -56 -0.0
lock cyw930739m2evb_01 (read/write) 598290 598234 -56 -0.0
.app_xip_area 457188 457132 -56 -0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 596786 596730 -56 -0.0
.app_xip_area 456808 456752 -56 -0.0
esp32 all-clusters-app c3devkit (read only) 1005844 1005504 -340 -0.0
.flash.text 1005844 1005504 -340 -0.0
m5stack (read only) 1060943 1060599 -344 -0.0
.flash.text 1055559 1055215 -344 -0.0
k32w light k32w061+release (read/write) 681412 658004 -23408 -3.4
.bss 80168 69768 -10400 -13.0
.text 597528 580416 -17112 -2.9
lock k32w061+release (read/write) 733444 717068 -16376 -2.2
.bss 80600 70192 -10408 -12.9
.text 649160 639088 -10072 -1.6
linux all-clusters-app debug (read only) 2767185 2766969 -216 -0.0
.text 2348626 2348354 -272 -0.0
all-clusters-minimal-app debug (read only) 2644337 2644121 -216 -0.0
.text 2225218 2224946 -272 -0.0
bridge-app debug+rpc (read only) 2030065 2029865 -200 -0.0
.text 1703698 1703474 -224 -0.0
chip-tool debug (read only) 9704781 9704293 -488 -0.0
.rodata 498045 497981 -64 -0.0
.text 7818149 7817701 -448 -0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9439476 9439092 -384 -0.0
.text 7454260 7453812 -448 -0.0
lighting-app debug+rpc (read only) 2320297 2320145 -152 -0.0
.text 1965810 1965602 -208 -0.0
lock-app debug (read only) 2258929 2258825 -104 -0.0
.text 1896818 1896626 -192 -0.0
ota-provider-app debug (read only) 2066817 2066697 -120 -0.0
.text 1726546 1726338 -208 -0.0
ota-requestor-app debug (read only) 2093937 2093689 -248 -0.0
.text 1756226 1755954 -272 -0.0
shell debug (read only) 2572137 2571953 -184 -0.0
.text 2188002 2187794 -208 -0.0
thermostat-no-ble arm64 (read only) 2367516 2367004 -512 -0.0
.text 1988992 1988400 -592 -0.0
tv-app debug (read only) 2877273 2876977 -296 -0.0
.text 2471538 2471218 -320 -0.0
tv-casting-app debug (read only) 5431761 5431497 -264 -0.0
.text 4731906 4731554 -352 -0.0
Full report (41 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 0bf3ba4 7823ff3 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 648691 648723 32 0.0
(read/write) 158900 158988 88 0.1
.bss 74580 74668 88 0.1
.data 3404 3404 0 0.0
.rodata 84531 84531 0 0.0
.text 563924 563960 36 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 615523 615555 32 0.0
(read/write) 158072 158160 88 0.1
.bss 73812 73900 88 0.1
.data 3344 3344 0 0.0
.rodata 73915 73915 0 0.0
.text 541372 541408 36 0.0
lock-ftd LP_CC2652R7 (read only) 680755 680863 108 0.0
(read/write) 162068 162048 -20 -0.0
.bss 72604 72692 88 0.1
.data 3268 3268 0 0.0
.rodata 96627 96687 60 0.1
.text 583644 583696 52 0.0
lock-mtd LP_CC2652R7 (read only) 630155 630263 108 0.0
(read/write) 145724 145812 88 0.1
.bss 68340 68428 88 0.1
.data 3268 3268 0 0.0
.rodata 96507 96567 60 0.1
.text 533156 533208 52 0.0
pump-app LP_CC2652R7 (read only) 663627 663743 116 0.0
(read/write) 180108 180080 -28 -0.0
.bss 72748 72836 88 0.1
.data 3300 3300 0 0.0
.rodata 85643 85703 60 0.1
.text 577504 577556 52 0.0
pump-controller-app LP_CC2652R7 (read only) 655083 655199 116 0.0
(read/write) 188764 188736 -28 -0.0
.bss 72860 72948 88 0.1
.data 3264 3264 0 0.0
.rodata 83835 83895 60 0.1
.text 570768 570820 52 0.0
shell LP_CC2652R7 (read only) 641706 641738 32 0.0
(read/write) 154456 154544 88 0.1
.bss 76932 77020 88 0.1
.data 3408 3408 0 0.0
.rodata 81522 81522 0 0.0
.text 559952 559980 28 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 602150 602094 -56 -0.0
.app_xip_area 461176 461120 -56 -0.0
.bss 83912 83912 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 598290 598234 -56 -0.0
.app_xip_area 457188 457132 -56 -0.0
.bss 84072 84072 0 0.0
.data 712 712 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 596786 596730 -56 -0.0
.app_xip_area 456808 456752 -56 -0.0
.bss 83044 83044 0 0.0
.data 620 620 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 915712 915840 128 0.0
(read/write) 133184 133280 96 0.1
.bss 131088 131176 88 0.1
.data 2096 2100 4 0.2
.text 915704 915832 128 0.0
BRD4161A+rpc (read only) 949924 950068 144 0.0
(read/write) 149876 149968 92 0.1
.bss 147576 147664 88 0.1
.data 2300 2304 4 0.2
.text 949916 950060 144 0.0
BRD4161A+rs911x (read only) 787860 787924 64 0.0
(read/write) 129404 129496 92 0.1
.bss 127308 127396 88 0.1
.data 2096 2100 4 0.2
.text 787852 787916 64 0.0
lock-app BRD4161A+wf200 (read only) 955400 955428 28 0.0
(read/write) 128244 128332 88 0.1
.bss 126172 126260 88 0.1
.data 2068 2072 4 0.2
.text 955392 955420 28 0.0
window-app BRD4161A (read only) 900648 900776 128 0.0
(read/write) 133256 133344 88 0.1
.bss 131160 131248 88 0.1
.data 2092 2096 4 0.2
.text 900640 900768 128 0.0
esp32 all-clusters-app c3devkit (read only) 1005844 1005504 -340 -0.0
(read/write) 1480026 1480178 152 0.0
.dram0.bss 69144 69232 88 0.1
.dram0.data 14656 14656 0 0.0
.flash.rodata 210792 210864 72 0.0
.flash.text 1005844 1005504 -340 -0.0
.iram0.text 62954 62954 0 0.0
m5stack (read only) 1060943 1060599 -344 -0.0
(read/write) 482232 482380 148 0.0
.dram0.bss 74664 74752 88 0.1
.dram0.data 34208 34208 0 0.0
.flash.rodata 241364 241424 60 0.0
.flash.text 1055559 1055215 -344 -0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 681412 658004 -23408 -3.4
.bss 80168 69768 -10400 -13.0
.data 2012 2020 8 0.4
.text 597528 580416 -17112 -2.9
lock k32w061+release (read/write) 733444 717068 -16376 -2.2
.bss 80600 70192 -10408 -12.9
.data 1980 1988 8 0.4
.text 649160 639088 -10072 -1.6
linux all-clusters-app debug (read only) 2767185 2766969 -216 -0.0
(read/write) 178272 178344 72 0.0
.bss 86240 86304 64 0.1
.data 2032 2032 0 0.0
.data.rel.ro 83848 83848 0 0.0
.dynamic 608 608 0 0.0
.got 4496 4496 0 0.0
.init 27 27 0 0.0
.init_array 1016 1024 8 0.8
.rodata 244605 244637 32 0.0
.text 2348626 2348354 -272 -0.0
all-clusters-minimal-app debug (read only) 2644337 2644121 -216 -0.0
(read/write) 170304 170376 72 0.0
.bss 85504 85568 64 0.1
.data 1904 1904 0 0.0
.data.rel.ro 76728 76728 0 0.0
.dynamic 608 608 0 0.0
.got 4496 4496 0 0.0
.init 27 27 0 0.0
.init_array 1016 1024 8 0.8
.rodata 246557 246589 32 0.0
.text 2225218 2224946 -272 -0.0
bridge-app debug+rpc (read only) 2030065 2029865 -200 -0.0
(read/write) 147928 148000 72 0.0
.bss 72896 72960 64 0.1
.data 3936 3936 0 0.0
.data.rel.ro 65528 65528 0 0.0
.dynamic 592 592 0 0.0
.got 4272 4272 0 0.0
.init 27 27 0 0.0
.init_array 688 696 8 1.2
.rodata 169824 169824 0 0.0
.text 1703698 1703474 -224 -0.0
chip-tool debug (read only) 9704781 9704293 -488 -0.0
(read/write) 600688 600760 72 0.0
.bss 23968 24032 64 0.3
.data 1120 1120 0 0.0
.data.rel.ro 569296 569296 0 0.0
.dynamic 624 624 0 0.0
.got 5008 5008 0 0.0
.init 27 27 0 0.0
.init_array 648 656 8 1.2
.rodata 498045 497981 -64 -0.0
.text 7818149 7817701 -448 -0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9439476 9439092 -384 -0.0
(read/write) 666897 666993 96 0.0
.bss 42257 42305 48 0.1
.data 1176 1176 0 0.0
.data.rel.ro 604672 604696 24 0.0
.dynamic 528 528 0 0.0
.got 14984 14992 8 0.1
.init 24 24 0 0.0
.init_array 184 192 8 4.3
.rodata 461372 461372 0 0.0
.text 7454260 7453812 -448 -0.0
lighting-app debug+rpc (read only) 2320297 2320145 -152 -0.0
(read/write) 153568 153640 72 0.0
.bss 74752 74816 64 0.1
.data 2048 2048 0 0.0
.data.rel.ro 71016 71016 0 0.0
.dynamic 608 608 0 0.0
.got 4344 4344 0 0.0
.init 27 27 0 0.0
.init_array 792 800 8 1.0
.rodata 188712 188744 32 0.0
.text 1965810 1965602 -208 -0.0
lock-app debug (read only) 2258929 2258825 -104 -0.0
(read/write) 148664 148736 72 0.0
.bss 73440 73504 64 0.1
.data 1568 1568 0 0.0
.data.rel.ro 67944 67944 0 0.0
.dynamic 592 592 0 0.0
.got 4336 4336 0 0.0
.init 27 27 0 0.0
.init_array 752 760 8 1.1
.rodata 201768 201832 64 0.0
.text 1896818 1896626 -192 -0.0
ota-provider-app debug (read only) 2066817 2066697 -120 -0.0
(read/write) 141584 141656 72 0.1
.bss 73024 73088 64 0.1
.data 1768 1768 0 0.0
.data.rel.ro 61000 61000 0 0.0
.dynamic 608 608 0 0.0
.got 4504 4504 0 0.0
.init 27 27 0 0.0
.init_array 648 656 8 1.2
.rodata 181176 181240 64 0.0
.text 1726546 1726338 -208 -0.0
ota-requestor-app debug (read only) 2093937 2093689 -248 -0.0
(read/write) 144424 144496 72 0.0
.bss 73728 73792 64 0.1
.data 1960 1960 0 0.0
.data.rel.ro 63096 63096 0 0.0
.dynamic 592 592 0 0.0
.got 4344 4344 0 0.0
.init 27 27 0 0.0
.init_array 672 680 8 1.2
.rodata 177152 177152 0 0.0
.text 1756226 1755954 -272 -0.0
shell debug (read only) 2572137 2571953 -184 -0.0
(read/write) 201680 201752 72 0.0
.bss 117096 117160 64 0.1
.data 1376 1376 0 0.0
.data.rel.ro 77464 77464 0 0.0
.dynamic 608 608 0 0.0
.got 4192 4192 0 0.0
.init 27 27 0 0.0
.init_array 928 936 8 0.9
.rodata 224690 224690 0 0.0
.text 2188002 2187794 -208 -0.0
thermostat-no-ble arm64 (read only) 2367516 2367004 -512 -0.0
(read/write) 177505 177601 96 0.1
.bss 87921 87969 48 0.1
.data 1528 1528 0 0.0
.data.rel.ro 80264 80288 24 0.0
.dynamic 528 528 0 0.0
.got 4792 4800 8 0.2
.init 24 24 0 0.0
.init_array 376 384 8 2.1
.rodata 148828 148828 0 0.0
.text 1988992 1988400 -592 -0.0
tv-app debug (read only) 2877273 2876977 -296 -0.0
(read/write) 280208 280280 72 0.0
.bss 191048 191112 64 0.0
.data 4672 4672 0 0.0
.data.rel.ro 78224 78224 0 0.0
.dynamic 592 592 0 0.0
.got 4728 4728 0 0.0
.init 27 27 0 0.0
.init_array 928 936 8 0.9
.rodata 223104 223104 0 0.0
.text 2471538 2471218 -320 -0.0
tv-casting-app debug (read only) 5431761 5431497 -264 -0.0
(read/write) 226032 226104 72 0.0
.bss 78632 78696 64 0.1
.data 2400 2400 0 0.0
.data.rel.ro 138792 138792 0 0.0
.dynamic 608 608 0 0.0
.got 4728 4728 0 0.0
.init 27 27 0 0.0
.init_array 864 872 8 0.9
.rodata 340576 340640 64 0.0
.text 4731906 4731554 -352 -0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2425752 2425752 0 0.0
.bss 202620 202652 32 0.0
.data 5872 5880 8 0.1
.text 1388396 1388396 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1187927 1188003 76 0.0
bss 141277 141297 20 0.0
rodata 152832 152892 60 0.0
text 814932 814952 20 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1136659 1136755 96 0.0
bss 140506 140526 20 0.0
rodata 129396 129460 64 0.0
text 787944 787964 20 0.0
p6 all-clusters-app default (read/write) 2541760 2541840 80 0.0
.bss 137104 137192 88 0.1
.data 2808 2808 0 0.0
.text 1500024 1500104 80 0.0
all-clusters-minimal-app default (read/write) 2487696 2487776 80 0.0
.bss 136328 136416 88 0.1
.data 2744 2752 8 0.3
.text 1445960 1446040 80 0.0
light-app default (read/write) 2422144 2422192 48 0.0
.bss 129432 129520 88 0.1
.data 2600 2608 8 0.3
.text 1380408 1380456 48 0.0
lock-app default (read/write) 2440184 2440232 48 0.0
.bss 129248 129336 88 0.1
.data 2568 2576 8 0.3
.text 1398448 1398496 48 0.0
telink light-switch-app tlsr9518adk80d (read/write) 780900 781048 148 0.0
bss 70564 70584 20 0.0
noinit 40416 40416 0 0.0
text 552238 552304 66 0.0
lighting-app tlsr9518adk80d (read/write) 800936 801092 156 0.0
bss 70824 70844 20 0.0
noinit 40416 40416 0 0.0
text 568980 569046 66 0.0

@woody-apple woody-apple merged commit e8c2a6f into project-chip:master Jun 3, 2022
@bzbarsky-apple bzbarsky-apple deleted the ble-advertising-saner branch June 3, 2022 03:55
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