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

[zephyr] Added several improvements to the BLEMgr implementation #33189

Merged
merged 3 commits into from
May 7, 2024

Conversation

kkasperczyk-no
Copy link
Contributor

Added several improvements to the Zephyr BLEMgr, that allows to:

  • Support Bluetooth LE bonding and more than one Bluetooth LE identity, what enables using different type of Bluetooth LE address than static random (for non-Matter related BLE services)
  • Filtering Zephyr BLE events to not handle them in the BLEMgr if there are not related to CHIPoBLE service, but they come from the other services that can be used on the device
  • Restart Bluetooth LE advertising in case of failures, as so far if the first attempt fails the API does not allow to try again later (returned state is enabled, but it is actually not working).

Currently the Zephyr BLE Manager rotates Bluetooth addresses
on every boot and it does this by creating new Bluetooth identity.
Because of that the Zephyr stack does not create default Bluetooth
ID, which is required e.g. for the bonding purposes.

Added creating two separate Bluetooth identities - for the Matter
service advertising and for the bonding purposes.

Signed-off-by: Kamil Kasperczyk <[email protected]>
Matter BLEManager handles all BT connect and disconnect callbacks
no matter if these are Matter related ones or not. It collides
with other not Matter-related services that trigger Matter
CHIPoBLE service advertising changes. Added role check that
allows to at least drop all callbacks related to BT central role.

Signed-off-by: Kamil Kasperczyk <[email protected]>
Copy link

github-actions bot commented Apr 26, 2024

PR #33189: Size comparison from cfb9404 to 332587a

Increases (14 builds for nrfconnect)
platform target config section cfb9404 332587a change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1050432 1051072 640 0.1
bss 130015 130021 6 0.0
rodata 101552 101696 144 0.1
text 771624 772120 496 0.1
nrf7002dk_nrf5340_cpuapp (read/write) 1226216 1226632 416 0.0
bss 126771 126777 6 0.0
rodata 151384 151392 8 0.0
text 798024 798432 408 0.1
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 997896 998504 608 0.1
bss 128873 128879 6 0.0
rodata 88816 88960 144 0.2
text 732972 733444 472 0.1
light-switch-app nrf52840dk_nrf52840 (read/write) 949596 950236 640 0.1
bss 122934 122940 6 0.0
rodata 78276 78420 144 0.2
text 701224 701720 496 0.1
nrf7002dk_nrf5340_cpuapp (read/write) 1198988 1199632 644 0.1
bss 118947 118953 6 0.0
rodata 178516 178664 148 0.1
text 747356 747852 496 0.1
lighting-app nrf52840dk_nrf52840+rpc (read/write) 1049556 1050200 644 0.1
bss 134685 134691 6 0.0
rodata 83988 84136 148 0.2
text 780568 781064 496 0.1
nrf52840dongle_nrf52840 (read/write) 1004356 1004984 628 0.1
bss 142690 142696 6 0.0
rodata 73916 74064 148 0.2
text 732720 733204 484 0.1
nrf5340dk_nrf5340_cpuapp (read/write) 947496 948140 644 0.1
bss 133491 133497 6 0.0
rodata 79784 79932 148 0.2
text 682276 682772 496 0.1
nrf7002dk_nrf5340_cpuapp (read/write) 1198988 1199632 644 0.1
bss 118947 118953 6 0.0
rodata 178516 178664 148 0.1
text 747356 747852 496 0.1
lock-app nrf52840dk_nrf52840 (read/write) 962004 962644 640 0.1
bss 123465 123471 6 0.0
rodata 97836 97980 144 0.1
text 693596 694092 496 0.1
nrf5340dk_nrf5340_cpuapp (read/write) 892248 892892 644 0.1
bss 123531 123537 6 0.0
rodata 99264 99412 148 0.1
text 617456 617952 496 0.1
nrf7002dk_nrf5340_cpuapp (read/write) 1212328 1212972 644 0.1
bss 119478 119484 6 0.0
rodata 198084 198232 148 0.1
text 740624 741120 496 0.1
pump-app nrf52840dk_nrf52840 (read/write) 912920 913564 644 0.1
bss 122142 122148 6 0.0
rodata 73336 73484 148 0.2
text 670336 670832 496 0.1
pump-controller-app nrf52840dk_nrf52840 (read/write) 899224 899868 644 0.1
bss 121941 121947 6 0.0
rodata 70072 70220 148 0.2
text 660176 660672 496 0.1
Decreases (1 build for efr32)
platform target config section cfb9404 332587a change % change
efr32 window-app BRD4187C (read/write) 1136028 1136020 -8 -0.0
.text 968160 968152 -8 -0.0
Full report (82 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink)
platform target config section cfb9404 332587a change % change
bl602 lighting-app bl602 (read/write) 1443026 1443026 0 0.0
.bss 85720 85720 0 0.0
.data 9512 9512 0 0.0
.rodata 159092 159092 0 0.0
.text 1108044 1108044 0 0.0
bl602+mfd (read/write) 1457450 1457450 0 0.0
.bss 85888 85888 0 0.0
.data 9488 9488 0 0.0
.rodata 158052 158052 0 0.0
.text 1123362 1123362 0 0.0
bl602+rpc (read/write) 1490674 1490674 0 0.0
.bss 93760 93760 0 0.0
.data 9888 9888 0 0.0
.rodata 166660 166660 0 0.0
.text 1139690 1139690 0 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1209067 1209067 0 0.0
.bss 11185 11185 0 0.0
.data 3704 3704 0 0.0
.rodata 108788 108788 0 0.0
.text 978458 978458 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1219903 1219903 0 0.0
.bss 11361 11361 0 0.0
.data 3688 3688 0 0.0
.rodata 107728 107728 0 0.0
.text 990212 990212 0 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1300555 1300555 0 0.0
.bss 19669 19669 0 0.0
.data 4248 4248 0 0.0
.rodata 124160 124160 0 0.0
.text 1053166 1053166 0 0.0
bl706-eth (read/write) 1025433 1025433 0 0.0
.bss 23760 23760 0 0.0
.data 3256 3256 0 0.0
.rodata 101776 101776 0 0.0
.text 768334 768334 0 0.0
bl706-wifi (read/write) 1260066 1260066 0 0.0
.bss 10645 10645 0 0.0
.data 3704 3704 0 0.0
.rodata 122776 122776 0 0.0
.text 1000198 1000198 0 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1178404 1178404 0 0.0
.bss 16396 16396 0 0.0
.data 5072 5072 0 0.0
.rodata 102792 102792 0 0.0
.text 971312 971312 0 0.0
bl702l+mfd (read only) 512 512 0 0.0
(read/write) 1189804 1189804 0 0.0
.bss 16572 16572 0 0.0
.data 5048 5048 0 0.0
.rodata 101732 101732 0 0.0
.text 983634 983634 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 783668 783668 0 0.0
(read/write) 176660 176660 0 0.0
.bss 98604 98604 0 0.0
.data 3588 3588 0 0.0
.rodata 82996 82996 0 0.0
.text 700404 700404 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 799556 799556 0 0.0
(read/write) 187148 187148 0 0.0
.bss 109092 109092 0 0.0
.data 3588 3588 0 0.0
.rodata 76980 76980 0 0.0
.text 722308 722308 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 788420 788420 0 0.0
(read/write) 181268 181268 0 0.0
.bss 103212 103212 0 0.0
.data 3588 3588 0 0.0
.rodata 103900 103900 0 0.0
.text 684252 684252 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 740676 740676 0 0.0
(read/write) 175636 175636 0 0.0
.bss 97344 97344 0 0.0
.data 3580 3580 0 0.0
.rodata 78660 78660 0 0.0
.text 661748 661748 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 726300 726300 0 0.0
(read/write) 175844 175844 0 0.0
.bss 97568 97568 0 0.0
.data 3572 3572 0 0.0
.rodata 74436 74436 0 0.0
.text 651596 651596 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 587534 587534 0 0.0
(read/write) 208372 208372 0 0.0
.bss 201596 201596 0 0.0
.data 1652 1652 0 0.0
.rodata 87526 87526 0 0.0
.text 497884 497884 0 0.0
lock CC3235SF_LAUNCHXL (read only) 633702 633702 0 0.0
(read/write) 208636 208636 0 0.0
.bss 202000 202000 0 0.0
.data 1516 1516 0 0.0
.rodata 108206 108206 0 0.0
.text 523376 523376 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 570567 570567 0 0.0
.app_xip_area 460477 460477 0 0.0
.bss 64908 64908 0 0.0
.data 760 760 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 552783 552783 0 0.0
.app_xip_area 438021 438021 0 0.0
.bss 69572 69572 0 0.0
.data 768 768 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 573327 573327 0 0.0
.app_xip_area 464733 464733 0 0.0
.bss 63452 63452 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 565783 565783 0 0.0
.app_xip_area 454005 454005 0 0.0
.bss 66556 66556 0 0.0
.data 800 800 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4187C (read/write) 1069560 1069560 0 0.0
.bss 179920 179920 0 0.0
.data 3432 3432 0 0.0
.text 886188 886188 0 0.0
lock-app BRD4338a (read/write) 963036 963036 0 0.0
.bss 210504 210504 0 0.0
.data 30288 30288 0 0.0
.text 702880 702880 0 0.0
window-app BRD4187C (read/write) 1136028 1136020 -8 -0.0
.bss 164512 164512 0 0.0
.data 3336 3336 0 0.0
.text 968160 968152 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1215062 1215062 0 0.0
(read/write) 1751160 1751160 0 0.0
.dram0.bss 74616 74616 0 0.0
.dram0.data 13652 13652 0 0.0
.flash.rodata 253352 253352 0 0.0
.flash.text 1215062 1215062 0 0.0
.iram0.text 75570 75570 0 0.0
m5stack (read only) 1256419 1256419 0 0.0
(read/write) 537564 537564 0 0.0
.dram0.bss 81368 81368 0 0.0
.dram0.data 35196 35196 0 0.0
.flash.rodata 285080 285080 0 0.0
.flash.text 1250255 1250255 0 0.0
.iram0.text 125403 125403 0 0.0
linux air-purifier-app debug (read only) 2651229 2651229 0 0.0
(read/write) 130352 130352 0 0.0
.bss 47016 47016 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 75112 75112 0 0.0
.dynamic 608 608 0 0.0
.got 4520 4520 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 185040 185040 0 0.0
.text 2287077 2287077 0 0.0
all-clusters-app debug (read only) 5966129 5966129 0 0.0
(read/write) 481992 481992 0 0.0
.bss 135328 135328 0 0.0
.data 4560 4560 0 0.0
.data.rel.ro 334664 334664 0 0.0
.dynamic 624 624 0 0.0
.got 5328 5328 0 0.0
.init 27 27 0 0.0
.init_array 1440 1440 0 0.0
.rodata 351984 351984 0 0.0
.text 5178883 5178883 0 0.0
all-clusters-minimal-app debug (read only) 5246105 5246105 0 0.0
(read/write) 237944 237944 0 0.0
.bss 128160 128160 0 0.0
.data 4464 4464 0 0.0
.data.rel.ro 98248 98248 0 0.0
.dynamic 624 624 0 0.0
.got 5248 5248 0 0.0
.init 27 27 0 0.0
.init_array 1168 1168 0 0.0
.rodata 290634 290634 0 0.0
.text 4718867 4718867 0 0.0
bridge-app debug (read only) 4637345 4637345 0 0.0
(read/write) 218856 218856 0 0.0
.bss 118688 118688 0 0.0
.data 6240 6240 0 0.0
.data.rel.ro 87200 87200 0 0.0
.dynamic 624 624 0 0.0
.got 5216 5216 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 230858 230858 0 0.0
.text 4184307 4184307 0 0.0
chip-tool debug (read only) 12088873 12088873 0 0.0
(read/write) 523424 523424 0 0.0
.bss 95032 95032 0 0.0
.data 5122 5122 0 0.0
.data.rel.ro 416032 416032 0 0.0
.dynamic 624 624 0 0.0
.got 5736 5736 0 0.0
.init 27 27 0 0.0
.init_array 832 832 0 0.0
.rodata 451769 451769 0 0.0
.text 10928627 10928627 0 0.0
chip-tool-ipv6only arm64 (read only) 11406612 11406612 0 0.0
(read/write) 588960 588960 0 0.0
.bss 104008 104008 0 0.0
.data 4520 4520 0 0.0
.data.rel.ro 455976 455976 0 0.0
.dynamic 512 512 0 0.0
.got 17104 17104 0 0.0
.init 24 24 0 0.0
.init_array 280 280 0 0.0
.rodata 356276 356276 0 0.0
.text 10168552 10168552 0 0.0
lighting-app debug+rpc+ui (read only) 5560897 5560897 0 0.0
(read/write) 227624 227624 0 0.0
.bss 119632 119632 0 0.0
.data 4896 4896 0 0.0
.data.rel.ro 95568 95568 0 0.0
.dynamic 672 672 0 0.0
.got 5856 5856 0 0.0
.init 27 27 0 0.0
.init_array 976 976 0 0.0
.rodata 354772 354772 0 0.0
.text 4957555 4957555 0 0.0
lock-app debug (read only) 4703273 4703273 0 0.0
(read/write) 206048 206048 0 0.0
.bss 113960 113960 0 0.0
.data 4192 4192 0 0.0
.data.rel.ro 81192 81192 0 0.0
.dynamic 624 624 0 0.0
.got 5168 5168 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 256714 256714 0 0.0
.text 4233443 4233443 0 0.0
ota-provider-app debug (read only) 4313177 4313177 0 0.0
(read/write) 194520 194520 0 0.0
.bss 113728 113728 0 0.0
.data 4368 4368 0 0.0
.data.rel.ro 70480 70480 0 0.0
.dynamic 624 624 0 0.0
.got 4536 4536 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 209514 209514 0 0.0
.text 3909059 3909059 0 0.0
ota-requestor-app debug (read only) 4443801 4443801 0 0.0
(read/write) 198888 198888 0 0.0
.bss 114624 114624 0 0.0
.data 4768 4768 0 0.0
.data.rel.ro 73584 73584 0 0.0
.dynamic 624 624 0 0.0
.got 4472 4472 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 215594 215594 0 0.0
.text 4029059 4029059 0 0.0
shell debug (read only) 2935329 2935329 0 0.0
(read/write) 157360 157360 0 0.0
.bss 62800 62800 0 0.0
.data 1424 1424 0 0.0
.data.rel.ro 87344 87344 0 0.0
.dynamic 592 592 0 0.0
.got 4056 4056 0 0.0
.init 27 27 0 0.0
.init_array 1112 1112 0 0.0
.rodata 188480 188480 0 0.0
.text 2571618 2571618 0 0.0
thermostat-no-ble arm64 (read only) 4436140 4436140 0 0.0
(read/write) 243680 243680 0 0.0
.bss 122264 122264 0 0.0
.data 3408 3408 0 0.0
.data.rel.ro 104464 104464 0 0.0
.dynamic 512 512 0 0.0
.got 8720 8720 0 0.0
.init 24 24 0 0.0
.init_array 448 448 0 0.0
.rodata 160388 160388 0 0.0
.text 3938808 3938808 0 0.0
tv-app debug (read only) 5778945 5778945 0 0.0
(read/write) 353752 353752 0 0.0
.bss 244528 244528 0 0.0
.data 6560 6560 0 0.0
.data.rel.ro 95368 95368 0 0.0
.dynamic 624 624 0 0.0
.got 5464 5464 0 0.0
.init 27 27 0 0.0
.init_array 1184 1184 0 0.0
.rodata 295722 295722 0 0.0
.text 5239347 5239347 0 0.0
tv-casting-app debug (read only) 9904481 9904481 0 0.0
(read/write) 343552 343552 0 0.0
.bss 158744 158744 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 174896 174896 0 0.0
.dynamic 624 624 0 0.0
.got 5040 5040 0 0.0
.init 27 27 0 0.0
.init_array 1216 1216 0 0.0
.rodata 385112 385112 0 0.0
.text 9052371 9052371 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2535904 2535904 0 0.0
.bss 220752 220752 0 0.0
.data 5216 5216 0 0.0
.text 1498588 1498588 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1050432 1051072 640 0.1
bss 130015 130021 6 0.0
rodata 101552 101696 144 0.1
text 771624 772120 496 0.1
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1226216 1226632 416 0.0
bss 126771 126777 6 0.0
rodata 151384 151392 8 0.0
text 798024 798432 408 0.1
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 997896 998504 608 0.1
bss 128873 128879 6 0.0
rodata 88816 88960 144 0.2
text 732972 733444 472 0.1
light-switch-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 949596 950236 640 0.1
bss 122934 122940 6 0.0
rodata 78276 78420 144 0.2
text 701224 701720 496 0.1
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1198988 1199632 644 0.1
bss 118947 118953 6 0.0
rodata 178516 178664 148 0.1
text 747356 747852 496 0.1
lighting-app nrf52840dk_nrf52840+rpc (read only) 4 4 0 0.0
(read/write) 1049556 1050200 644 0.1
bss 134685 134691 6 0.0
rodata 83988 84136 148 0.2
text 780568 781064 496 0.1
nrf52840dongle_nrf52840 (read only) 4 4 0 0.0
(read/write) 1004356 1004984 628 0.1
bss 142690 142696 6 0.0
rodata 73916 74064 148 0.2
text 732720 733204 484 0.1
nrf5340dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 947496 948140 644 0.1
bss 133491 133497 6 0.0
rodata 79784 79932 148 0.2
text 682276 682772 496 0.1
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1198988 1199632 644 0.1
bss 118947 118953 6 0.0
rodata 178516 178664 148 0.1
text 747356 747852 496 0.1
lock-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 962004 962644 640 0.1
bss 123465 123471 6 0.0
rodata 97836 97980 144 0.1
text 693596 694092 496 0.1
nrf5340dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 892248 892892 644 0.1
bss 123531 123537 6 0.0
rodata 99264 99412 148 0.1
text 617456 617952 496 0.1
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1212328 1212972 644 0.1
bss 119478 119484 6 0.0
rodata 198084 198232 148 0.1
text 740624 741120 496 0.1
pump-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 912920 913564 644 0.1
bss 122142 122148 6 0.0
rodata 73336 73484 148 0.2
text 670336 670832 496 0.1
pump-controller-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 899224 899868 644 0.1
bss 121941 121947 6 0.0
rodata 70072 70220 148 0.2
text 660176 660672 496 0.1
nxp contact k32w0+release (read only) 575628 575628 0 0.0
(read/write) 83140 83140 0 0.0
.bss 67856 67856 0 0.0
.data 2188 2188 0 0.0
.text 575092 575092 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 702980 702980 0 0.0
.bss 71200 71200 0 0.0
.data 2864 2864 0 0.0
.text 589536 589536 0 0.0
light k32w0+release (read only) 609640 609640 0 0.0
(read/write) 82600 82600 0 0.0
.bss 67296 67296 0 0.0
.data 2208 2208 0 0.0
.text 609104 609104 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 794872 794872 0 0.0
.bss 80736 80736 0 0.0
.data 2064 2064 0 0.0
.text 672704 672704 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 832008 832008 0 0.0
(read/write) 1805724 1805724 0 0.0
.bss 198644 198644 0 0.0
.data 2688 2688 0 0.0
.text 1596004 1596004 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 835160 835160 0 0.0
(read/write) 1727628 1727628 0 0.0
.bss 195524 195524 0 0.0
.data 2656 2656 0 0.0
.text 1521060 1521060 0 0.0
light cy8ckit_062s2_43012 (read only) 841880 841880 0 0.0
(read/write) 1646380 1646380 0 0.0
.bss 188988 188988 0 0.0
.data 2472 2472 0 0.0
.text 1446532 1446532 0 0.0
lock cy8ckit_062s2_43012 (read only) 814808 814808 0 0.0
(read/write) 1675044 1675044 0 0.0
.bss 216068 216068 0 0.0
.data 2464 2464 0 0.0
.text 1448124 1448124 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1133164 1133164 0 0.0
.bss 102588 102588 0 0.0
.data 856 856 0 0.0
.text 645544 645544 0 0.0
lock-app qpg6105+debug (read/write) 1093164 1093164 0 0.0
.bss 97260 97260 0 0.0
.data 860 860 0 0.0
.text 605548 605548 0 0.0
stm32 light STM32WB5MM-DK (read/write) 604745 604745 0 0.0
.bss 128436 128436 0 0.0
.data 688 688 0 0.0
.rodata 80532 80532 0 0.0
.text 385344 385344 0 0.0
telink air-quality-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 833818 833818 0 0.0
bss 49852 49852 0 0.0
text 624496 624496 0 0.0
all-clusters-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 1096896 1096896 0 0.0
bss 101536 101536 0 0.0
text 797896 797896 0 0.0
all-clusters-minimal-app tlsr9528a (read only) 47960 47960 0 0.0
(read/write) 1058360 1058360 0 0.0
bss 109984 109984 0 0.0
text 772258 772258 0 0.0
bridge-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 913880 913880 0 0.0
bss 92740 92740 0 0.0
text 655738 655738 0 0.0
contact-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 835846 835846 0 0.0
bss 49896 49896 0 0.0
text 626596 626596 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 936796 936796 0 0.0
bss 77508 77508 0 0.0
text 703392 703392 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 29122 29122 0 0.0
(read/write) 1090384 1090384 0 0.0
bss 99832 99832 0 0.0
text 793840 793840 0 0.0
lock-app-dfu tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 911092 911092 0 0.0
bss 69176 69176 0 0.0
text 660132 660132 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 932732 932732 0 0.0
bss 92444 92444 0 0.0
text 674774 674774 0 0.0
pump-app tlsr9258a (read only) 52490 52490 0 0.0
(read/write) 833396 833396 0 0.0
bss 58140 58140 0 0.0
text 623596 623596 0 0.0
pump-controller-app tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 799524 799524 0 0.0
bss 56068 56068 0 0.0
text 598502 598502 0 0.0
shell tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 676304 676304 0 0.0
bss 73420 73420 0 0.0
text 462016 462016 0 0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 843570 843570 0 0.0
bss 51524 51524 0 0.0
text 633128 633128 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d (read only) 32220 32220 0 0.0
(read/write) 858405 858405 0 0.0
bss 59692 59692 0 0.0
text 642086 642086 0 0.0
thermostat tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 825064 825064 0 0.0
bss 56400 56400 0 0.0
text 618052 618052 0 0.0
window-covering tlsr9258a (read only) 52490 52490 0 0.0
(read/write) 838292 838292 0 0.0
bss 58356 58356 0 0.0
text 626060 626060 0 0.0

Copy link

github-actions bot commented Apr 26, 2024

PR #33189: Size comparison from 29cfb7f to 5a3ce09

Increases above 0.2%:

platform target config section 29cfb7f 5a3ce09 change % change
nrfconnect lighting-app nrf52840dongle_nrf52840 rodata 73916 74064 148 0.2
pump-app nrf52840dk_nrf52840 rodata 73336 73484 148 0.2
pump-controller-app nrf52840dk_nrf52840 rodata 70072 70220 148 0.2
Increases (14 builds for nrfconnect)
platform target config section 29cfb7f 5a3ce09 change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1059568 1060208 640 0.1
bss 139111 139117 6 0.0
rodata 101552 101696 144 0.1
text 771668 772164 496 0.1
nrf7002dk_nrf5340_cpuapp (read/write) 1236888 1237320 432 0.0
bss 137383 137389 6 0.0
rodata 151384 151392 8 0.0
text 798100 798508 408 0.1
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1007016 1007640 624 0.1
bss 137969 137975 6 0.0
rodata 88816 88960 144 0.2
text 733016 733488 472 0.1
light-switch-app nrf52840dk_nrf52840 (read/write) 958716 959356 640 0.1
bss 132030 132036 6 0.0
rodata 78276 78420 144 0.2
text 701252 701748 496 0.1
nrf7002dk_nrf5340_cpuapp (read/write) 1209692 1210336 644 0.1
bss 129559 129565 6 0.0
rodata 178516 178664 148 0.1
text 747424 747920 496 0.1
lighting-app nrf52840dk_nrf52840+rpc (read/write) 1058676 1059320 644 0.1
bss 143781 143787 6 0.0
rodata 83988 84136 148 0.2
text 780608 781104 496 0.1
nrf52840dongle_nrf52840 (read/write) 1013492 1014120 628 0.1
bss 151786 151792 6 0.0
rodata 73916 74064 148 0.2
text 732764 733248 484 0.1
nrf5340dk_nrf5340_cpuapp (read/write) 956616 957324 708 0.1
bss 142587 142593 6 0.0
rodata 79784 79932 148 0.2
text 682312 682808 496 0.1
nrf7002dk_nrf5340_cpuapp (read/write) 1209692 1210336 644 0.1
bss 129559 129565 6 0.0
rodata 178516 178664 148 0.1
text 747424 747920 496 0.1
lock-app nrf52840dk_nrf52840 (read/write) 971124 971764 640 0.1
bss 132561 132567 6 0.0
rodata 97836 97980 144 0.1
text 693624 694120 496 0.1
nrf5340dk_nrf5340_cpuapp (read/write) 901352 901996 644 0.1
bss 132627 132633 6 0.0
rodata 99264 99412 148 0.1
text 617476 617972 496 0.1
nrf7002dk_nrf5340_cpuapp (read/write) 1222968 1223612 644 0.1
bss 130090 130096 6 0.0
rodata 198084 198232 148 0.1
text 740696 741192 496 0.1
pump-app nrf52840dk_nrf52840 (read/write) 922056 922700 644 0.1
bss 131238 131244 6 0.0
rodata 73336 73484 148 0.2
text 670376 670872 496 0.1
pump-controller-app nrf52840dk_nrf52840 (read/write) 908360 909004 644 0.1
bss 131037 131043 6 0.0
rodata 70072 70220 148 0.2
text 660216 660712 496 0.1
Decreases (1 build for efr32)
platform target config section 29cfb7f 5a3ce09 change % change
efr32 window-app BRD4187C (read/write) 1136180 1136172 -8 -0.0
.text 968288 968280 -8 -0.0
Full report (82 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink)
platform target config section 29cfb7f 5a3ce09 change % change
bl602 lighting-app bl602 (read/write) 1442826 1442826 0 0.0
.bss 85720 85720 0 0.0
.data 9512 9512 0 0.0
.rodata 159092 159092 0 0.0
.text 1107846 1107846 0 0.0
bl602+mfd (read/write) 1457250 1457250 0 0.0
.bss 85888 85888 0 0.0
.data 9488 9488 0 0.0
.rodata 158052 158052 0 0.0
.text 1123164 1123164 0 0.0
bl602+rpc (read/write) 1490474 1490474 0 0.0
.bss 93760 93760 0 0.0
.data 9888 9888 0 0.0
.rodata 166660 166660 0 0.0
.text 1139492 1139492 0 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1208959 1208959 0 0.0
.bss 11185 11185 0 0.0
.data 3704 3704 0 0.0
.rodata 108788 108788 0 0.0
.text 978350 978350 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1219795 1219795 0 0.0
.bss 11361 11361 0 0.0
.data 3688 3688 0 0.0
.rodata 107728 107728 0 0.0
.text 990104 990104 0 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1300447 1300447 0 0.0
.bss 19669 19669 0 0.0
.data 4248 4248 0 0.0
.rodata 124160 124160 0 0.0
.text 1053058 1053058 0 0.0
bl706-eth (read/write) 1025213 1025213 0 0.0
.bss 23760 23760 0 0.0
.data 3256 3256 0 0.0
.rodata 101776 101776 0 0.0
.text 768116 768116 0 0.0
bl706-wifi (read/write) 1259978 1259978 0 0.0
.bss 10645 10645 0 0.0
.data 3704 3704 0 0.0
.rodata 122776 122776 0 0.0
.text 1000110 1000110 0 0.0
bl702l lighting-app bl702l (read/write) 1178808 1178808 0 0.0
.bss 16396 16396 0 0.0
.data 5072 5072 0 0.0
.rodata 102792 102792 0 0.0
.text 971204 971204 0 0.0
bl702l+mfd (read/write) 1190208 1190208 0 0.0
.bss 16572 16572 0 0.0
.data 5048 5048 0 0.0
.rodata 101732 101732 0 0.0
.text 983526 983526 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 783700 783700 0 0.0
(read/write) 176660 176660 0 0.0
.bss 98604 98604 0 0.0
.data 3588 3588 0 0.0
.rodata 82996 82996 0 0.0
.text 700436 700436 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 799580 799580 0 0.0
(read/write) 187148 187148 0 0.0
.bss 109092 109092 0 0.0
.data 3588 3588 0 0.0
.rodata 76980 76980 0 0.0
.text 722336 722336 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 788452 788452 0 0.0
(read/write) 181268 181268 0 0.0
.bss 103212 103212 0 0.0
.data 3588 3588 0 0.0
.rodata 103900 103900 0 0.0
.text 684284 684284 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 740692 740692 0 0.0
(read/write) 175636 175636 0 0.0
.bss 97344 97344 0 0.0
.data 3580 3580 0 0.0
.rodata 78660 78660 0 0.0
.text 661764 661764 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 726332 726332 0 0.0
(read/write) 175844 175844 0 0.0
.bss 97568 97568 0 0.0
.data 3572 3572 0 0.0
.rodata 74436 74436 0 0.0
.text 651628 651628 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 587582 587582 0 0.0
(read/write) 208372 208372 0 0.0
.bss 201596 201596 0 0.0
.data 1652 1652 0 0.0
.rodata 87526 87526 0 0.0
.text 497932 497932 0 0.0
lock CC3235SF_LAUNCHXL (read only) 633750 633750 0 0.0
(read/write) 208636 208636 0 0.0
.bss 202000 202000 0 0.0
.data 1516 1516 0 0.0
.rodata 108206 108206 0 0.0
.text 523424 523424 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 570607 570607 0 0.0
.app_xip_area 460517 460517 0 0.0
.bss 64908 64908 0 0.0
.data 760 760 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 552823 552823 0 0.0
.app_xip_area 438061 438061 0 0.0
.bss 69572 69572 0 0.0
.data 768 768 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 573375 573375 0 0.0
.app_xip_area 464781 464781 0 0.0
.bss 63452 63452 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 565823 565823 0 0.0
.app_xip_area 454045 454045 0 0.0
.bss 66556 66556 0 0.0
.data 800 800 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4187C (read/write) 1069616 1069616 0 0.0
.bss 179944 179944 0 0.0
.data 3432 3432 0 0.0
.text 886220 886220 0 0.0
lock-app BRD4338a (read/write) 963108 963108 0 0.0
.bss 210528 210528 0 0.0
.data 30288 30288 0 0.0
.text 702928 702928 0 0.0
window-app BRD4187C (read/write) 1136180 1136172 -8 -0.0
.bss 164536 164536 0 0.0
.data 3336 3336 0 0.0
.text 968288 968280 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1215186 1215186 0 0.0
(read/write) 1751160 1751160 0 0.0
.dram0.bss 74616 74616 0 0.0
.dram0.data 13652 13652 0 0.0
.flash.rodata 253352 253352 0 0.0
.flash.text 1215186 1215186 0 0.0
.iram0.text 75570 75570 0 0.0
m5stack (read only) 1256523 1256523 0 0.0
(read/write) 537564 537564 0 0.0
.dram0.bss 81368 81368 0 0.0
.dram0.data 35196 35196 0 0.0
.flash.rodata 285080 285080 0 0.0
.flash.text 1250359 1250359 0 0.0
.iram0.text 125403 125403 0 0.0
linux air-purifier-app debug (read only) 2652541 2652541 0 0.0
(read/write) 130352 130352 0 0.0
.bss 47016 47016 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 75112 75112 0 0.0
.dynamic 608 608 0 0.0
.got 4520 4520 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 184944 184944 0 0.0
.text 2288485 2288485 0 0.0
all-clusters-app debug (read only) 5968113 5968113 0 0.0
(read/write) 481992 481992 0 0.0
.bss 135328 135328 0 0.0
.data 4560 4560 0 0.0
.data.rel.ro 334664 334664 0 0.0
.dynamic 624 624 0 0.0
.got 5328 5328 0 0.0
.init 27 27 0 0.0
.init_array 1440 1440 0 0.0
.rodata 351920 351920 0 0.0
.text 5180931 5180931 0 0.0
all-clusters-minimal-app debug (read only) 5247913 5247913 0 0.0
(read/write) 237944 237944 0 0.0
.bss 128160 128160 0 0.0
.data 4464 4464 0 0.0
.data.rel.ro 98248 98248 0 0.0
.dynamic 624 624 0 0.0
.got 5248 5248 0 0.0
.init 27 27 0 0.0
.init_array 1168 1168 0 0.0
.rodata 290570 290570 0 0.0
.text 4720739 4720739 0 0.0
bridge-app debug (read only) 4638721 4638721 0 0.0
(read/write) 218856 218856 0 0.0
.bss 118688 118688 0 0.0
.data 6240 6240 0 0.0
.data.rel.ro 87200 87200 0 0.0
.dynamic 624 624 0 0.0
.got 5216 5216 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 230794 230794 0 0.0
.text 4185747 4185747 0 0.0
chip-tool debug (read only) 12091049 12091049 0 0.0
(read/write) 523424 523424 0 0.0
.bss 95032 95032 0 0.0
.data 5122 5122 0 0.0
.data.rel.ro 416032 416032 0 0.0
.dynamic 624 624 0 0.0
.got 5736 5736 0 0.0
.init 27 27 0 0.0
.init_array 832 832 0 0.0
.rodata 451673 451673 0 0.0
.text 10930899 10930899 0 0.0
chip-tool-ipv6only arm64 (read only) 11408324 11408324 0 0.0
(read/write) 587248 587248 0 0.0
.bss 104008 104008 0 0.0
.data 4520 4520 0 0.0
.data.rel.ro 455976 455976 0 0.0
.dynamic 512 512 0 0.0
.got 17104 17104 0 0.0
.init 24 24 0 0.0
.init_array 280 280 0 0.0
.rodata 356276 356276 0 0.0
.text 10170264 10170264 0 0.0
lighting-app debug+rpc+ui (read only) 5562401 5562401 0 0.0
(read/write) 227624 227624 0 0.0
.bss 119632 119632 0 0.0
.data 4896 4896 0 0.0
.data.rel.ro 95568 95568 0 0.0
.dynamic 672 672 0 0.0
.got 5856 5856 0 0.0
.init 27 27 0 0.0
.init_array 976 976 0 0.0
.rodata 354708 354708 0 0.0
.text 4959123 4959123 0 0.0
lock-app debug (read only) 4704569 4704569 0 0.0
(read/write) 206048 206048 0 0.0
.bss 113960 113960 0 0.0
.data 4192 4192 0 0.0
.data.rel.ro 81192 81192 0 0.0
.dynamic 624 624 0 0.0
.got 5168 5168 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 256650 256650 0 0.0
.text 4234803 4234803 0 0.0
ota-provider-app debug (read only) 4313881 4313881 0 0.0
(read/write) 194552 194552 0 0.0
.bss 113760 113760 0 0.0
.data 4368 4368 0 0.0
.data.rel.ro 70480 70480 0 0.0
.dynamic 624 624 0 0.0
.got 4536 4536 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 209418 209418 0 0.0
.text 3909859 3909859 0 0.0
ota-requestor-app debug (read only) 4444793 4444793 0 0.0
(read/write) 198920 198920 0 0.0
.bss 114656 114656 0 0.0
.data 4768 4768 0 0.0
.data.rel.ro 73584 73584 0 0.0
.dynamic 624 624 0 0.0
.got 4472 4472 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 215530 215530 0 0.0
.text 4030115 4030115 0 0.0
shell debug (read only) 2937185 2937185 0 0.0
(read/write) 157360 157360 0 0.0
.bss 62800 62800 0 0.0
.data 1424 1424 0 0.0
.data.rel.ro 87344 87344 0 0.0
.dynamic 592 592 0 0.0
.got 4056 4056 0 0.0
.init 27 27 0 0.0
.init_array 1112 1112 0 0.0
.rodata 188384 188384 0 0.0
.text 2573570 2573570 0 0.0
thermostat-no-ble arm64 (read only) 4437052 4437052 0 0.0
(read/write) 246864 246864 0 0.0
.bss 122264 122264 0 0.0
.data 3408 3408 0 0.0
.data.rel.ro 104464 104464 0 0.0
.dynamic 512 512 0 0.0
.got 8720 8720 0 0.0
.init 24 24 0 0.0
.init_array 448 448 0 0.0
.rodata 160388 160388 0 0.0
.text 3939720 3939720 0 0.0
tv-app debug (read only) 5780993 5780993 0 0.0
(read/write) 353752 353752 0 0.0
.bss 244528 244528 0 0.0
.data 6560 6560 0 0.0
.data.rel.ro 95368 95368 0 0.0
.dynamic 624 624 0 0.0
.got 5464 5464 0 0.0
.init 27 27 0 0.0
.init_array 1184 1184 0 0.0
.rodata 295594 295594 0 0.0
.text 5241523 5241523 0 0.0
tv-casting-app debug (read only) 9906625 9906625 0 0.0
(read/write) 343552 343552 0 0.0
.bss 158744 158744 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 174896 174896 0 0.0
.dynamic 624 624 0 0.0
.got 5040 5040 0 0.0
.init 27 27 0 0.0
.init_array 1216 1216 0 0.0
.rodata 385016 385016 0 0.0
.text 9054611 9054611 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2535968 2535968 0 0.0
.bss 220752 220752 0 0.0
.data 5216 5216 0 0.0
.text 1498652 1498652 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1059568 1060208 640 0.1
bss 139111 139117 6 0.0
rodata 101552 101696 144 0.1
text 771668 772164 496 0.1
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1236888 1237320 432 0.0
bss 137383 137389 6 0.0
rodata 151384 151392 8 0.0
text 798100 798508 408 0.1
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1007016 1007640 624 0.1
bss 137969 137975 6 0.0
rodata 88816 88960 144 0.2
text 733016 733488 472 0.1
light-switch-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 958716 959356 640 0.1
bss 132030 132036 6 0.0
rodata 78276 78420 144 0.2
text 701252 701748 496 0.1
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1209692 1210336 644 0.1
bss 129559 129565 6 0.0
rodata 178516 178664 148 0.1
text 747424 747920 496 0.1
lighting-app nrf52840dk_nrf52840+rpc (read only) 4 4 0 0.0
(read/write) 1058676 1059320 644 0.1
bss 143781 143787 6 0.0
rodata 83988 84136 148 0.2
text 780608 781104 496 0.1
nrf52840dongle_nrf52840 (read only) 4 4 0 0.0
(read/write) 1013492 1014120 628 0.1
bss 151786 151792 6 0.0
rodata 73916 74064 148 0.2
text 732764 733248 484 0.1
nrf5340dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 956616 957324 708 0.1
bss 142587 142593 6 0.0
rodata 79784 79932 148 0.2
text 682312 682808 496 0.1
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1209692 1210336 644 0.1
bss 129559 129565 6 0.0
rodata 178516 178664 148 0.1
text 747424 747920 496 0.1
lock-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 971124 971764 640 0.1
bss 132561 132567 6 0.0
rodata 97836 97980 144 0.1
text 693624 694120 496 0.1
nrf5340dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 901352 901996 644 0.1
bss 132627 132633 6 0.0
rodata 99264 99412 148 0.1
text 617476 617972 496 0.1
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1222968 1223612 644 0.1
bss 130090 130096 6 0.0
rodata 198084 198232 148 0.1
text 740696 741192 496 0.1
pump-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 922056 922700 644 0.1
bss 131238 131244 6 0.0
rodata 73336 73484 148 0.2
text 670376 670872 496 0.1
pump-controller-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 908360 909004 644 0.1
bss 131037 131043 6 0.0
rodata 70072 70220 148 0.2
text 660216 660712 496 0.1
nxp contact k32w0+release (read only) 575676 575676 0 0.0
(read/write) 83140 83140 0 0.0
.bss 67856 67856 0 0.0
.data 2188 2188 0 0.0
.text 575140 575140 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 703060 703060 0 0.0
.bss 71200 71200 0 0.0
.data 2864 2864 0 0.0
.text 589616 589616 0 0.0
light k32w0+release (read only) 609720 609720 0 0.0
(read/write) 82600 82600 0 0.0
.bss 67296 67296 0 0.0
.data 2208 2208 0 0.0
.text 609184 609184 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 794968 794968 0 0.0
.bss 80736 80736 0 0.0
.data 2064 2064 0 0.0
.text 672800 672800 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 832008 832008 0 0.0
(read/write) 1805804 1805804 0 0.0
.bss 198644 198644 0 0.0
.data 2688 2688 0 0.0
.text 1596084 1596084 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 835160 835160 0 0.0
(read/write) 1727692 1727692 0 0.0
.bss 195524 195524 0 0.0
.data 2656 2656 0 0.0
.text 1521124 1521124 0 0.0
light cy8ckit_062s2_43012 (read only) 841880 841880 0 0.0
(read/write) 1646428 1646428 0 0.0
.bss 188988 188988 0 0.0
.data 2472 2472 0 0.0
.text 1446580 1446580 0 0.0
lock cy8ckit_062s2_43012 (read only) 814808 814808 0 0.0
(read/write) 1675108 1675108 0 0.0
.bss 216068 216068 0 0.0
.data 2464 2464 0 0.0
.text 1448188 1448188 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1133244 1133244 0 0.0
.bss 102588 102588 0 0.0
.data 856 856 0 0.0
.text 645624 645624 0 0.0
lock-app qpg6105+debug (read/write) 1093228 1093228 0 0.0
.bss 97260 97260 0 0.0
.data 860 860 0 0.0
.text 605612 605612 0 0.0
stm32 light STM32WB5MM-DK (read/write) 604841 604841 0 0.0
.bss 128436 128436 0 0.0
.data 688 688 0 0.0
.rodata 80532 80532 0 0.0
.text 385440 385440 0 0.0
telink air-quality-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 833986 833986 0 0.0
bss 49852 49852 0 0.0
text 624660 624660 0 0.0
all-clusters-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 1097056 1097056 0 0.0
bss 101536 101536 0 0.0
text 798052 798052 0 0.0
all-clusters-minimal-app tlsr9528a (read only) 47960 47960 0 0.0
(read/write) 1058520 1058520 0 0.0
bss 109984 109984 0 0.0
text 772414 772414 0 0.0
bridge-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 914064 914064 0 0.0
bss 92740 92740 0 0.0
text 655918 655918 0 0.0
contact-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 836006 836006 0 0.0
bss 49896 49896 0 0.0
text 626760 626760 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 936908 936908 0 0.0
bss 77508 77508 0 0.0
text 703504 703504 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 29122 29122 0 0.0
(read/write) 1090568 1090568 0 0.0
bss 99832 99832 0 0.0
text 794020 794020 0 0.0
lock-app-dfu tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 911260 911260 0 0.0
bss 69176 69176 0 0.0
text 660296 660296 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 932908 932908 0 0.0
bss 92444 92444 0 0.0
text 674954 674954 0 0.0
pump-app tlsr9258a (read only) 52490 52490 0 0.0
(read/write) 833540 833540 0 0.0
bss 58140 58140 0 0.0
text 623736 623736 0 0.0
pump-controller-app tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 799660 799660 0 0.0
bss 56068 56068 0 0.0
text 598642 598642 0 0.0
shell tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 676296 676296 0 0.0
bss 73420 73420 0 0.0
text 462008 462008 0 0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 843738 843738 0 0.0
bss 51524 51524 0 0.0
text 633292 633292 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d (read only) 32220 32220 0 0.0
(read/write) 858573 858573 0 0.0
bss 59692 59692 0 0.0
text 642250 642250 0 0.0
thermostat tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 825208 825208 0 0.0
bss 56400 56400 0 0.0
text 618192 618192 0 0.0
window-covering tlsr9258a (read only) 52490 52490 0 0.0
(read/write) 838452 838452 0 0.0
bss 58356 58356 0 0.0
text 626224 626224 0 0.0

* allow BLE advertising restarts in case of failures
* which can be triggered by calling SetBLEAdvertisingEnabled(true)
  ConnectivityMgr public API from the application code
* do not register CHIPoBLE GATT services when the advertising
  cannot be started
* this allows the disconnection handler to filter out non-Matter
  BLE connections that were terminated
* fix possible underflow of connection counters

Signed-off-by: Marcin Kajor <[email protected]>
Copy link

github-actions bot commented May 6, 2024

PR #33189: Size comparison from 062e063 to 610aad0

Increases above 0.2%:

platform target config section 062e063 610aad0 change % change
nrfconnect lighting-app nrf52840dongle_nrf52840 rodata 73912 74060 148 0.2
pump-app nrf52840dk_nrf52840 rodata 73328 73476 148 0.2
pump-controller-app nrf52840dk_nrf52840 rodata 70064 70212 148 0.2
Increases (14 builds for nrfconnect)
platform target config section 062e063 610aad0 change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1060320 1060960 640 0.1
bss 139123 139129 6 0.0
rodata 101552 101696 144 0.1
text 772428 772924 496 0.1
nrf7002dk_nrf5340_cpuapp (read/write) 1237552 1237984 432 0.0
bss 137419 137425 6 0.0
rodata 151384 151392 8 0.0
text 798724 799132 408 0.1
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1008112 1008720 608 0.1
bss 138029 138035 6 0.0
rodata 88808 88952 144 0.2
text 733980 734452 472 0.1
light-switch-app nrf52840dk_nrf52840 (read/write) 959596 960236 640 0.1
bss 132090 132096 6 0.0
rodata 78276 78420 144 0.2
text 702144 702640 496 0.1
nrf7002dk_nrf5340_cpuapp (read/write) 1210428 1211072 644 0.1
bss 129643 129649 6 0.0
rodata 178516 178664 148 0.1
text 748096 748592 496 0.1
lighting-app nrf52840dk_nrf52840+rpc (read/write) 1059564 1060208 644 0.1
bss 143841 143847 6 0.0
rodata 83980 84128 148 0.2
text 781500 781996 496 0.1
nrf52840dongle_nrf52840 (read/write) 1014448 1015076 628 0.1
bss 151846 151852 6 0.0
rodata 73912 74060 148 0.2
text 733604 734088 484 0.1
nrf5340dk_nrf5340_cpuapp (read/write) 957568 958212 644 0.1
bss 142647 142653 6 0.0
rodata 79776 79924 148 0.2
text 683208 683704 496 0.1
nrf7002dk_nrf5340_cpuapp (read/write) 1210428 1211072 644 0.1
bss 129643 129649 6 0.0
rodata 178516 178664 148 0.1
text 748096 748592 496 0.1
lock-app nrf52840dk_nrf52840 (read/write) 971948 972588 640 0.1
bss 132621 132627 6 0.0
rodata 97828 97972 144 0.1
text 694328 694824 496 0.1
nrf5340dk_nrf5340_cpuapp (read/write) 902128 902772 644 0.1
bss 132687 132693 6 0.0
rodata 99256 99404 148 0.1
text 618188 618684 496 0.1
nrf7002dk_nrf5340_cpuapp (read/write) 1223600 1224244 644 0.1
bss 130174 130180 6 0.0
rodata 198076 198224 148 0.1
text 741212 741708 496 0.1
pump-app nrf52840dk_nrf52840 (read/write) 922800 923444 644 0.1
bss 131298 131304 6 0.0
rodata 73328 73476 148 0.2
text 671136 671632 496 0.1
pump-controller-app nrf52840dk_nrf52840 (read/write) 909280 909924 644 0.1
bss 131097 131103 6 0.0
rodata 70064 70212 148 0.2
text 661016 661512 496 0.1
Decreases (2 builds for efr32)
platform target config section 062e063 610aad0 change % change
efr32 lock-app BRD4338a (read/write) 962060 962052 -8 -0.0
.text 700184 700176 -8 -0.0
window-app BRD4187C (read/write) 1137520 1137512 -8 -0.0
.text 969556 969548 -8 -0.0
Full report (82 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink)
platform target config section 062e063 610aad0 change % change
bl602 lighting-app bl602 (read/write) 1444358 1444358 0 0.0
.bss 85744 85744 0 0.0
.data 9512 9512 0 0.0
.rodata 159200 159200 0 0.0
.text 1109240 1109240 0 0.0
bl602+mfd (read/write) 1458782 1458782 0 0.0
.bss 85912 85912 0 0.0
.data 9488 9488 0 0.0
.rodata 158160 158160 0 0.0
.text 1124558 1124558 0 0.0
bl602+rpc (read/write) 1492006 1492006 0 0.0
.bss 93784 93784 0 0.0
.data 9888 9888 0 0.0
.rodata 166768 166768 0 0.0
.text 1140886 1140886 0 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1210047 1210047 0 0.0
.bss 11185 11185 0 0.0
.data 3704 3704 0 0.0
.rodata 108796 108796 0 0.0
.text 979384 979384 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1220887 1220887 0 0.0
.bss 11361 11361 0 0.0
.data 3688 3688 0 0.0
.rodata 107736 107736 0 0.0
.text 991138 991138 0 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1301535 1301535 0 0.0
.bss 19669 19669 0 0.0
.data 4248 4248 0 0.0
.rodata 124168 124168 0 0.0
.text 1054092 1054092 0 0.0
bl706-eth (read/write) 1026469 1026469 0 0.0
.bss 23760 23760 0 0.0
.data 3256 3256 0 0.0
.rodata 101892 101892 0 0.0
.text 769238 769238 0 0.0
bl706-wifi (read/write) 1261922 1261922 0 0.0
.bss 10645 10645 0 0.0
.data 3704 3704 0 0.0
.rodata 122884 122884 0 0.0
.text 1001916 1001916 0 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1179388 1179388 0 0.0
.bss 16396 16396 0 0.0
.data 5072 5072 0 0.0
.rodata 102800 102800 0 0.0
.text 972238 972238 0 0.0
bl702l+mfd (read/write) 1191296 1191296 0 0.0
.bss 16572 16572 0 0.0
.data 5048 5048 0 0.0
.rodata 101740 101740 0 0.0
.text 984560 984560 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 798356 798356 0 0.0
(read/write) 177612 177612 0 0.0
.bss 99556 99556 0 0.0
.data 3588 3588 0 0.0
.rodata 84924 84924 0 0.0
.text 713168 713168 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 813648 813648 0 0.0
(read/write) 188100 188100 0 0.0
.bss 110044 110044 0 0.0
.data 3588 3588 0 0.0
.rodata 78552 78552 0 0.0
.text 734832 734832 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 802932 802932 0 0.0
(read/write) 182220 182220 0 0.0
.bss 104164 104164 0 0.0
.data 3588 3588 0 0.0
.rodata 105828 105828 0 0.0
.text 696840 696840 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 755212 755212 0 0.0
(read/write) 176588 176588 0 0.0
.bss 98296 98296 0 0.0
.data 3580 3580 0 0.0
.rodata 80580 80580 0 0.0
.text 674368 674368 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 740900 740900 0 0.0
(read/write) 176796 176796 0 0.0
.bss 98520 98520 0 0.0
.data 3572 3572 0 0.0
.rodata 76364 76364 0 0.0
.text 664272 664272 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 605438 605438 0 0.0
(read/write) 209572 209572 0 0.0
.bss 202796 202796 0 0.0
.data 1652 1652 0 0.0
.rodata 89574 89574 0 0.0
.text 513740 513740 0 0.0
lock CC3235SF_LAUNCHXL (read only) 651326 651326 0 0.0
(read/write) 209836 209836 0 0.0
.bss 203200 203200 0 0.0
.data 1516 1516 0 0.0
.rodata 110334 110334 0 0.0
.text 538872 538872 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 571551 571551 0 0.0
.app_xip_area 461437 461437 0 0.0
.bss 64932 64932 0 0.0
.data 760 760 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 553647 553647 0 0.0
.app_xip_area 438861 438861 0 0.0
.bss 69596 69596 0 0.0
.data 768 768 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 574279 574279 0 0.0
.app_xip_area 465661 465661 0 0.0
.bss 63476 63476 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 566855 566855 0 0.0
.app_xip_area 455053 455053 0 0.0
.bss 66580 66580 0 0.0
.data 800 800 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4187C (read/write) 1070820 1070820 0 0.0
.bss 180008 180008 0 0.0
.data 3432 3432 0 0.0
.text 887360 887360 0 0.0
lock-app BRD4338a (read/write) 962060 962052 -8 -0.0
.bss 213064 213064 0 0.0
.data 29448 29448 0 0.0
.text 700184 700176 -8 -0.0
window-app BRD4187C (read/write) 1137520 1137512 -8 -0.0
.bss 164608 164608 0 0.0
.data 3336 3336 0 0.0
.text 969556 969548 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1214950 1214950 0 0.0
(read/write) 1751296 1751296 0 0.0
.dram0.bss 74592 74592 0 0.0
.dram0.data 13652 13652 0 0.0
.flash.rodata 253520 253520 0 0.0
.flash.text 1214950 1214950 0 0.0
.iram0.text 75570 75570 0 0.0
m5stack (read only) 1256655 1256655 0 0.0
(read/write) 537708 537708 0 0.0
.dram0.bss 81344 81344 0 0.0
.dram0.data 35196 35196 0 0.0
.flash.rodata 285248 285248 0 0.0
.flash.text 1250491 1250491 0 0.0
.iram0.text 125403 125403 0 0.0
linux air-purifier-app debug (read only) 2713421 2713421 0 0.0
(read/write) 132432 132432 0 0.0
.bss 47720 47720 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 76440 76440 0 0.0
.dynamic 608 608 0 0.0
.got 4576 4576 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 186352 186352 0 0.0
.text 2344133 2344133 0 0.0
all-clusters-app debug (read only) 6026009 6026009 0 0.0
(read/write) 483976 483976 0 0.0
.bss 136000 136000 0 0.0
.data 4560 4560 0 0.0
.data.rel.ro 335960 335960 0 0.0
.dynamic 624 624 0 0.0
.got 5344 5344 0 0.0
.init 27 27 0 0.0
.init_array 1440 1440 0 0.0
.rodata 353072 353072 0 0.0
.text 5234291 5234291 0 0.0
all-clusters-minimal-app debug (read only) 5309529 5309529 0 0.0
(read/write) 239928 239928 0 0.0
.bss 128864 128864 0 0.0
.data 4464 4464 0 0.0
.data.rel.ro 99496 99496 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 1168 1168 0 0.0
.rodata 291978 291978 0 0.0
.text 4777715 4777715 0 0.0
bridge-app debug (read only) 4700153 4700153 0 0.0
(read/write) 220840 220840 0 0.0
.bss 119392 119392 0 0.0
.data 6240 6240 0 0.0
.data.rel.ro 88464 88464 0 0.0
.dynamic 624 624 0 0.0
.got 5232 5232 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 232426 232426 0 0.0
.text 4242307 4242307 0 0.0
chip-tool debug (read only) 1214514 1214514 0 0.0
(read/write) 524288 524288 0 0.0
.bss 95032 95032 0 0.0
.data 5122 5122 0 0.0
.data.rel.ro 416904 416904 0 0.0
.dynamic 624 624 0 0.0
.got 5736 5736 0 0.0
.init 27 27 0 0.0
.init_array 832 832 0 0.0
.rodata 453081 453081 0 0.0
.text 10981427 10981427 0 0.0
chip-tool-ipv6only arm64 (read only) 11473604 11473604 0 0.0
(read/write) 591600 591600 0 0.0
.bss 104008 104008 0 0.0
.data 4520 4520 0 0.0
.data.rel.ro 457000 457000 0 0.0
.dynamic 512 512 0 0.0
.got 17232 17232 0 0.0
.init 24 24 0 0.0
.init_array 280 280 0 0.0
.rodata 357476 357476 0 0.0
.text 1023151 1023151 0 0.0
lighting-app debug+rpc+ui (read only) 5623745 5623745 0 0.0
(read/write) 229640 229640 0 0.0
.bss 120336 120336 0 0.0
.data 4896 4896 0 0.0
.data.rel.ro 96880 96880 0 0.0
.dynamic 672 672 0 0.0
.got 5864 5864 0 0.0
.init 27 27 0 0.0
.init_array 976 976 0 0.0
.rodata 356276 356276 0 0.0
.text 5015619 5015619 0 0.0
lock-app debug (read only) 4767193 4767193 0 0.0
(read/write) 208032 208032 0 0.0
.bss 114664 114664 0 0.0
.data 4192 4192 0 0.0
.data.rel.ro 82472 82472 0 0.0
.dynamic 624 624 0 0.0
.got 5184 5184 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 258346 258346 0 0.0
.text 4292499 4292499 0 0.0
ota-provider-app debug (read only) 4375033 4375033 0 0.0
(read/write) 196504 196504 0 0.0
.bss 114464 114464 0 0.0
.data 4368 4368 0 0.0
.data.rel.ro 71712 71712 0 0.0
.dynamic 624 624 0 0.0
.got 4552 4552 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 211178 211178 0 0.0
.text 3966163 3966163 0 0.0
ota-requestor-app debug (read only) 4505737 4505737 0 0.0
(read/write) 200872 200872 0 0.0
.bss 115360 115360 0 0.0
.data 4768 4768 0 0.0
.data.rel.ro 74816 74816 0 0.0
.dynamic 624 624 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 217258 217258 0 0.0
.text 4086243 4086243 0 0.0
shell debug (read only) 2997553 2997553 0 0.0
(read/write) 159408 159408 0 0.0
.bss 63504 63504 0 0.0
.data 1424 1424 0 0.0
.data.rel.ro 88640 88640 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 1112 1112 0 0.0
.rodata 189984 189984 0 0.0
.text 2628610 2628610 0 0.0
thermostat-no-ble arm64 (read only) 4493948 4493948 0 0.0
(read/write) 248008 248008 0 0.0
.bss 122984 122984 0 0.0
.data 3408 3408 0 0.0
.data.rel.ro 105912 105912 0 0.0
.dynamic 512 512 0 0.0
.got 8960 8960 0 0.0
.init 24 24 0 0.0
.init_array 448 448 0 0.0
.rodata 161876 161876 0 0.0
.text 3990872 3990872 0 0.0
tv-app debug (read only) 5823329 5823329 0 0.0
(read/write) 355224 355224 0 0.0
.bss 245136 245136 0 0.0
.data 6560 6560 0 0.0
.data.rel.ro 96248 96248 0 0.0
.dynamic 624 624 0 0.0
.got 5464 5464 0 0.0
.init 27 27 0 0.0
.init_array 1184 1184 0 0.0
.rodata 296554 296554 0 0.0
.text 5280643 5280643 0 0.0
tv-casting-app debug (read only) 9983769 9983769 0 0.0
(read/write) 345632 345632 0 0.0
.bss 159448 159448 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 176208 176208 0 0.0
.dynamic 624 624 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 1216 1216 0 0.0
.rodata 386648 386648 0 0.0
.text 9126275 9126275 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2536744 2536744 0 0.0
.bss 220768 220768 0 0.0
.data 5216 5216 0 0.0
.text 1499428 1499428 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1060320 1060960 640 0.1
bss 139123 139129 6 0.0
rodata 101552 101696 144 0.1
text 772428 772924 496 0.1
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1237552 1237984 432 0.0
bss 137419 137425 6 0.0
rodata 151384 151392 8 0.0
text 798724 799132 408 0.1
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1008112 1008720 608 0.1
bss 138029 138035 6 0.0
rodata 88808 88952 144 0.2
text 733980 734452 472 0.1
light-switch-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 959596 960236 640 0.1
bss 132090 132096 6 0.0
rodata 78276 78420 144 0.2
text 702144 702640 496 0.1
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1210428 1211072 644 0.1
bss 129643 129649 6 0.0
rodata 178516 178664 148 0.1
text 748096 748592 496 0.1
lighting-app nrf52840dk_nrf52840+rpc (read only) 4 4 0 0.0
(read/write) 1059564 1060208 644 0.1
bss 143841 143847 6 0.0
rodata 83980 84128 148 0.2
text 781500 781996 496 0.1
nrf52840dongle_nrf52840 (read only) 4 4 0 0.0
(read/write) 1014448 1015076 628 0.1
bss 151846 151852 6 0.0
rodata 73912 74060 148 0.2
text 733604 734088 484 0.1
nrf5340dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 957568 958212 644 0.1
bss 142647 142653 6 0.0
rodata 79776 79924 148 0.2
text 683208 683704 496 0.1
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1210428 1211072 644 0.1
bss 129643 129649 6 0.0
rodata 178516 178664 148 0.1
text 748096 748592 496 0.1
lock-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 971948 972588 640 0.1
bss 132621 132627 6 0.0
rodata 97828 97972 144 0.1
text 694328 694824 496 0.1
nrf5340dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 902128 902772 644 0.1
bss 132687 132693 6 0.0
rodata 99256 99404 148 0.1
text 618188 618684 496 0.1
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1223600 1224244 644 0.1
bss 130174 130180 6 0.0
rodata 198076 198224 148 0.1
text 741212 741708 496 0.1
pump-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 922800 923444 644 0.1
bss 131298 131304 6 0.0
rodata 73328 73476 148 0.2
text 671136 671632 496 0.1
pump-controller-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 909280 909924 644 0.1
bss 131097 131103 6 0.0
rodata 70064 70212 148 0.2
text 661016 661512 496 0.1
nxp contact k32w0+release (read only) 576508 576508 0 0.0
(read/write) 83164 83164 0 0.0
.bss 67880 67880 0 0.0
.data 2188 2188 0 0.0
.text 575972 575972 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 704004 704004 0 0.0
.bss 71224 71224 0 0.0
.data 2864 2864 0 0.0
.text 590536 590536 0 0.0
light k32w0+release (read only) 610568 610568 0 0.0
(read/write) 82624 82624 0 0.0
.bss 67320 67320 0 0.0
.data 2208 2208 0 0.0
.text 610032 610032 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 795848 795848 0 0.0
.bss 80760 80760 0 0.0
.data 2064 2064 0 0.0
.text 673656 673656 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 826288 826288 0 0.0
(read/write) 1826836 1826836 0 0.0
.bss 204308 204308 0 0.0
.data 2744 2744 0 0.0
.text 1611396 1611396 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 829384 829384 0 0.0
(read/write) 1748108 1748108 0 0.0
.bss 201236 201236 0 0.0
.data 2720 2720 0 0.0
.text 1535764 1535764 0 0.0
light cy8ckit_062s2_43012 (read only) 836104 836104 0 0.0
(read/write) 1666572 1666572 0 0.0
.bss 194700 194700 0 0.0
.data 2536 2536 0 0.0
.text 1460948 1460948 0 0.0
lock cy8ckit_062s2_43012 (read only) 809040 809040 0 0.0
(read/write) 1695220 1695220 0 0.0
.bss 221780 221780 0 0.0
.data 2520 2520 0 0.0
.text 1462532 1462532 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1134164 1134164 0 0.0
.bss 102644 102644 0 0.0
.data 856 856 0 0.0
.text 646544 646544 0 0.0
lock-app qpg6105+debug (read/write) 1094012 1094012 0 0.0
.bss 97316 97316 0 0.0
.data 860 860 0 0.0
.text 606396 606396 0 0.0
stm32 light STM32WB5MM-DK (read/write) 605817 605817 0 0.0
.bss 128492 128492 0 0.0
.data 688 688 0 0.0
.rodata 80516 80516 0 0.0
.text 386376 386376 0 0.0
telink air-quality-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 834066 834066 0 0.0
bss 49876 49876 0 0.0
text 624732 624732 0 0.0
all-clusters-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 1096456 1096456 0 0.0
bss 101544 101544 0 0.0
text 797450 797450 0 0.0
all-clusters-minimal-app tlsr9528a (read only) 47960 47960 0 0.0
(read/write) 1058924 1058924 0 0.0
bss 110040 110040 0 0.0
text 772770 772770 0 0.0
bridge-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 914564 914564 0 0.0
bss 92796 92796 0 0.0
text 656372 656372 0 0.0
contact-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 836418 836418 0 0.0
bss 49920 49920 0 0.0
text 627152 627152 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 937240 937240 0 0.0
bss 77532 77532 0 0.0
text 703806 703806 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 29122 29122 0 0.0
(read/write) 1090956 1090956 0 0.0
bss 99888 99888 0 0.0
text 794358 794358 0 0.0
lock-app-dfu tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 911536 911536 0 0.0
bss 69200 69200 0 0.0
text 660550 660550 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 933368 933368 0 0.0
bss 92500 92500 0 0.0
text 675358 675358 0 0.0
pump-app tlsr9258a (read only) 52490 52490 0 0.0
(read/write) 833984 833984 0 0.0
bss 58164 58164 0 0.0
text 624158 624158 0 0.0
pump-controller-app tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 800096 800096 0 0.0
bss 56092 56092 0 0.0
text 599060 599060 0 0.0
shell tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 676064 676064 0 0.0
bss 73412 73412 0 0.0
text 461748 461748 0 0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 844286 844286 0 0.0
bss 51548 51548 0 0.0
text 633820 633820 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d (read only) 32220 32220 0 0.0
(read/write) 858937 858937 0 0.0
bss 59716 59716 0 0.0
text 642600 642600 0 0.0
thermostat tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 825660 825660 0 0.0
bss 56424 56424 0 0.0
text 618622 618622 0 0.0
window-covering tlsr9258a (read only) 52490 52490 0 0.0
(read/write) 838680 838680 0 0.0
bss 58380 58380 0 0.0
text 626426 626426 0 0.0

Copy link
Contributor

@LuDuda LuDuda left a comment

Choose a reason for hiding this comment

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

Thanks 👍

@kkasperczyk-no kkasperczyk-no requested a review from andy31415 May 7, 2024 07:28
@mergify mergify bot merged commit 930daf8 into project-chip:master May 7, 2024
66 checks passed
kkasperczyk-no added a commit to kkasperczyk-no/connectedhomeip that referenced this pull request May 8, 2024
…ject-chip#33189)

* [zephyr] Enabled support for bonding in the BLEManager

Currently the Zephyr BLE Manager rotates Bluetooth addresses
on every boot and it does this by creating new Bluetooth identity.
Because of that the Zephyr stack does not create default Bluetooth
ID, which is required e.g. for the bonding purposes.

Added creating two separate Bluetooth identities - for the Matter
service advertising and for the bonding purposes.

Signed-off-by: Kamil Kasperczyk <[email protected]>

* [zephyr] Added check to drop handling callbacks for BT central

Matter BLEManager handles all BT connect and disconnect callbacks
no matter if these are Matter related ones or not. It collides
with other not Matter-related services that trigger Matter
CHIPoBLE service advertising changes. Added role check that
allows to at least drop all callbacks related to BT central role.

Signed-off-by: Kamil Kasperczyk <[email protected]>

* [zephyr]: allow BLE advertising restarts

* allow BLE advertising restarts in case of failures
* which can be triggered by calling SetBLEAdvertisingEnabled(true)
  ConnectivityMgr public API from the application code
* do not register CHIPoBLE GATT services when the advertising
  cannot be started
* this allows the disconnection handler to filter out non-Matter
  BLE connections that were terminated
* fix possible underflow of connection counters

Signed-off-by: Marcin Kajor <[email protected]>

---------

Signed-off-by: Kamil Kasperczyk <[email protected]>
Signed-off-by: Marcin Kajor <[email protected]>
Co-authored-by: Marcin Kajor <[email protected]>
kkasperczyk-no added a commit that referenced this pull request May 8, 2024
)

* [zephyr] Enabled support for bonding in the BLEManager

Currently the Zephyr BLE Manager rotates Bluetooth addresses
on every boot and it does this by creating new Bluetooth identity.
Because of that the Zephyr stack does not create default Bluetooth
ID, which is required e.g. for the bonding purposes.

Added creating two separate Bluetooth identities - for the Matter
service advertising and for the bonding purposes.

Signed-off-by: Kamil Kasperczyk <[email protected]>

* [zephyr] Added check to drop handling callbacks for BT central

Matter BLEManager handles all BT connect and disconnect callbacks
no matter if these are Matter related ones or not. It collides
with other not Matter-related services that trigger Matter
CHIPoBLE service advertising changes. Added role check that
allows to at least drop all callbacks related to BT central role.

Signed-off-by: Kamil Kasperczyk <[email protected]>

* [zephyr]: allow BLE advertising restarts

* allow BLE advertising restarts in case of failures
* which can be triggered by calling SetBLEAdvertisingEnabled(true)
  ConnectivityMgr public API from the application code
* do not register CHIPoBLE GATT services when the advertising
  cannot be started
* this allows the disconnection handler to filter out non-Matter
  BLE connections that were terminated
* fix possible underflow of connection counters

Signed-off-by: Marcin Kajor <[email protected]>

---------

Signed-off-by: Kamil Kasperczyk <[email protected]>
Signed-off-by: Marcin Kajor <[email protected]>
Co-authored-by: Marcin Kajor <[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