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

[ESP32] Implement BLE Manager Shutdown for nimble host #33109

Merged
merged 4 commits into from
Apr 24, 2024

Conversation

shubhamdp
Copy link
Contributor

  • Replace ble deinit impl in Esp32AppServer with BLEMgr().Shutdown()
  • Replace few ESP_LOG with ChipLog in Esp32AppServer
  • Move ble deinit kCommissioningComplete switch case
  • Make USE_BLE_ONLY_FOR_COMMISSIONING depends on BT_ENABLED

There has been intermittent crashes during ble deinitialization due to accessing the BLE memory which was freed.
Here, before freeing the BLE memory and adding it to heap we make sure that the nimble host stack is stopped.

Test

  • verified that memory frees up after first commissioning and on boot up if device is commissioned.

- Replace ble deinit imple in Esp32AppServer with BLEMgr().Shutdown()
- Replace few ESP_LOG with ChipLog in Esp32AppServer
- Move ble deinit kCommissioningComplete switch case
- Make USE_BLE_ONLY_FOR_COMMISSIONING depends on BT_ENABLED
Copy link

github-actions bot commented Apr 23, 2024

PR #33109: Size comparison from 2ef3a36 to e10501b

Increases (1 build for esp32)
platform target config section 2ef3a36 e10501b change % change
esp32 all-clusters-app c3devkit (read only) 1214528 1214776 248 0.0
.flash.text 1214528 1214776 248 0.0
.iram0.text 75530 75570 40 0.1
Decreases (3 builds for efr32, esp32)
platform target config section 2ef3a36 e10501b change % change
efr32 window-app BRD4187C (read/write) 1135972 1135964 -8 -0.0
.text 968096 968088 -8 -0.0
esp32 all-clusters-app c3devkit (read/write) 1750984 1750888 -96 -0.0
.dram0.bss 74360 74352 -8 -0.0
.flash.rodata 253432 253352 -80 -0.0
m5stack (read only) 1257271 1255915 -1356 -0.1
(read/write) 537356 537276 -80 -0.0
.flash.rodata 285136 285056 -80 -0.0
.flash.text 1251107 1249751 -1356 -0.1
Full report (55 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32)
platform target config section 2ef3a36 e10501b change % change
bl602 lighting-app bl602 (read/write) 1442578 1442578 0 0.0
.bss 85448 85448 0 0.0
.data 9512 9512 0 0.0
.rodata 159092 159092 0 0.0
.text 1107870 1107870 0 0.0
bl602+mfd (read/write) 1457002 1457002 0 0.0
.bss 85616 85616 0 0.0
.data 9488 9488 0 0.0
.rodata 158052 158052 0 0.0
.text 1123188 1123188 0 0.0
bl602+rpc (read/write) 1490226 1490226 0 0.0
.bss 93488 93488 0 0.0
.data 9888 9888 0 0.0
.rodata 166660 166660 0 0.0
.text 1139516 1139516 0 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1209255 1209255 0 0.0
.bss 11185 11185 0 0.0
.data 3704 3704 0 0.0
.rodata 108788 108788 0 0.0
.text 978630 978630 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1220075 1220075 0 0.0
.bss 11361 11361 0 0.0
.data 3688 3688 0 0.0
.rodata 107728 107728 0 0.0
.text 990384 990384 0 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1300743 1300743 0 0.0
.bss 19669 19669 0 0.0
.data 4248 4248 0 0.0
.rodata 124160 124160 0 0.0
.text 1053338 1053338 0 0.0
bl706-eth (read/write) 1024969 1024969 0 0.0
.bss 23760 23760 0 0.0
.data 3256 3256 0 0.0
.rodata 101776 101776 0 0.0
.text 768142 768142 0 0.0
bl706-wifi (read/write) 1259646 1259646 0 0.0
.bss 10645 10645 0 0.0
.data 3704 3704 0 0.0
.rodata 122776 122776 0 0.0
.text 1000050 1000050 0 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1178576 1178576 0 0.0
.bss 16396 16396 0 0.0
.data 5072 5072 0 0.0
.rodata 102792 102792 0 0.0
.text 971484 971484 0 0.0
bl702l+mfd (read only) 512 512 0 0.0
(read/write) 1189992 1189992 0 0.0
.bss 16572 16572 0 0.0
.data 5048 5048 0 0.0
.rodata 101732 101732 0 0.0
.text 983806 983806 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 783684 783684 0 0.0
(read/write) 176668 176668 0 0.0
.bss 98612 98612 0 0.0
.data 3588 3588 0 0.0
.rodata 82964 82964 0 0.0
.text 700452 700452 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 799564 799564 0 0.0
(read/write) 187156 187156 0 0.0
.bss 109100 109100 0 0.0
.data 3588 3588 0 0.0
.rodata 76948 76948 0 0.0
.text 722348 722348 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 788436 788436 0 0.0
(read/write) 181276 181276 0 0.0
.bss 103220 103220 0 0.0
.data 3588 3588 0 0.0
.rodata 103868 103868 0 0.0
.text 684300 684300 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 740684 740684 0 0.0
(read/write) 175644 175644 0 0.0
.bss 97352 97352 0 0.0
.data 3580 3580 0 0.0
.rodata 78628 78628 0 0.0
.text 661788 661788 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 726308 726308 0 0.0
(read/write) 175852 175852 0 0.0
.bss 97576 97576 0 0.0
.data 3572 3572 0 0.0
.rodata 74404 74404 0 0.0
.text 651636 651636 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 586710 586710 0 0.0
(read/write) 208100 208100 0 0.0
.bss 201324 201324 0 0.0
.data 1652 1652 0 0.0
.rodata 87526 87526 0 0.0
.text 497060 497060 0 0.0
lock CC3235SF_LAUNCHXL (read only) 632870 632870 0 0.0
(read/write) 208364 208364 0 0.0
.bss 201728 201728 0 0.0
.data 1516 1516 0 0.0
.rodata 108206 108206 0 0.0
.text 522544 522544 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 570359 570359 0 0.0
.app_xip_area 460269 460269 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) 552575 552575 0 0.0
.app_xip_area 437813 437813 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) 573111 573111 0 0.0
.app_xip_area 464517 464517 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) 565559 565559 0 0.0
.app_xip_area 453781 453781 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) 1069600 1069600 0 0.0
.bss 179920 179920 0 0.0
.data 3432 3432 0 0.0
.text 886228 886228 0 0.0
lock-app BRD4338a (read/write) 961956 961956 0 0.0
.bss 210236 210236 0 0.0
.data 30288 30288 0 0.0
.text 702064 702064 0 0.0
window-app BRD4187C (read/write) 1135972 1135964 -8 -0.0
.bss 164520 164520 0 0.0
.data 3336 3336 0 0.0
.text 968096 968088 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1214528 1214776 248 0.0
(read/write) 1750984 1750888 -96 -0.0
.dram0.bss 74360 74352 -8 -0.0
.dram0.data 13652 13652 0 0.0
.flash.rodata 253432 253352 -80 -0.0
.flash.text 1214528 1214776 248 0.0
.iram0.text 75530 75570 40 0.1
m5stack (read only) 1257271 1255915 -1356 -0.1
(read/write) 537356 537276 -80 -0.0
.dram0.bss 81104 81104 0 0.0
.dram0.data 35196 35196 0 0.0
.flash.rodata 285136 285056 -80 -0.0
.flash.text 1251107 1249751 -1356 -0.1
.iram0.text 125403 125403 0 0.0
linux air-purifier-app debug (read only) 2649037 2649037 0 0.0
(read/write) 130064 130064 0 0.0
.bss 46728 46728 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 185072 185072 0 0.0
.text 2284853 2284853 0 0.0
all-clusters-app debug (read only) 5963921 5963921 0 0.0
(read/write) 481704 481704 0 0.0
.bss 135040 135040 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 352016 352016 0 0.0
.text 5176643 5176643 0 0.0
all-clusters-minimal-app debug (read only) 5243897 5243897 0 0.0
(read/write) 237656 237656 0 0.0
.bss 127872 127872 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 290666 290666 0 0.0
.text 4716627 4716627 0 0.0
bridge-app debug (read only) 4635153 4635153 0 0.0
(read/write) 218568 218568 0 0.0
.bss 118400 118400 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 230890 230890 0 0.0
.text 4182083 4182083 0 0.0
chip-tool debug (read only) 12086153 12086153 0 0.0
(read/write) 523136 523136 0 0.0
.bss 94744 94744 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 451353 451353 0 0.0
.text 10926323 10926323 0 0.0
chip-tool-ipv6only arm64 (read only) 11405268 11405268 0 0.0
(read/write) 590040 590040 0 0.0
.bss 103720 103720 0 0.0
.data 4520 4520 0 0.0
.data.rel.ro 455976 455976 0 0.0
.dynamic 512 512 0 0.0
.got 17112 17112 0 0.0
.init 24 24 0 0.0
.init_array 280 280 0 0.0
.rodata 356276 356276 0 0.0
.text 10167192 10167192 0 0.0
lighting-app debug+rpc+ui (read only) 5558689 5558689 0 0.0
(read/write) 227336 227336 0 0.0
.bss 119344 119344 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 354804 354804 0 0.0
.text 4955315 4955315 0 0.0
lock-app debug (read only) 4701065 4701065 0 0.0
(read/write) 205792 205792 0 0.0
.bss 113704 113704 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 256746 256746 0 0.0
.text 4231203 4231203 0 0.0
ota-provider-app debug (read only) 4310825 4310825 0 0.0
(read/write) 194232 194232 0 0.0
.bss 113440 113440 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 3906707 3906707 0 0.0
ota-requestor-app debug (read only) 4441449 4441449 0 0.0
(read/write) 198600 198600 0 0.0
.bss 114336 114336 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 4026707 4026707 0 0.0
shell debug (read only) 2931985 2931985 0 0.0
(read/write) 157072 157072 0 0.0
.bss 62512 62512 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 2568370 2568370 0 0.0
thermostat-no-ble arm64 (read only) 4434540 4434540 0 0.0
(read/write) 244992 244992 0 0.0
.bss 121976 121976 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 3937208 3937208 0 0.0
tv-app debug (read only) 5775009 5775009 0 0.0
(read/write) 353560 353560 0 0.0
.bss 244336 244336 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 295242 295242 0 0.0
.text 5235891 5235891 0 0.0
tv-casting-app debug (read only) 9900753 9900753 0 0.0
(read/write) 342784 342784 0 0.0
.bss 157976 157976 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 384536 384536 0 0.0
.text 9049219 9049219 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2535584 2535584 0 0.0
.bss 220488 220488 0 0.0
.data 5216 5216 0 0.0
.text 1498268 1498268 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1065856 1065856 0 0.0
bss 133119 133119 0 0.0
rodata 103432 103432 0 0.0
text 782088 782088 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1226296 1226296 0 0.0
bss 127175 127175 0 0.0
rodata 151384 151384 0 0.0
text 797712 797712 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1013424 1013424 0 0.0
bss 131977 131977 0 0.0
rodata 90696 90696 0 0.0
text 743432 743432 0 0.0
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) 702996 702996 0 0.0
.bss 71200 71200 0 0.0
.data 2864 2864 0 0.0
.text 589552 589552 0 0.0
light k32w0+release (read only) 609688 609688 0 0.0
(read/write) 82600 82600 0 0.0
.bss 67296 67296 0 0.0
.data 2208 2208 0 0.0
.text 609152 609152 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 794888 794888 0 0.0
.bss 80744 80744 0 0.0
.data 2064 2064 0 0.0
.text 672712 672712 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 832272 832272 0 0.0
(read/write) 1804644 1804644 0 0.0
.bss 198380 198380 0 0.0
.data 2688 2688 0 0.0
.text 1595188 1595188 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 835424 835424 0 0.0
(read/write) 1726548 1726548 0 0.0
.bss 195260 195260 0 0.0
.data 2656 2656 0 0.0
.text 1520244 1520244 0 0.0
light cy8ckit_062s2_43012 (read only) 842144 842144 0 0.0
(read/write) 1645284 1645284 0 0.0
.bss 188724 188724 0 0.0
.data 2472 2472 0 0.0
.text 1445700 1445700 0 0.0
lock cy8ckit_062s2_43012 (read only) 815072 815072 0 0.0
(read/write) 1673948 1673948 0 0.0
.bss 215804 215804 0 0.0
.data 2464 2464 0 0.0
.text 1447292 1447292 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1133220 1133220 0 0.0
.bss 102588 102588 0 0.0
.data 856 856 0 0.0
.text 645600 645600 0 0.0
lock-app qpg6105+debug (read/write) 1093220 1093220 0 0.0
.bss 97260 97260 0 0.0
.data 860 860 0 0.0
.text 605604 605604 0 0.0
stm32 light STM32WB5MM-DK (read/write) 604809 604809 0 0.0
.bss 128444 128444 0 0.0
.data 688 688 0 0.0
.rodata 80532 80532 0 0.0
.text 385400 385400 0 0.0

examples/platform/esp32/common/Esp32AppServer.cpp Outdated Show resolved Hide resolved
src/platform/ESP32/nimble/BLEManagerImpl.cpp Outdated Show resolved Hide resolved
src/platform/ESP32/nimble/BLEManagerImpl.cpp Show resolved Hide resolved
src/platform/ESP32/nimble/BLEManagerImpl.cpp Outdated Show resolved Hide resolved
Copy link

github-actions bot commented Apr 23, 2024

PR #33109: Size comparison from 2ef3a36 to 7b6d6c3

Increases (29 builds for bl602, bl702, cc32xx, efr32, esp32, linux, mbed, nrfconnect, psoc6)
platform target config section 2ef3a36 7b6d6c3 change % change
bl602 lighting-app bl602 (read/write) 1442578 1442986 408 0.0
.text 1107870 1108274 404 0.0
bl602+mfd (read/write) 1457002 1457402 400 0.0
.text 1123188 1123592 404 0.0
bl602+rpc (read/write) 1490226 1490626 400 0.0
.text 1139516 1139920 404 0.0
bl702 lighting-app bl706-eth (read/write) 1024969 1025373 404 0.0
.text 768142 768546 404 0.1
bl706-wifi (read/write) 1259646 1260050 404 0.0
.text 1000050 1000454 404 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 586710 586926 216 0.0
.text 497060 497276 216 0.0
lock CC3235SF_LAUNCHXL (read only) 632870 633086 216 0.0
.text 522544 522760 216 0.0
efr32 lock-app BRD4338a (read/write) 961956 962164 208 0.0
.text 702064 702272 208 0.0
esp32 all-clusters-app c3devkit (read only) 1214528 1214938 410 0.0
.flash.text 1214528 1214938 410 0.0
.iram0.text 75530 75570 40 0.1
linux air-purifier-app debug (read only) 2649037 2649709 672 0.0
.text 2284853 2285525 672 0.0
all-clusters-app debug (read only) 5963921 5964577 656 0.0
.text 5176643 5177299 656 0.0
all-clusters-minimal-app debug (read only) 5243897 5244553 656 0.0
.text 4716627 4717283 656 0.0
bridge-app debug (read only) 4635153 4635809 656 0.0
.text 4182083 4182739 656 0.0
chip-tool debug (read only) 12086153 12086809 656 0.0
.text 10926323 10926979 656 0.0
chip-tool-ipv6only arm64 (read only) 11405268 11405924 656 0.0
.text 10167192 10167848 656 0.0
lighting-app debug+rpc+ui (read only) 5558689 5559345 656 0.0
.text 4955315 4955971 656 0.0
lock-app debug (read only) 4701065 4701737 672 0.0
.text 4231203 4231875 672 0.0
ota-provider-app debug (read only) 4310825 4311481 656 0.0
.text 3906707 3907363 656 0.0
ota-requestor-app debug (read only) 4441449 4442105 656 0.0
.text 4026707 4027363 656 0.0
shell debug (read only) 2931985 2932657 672 0.0
.text 2568370 2569042 672 0.0
thermostat-no-ble arm64 (read only) 4434540 4435196 656 0.0
.text 3937208 3937864 656 0.0
tv-app debug (read only) 5775009 5775665 656 0.0
.text 5235891 5236547 656 0.0
tv-casting-app debug (read only) 9900753 9901409 656 0.0
.text 9049219 9049875 656 0.0
mbed lock-app-release cy8cproto_062_4343w (read/write) 2535584 2535776 192 0.0
.text 1498268 1498460 192 0.0
nrfconnect all-clusters-app nrf7002dk_nrf5340_cpuapp (read/write) 1226296 1226488 192 0.0
text 797712 797896 184 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1804644 1804868 224 0.0
.text 1595188 1595412 224 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1726548 1726772 224 0.0
.text 1520244 1520468 224 0.0
light cy8ckit_062s2_43012 (read/write) 1645284 1645508 224 0.0
.text 1445700 1445924 224 0.0
lock cy8ckit_062s2_43012 (read/write) 1673948 1674172 224 0.0
.text 1447292 1447516 224 0.0
Decreases (5 builds for efr32, esp32, linux)
platform target config section 2ef3a36 7b6d6c3 change % change
efr32 window-app BRD4187C (read/write) 1135972 1135964 -8 -0.0
.text 968096 968088 -8 -0.0
esp32 all-clusters-app c3devkit (read/write) 1750984 1750888 -96 -0.0
.dram0.bss 74360 74352 -8 -0.0
.flash.rodata 253432 253352 -80 -0.0
m5stack (read only) 1257271 1256055 -1216 -0.1
(read/write) 537356 537276 -80 -0.0
.flash.rodata 285136 285056 -80 -0.0
.flash.text 1251107 1249891 -1216 -0.1
linux chip-tool-ipv6only arm64 (read/write) 590040 589384 -656 -0.1
thermostat-no-ble arm64 (read/write) 244992 244336 -656 -0.3
Full report (55 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32)
platform target config section 2ef3a36 7b6d6c3 change % change
bl602 lighting-app bl602 (read/write) 1442578 1442986 408 0.0
.bss 85448 85448 0 0.0
.data 9512 9512 0 0.0
.rodata 159092 159092 0 0.0
.text 1107870 1108274 404 0.0
bl602+mfd (read/write) 1457002 1457402 400 0.0
.bss 85616 85616 0 0.0
.data 9488 9488 0 0.0
.rodata 158052 158052 0 0.0
.text 1123188 1123592 404 0.0
bl602+rpc (read/write) 1490226 1490626 400 0.0
.bss 93488 93488 0 0.0
.data 9888 9888 0 0.0
.rodata 166660 166660 0 0.0
.text 1139516 1139920 404 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1209255 1209255 0 0.0
.bss 11185 11185 0 0.0
.data 3704 3704 0 0.0
.rodata 108788 108788 0 0.0
.text 978630 978630 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1220075 1220075 0 0.0
.bss 11361 11361 0 0.0
.data 3688 3688 0 0.0
.rodata 107728 107728 0 0.0
.text 990384 990384 0 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1300743 1300743 0 0.0
.bss 19669 19669 0 0.0
.data 4248 4248 0 0.0
.rodata 124160 124160 0 0.0
.text 1053338 1053338 0 0.0
bl706-eth (read/write) 1024969 1025373 404 0.0
.bss 23760 23760 0 0.0
.data 3256 3256 0 0.0
.rodata 101776 101776 0 0.0
.text 768142 768546 404 0.1
bl706-wifi (read/write) 1259646 1260050 404 0.0
.bss 10645 10645 0 0.0
.data 3704 3704 0 0.0
.rodata 122776 122776 0 0.0
.text 1000050 1000454 404 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1178576 1178576 0 0.0
.bss 16396 16396 0 0.0
.data 5072 5072 0 0.0
.rodata 102792 102792 0 0.0
.text 971484 971484 0 0.0
bl702l+mfd (read only) 512 512 0 0.0
(read/write) 1189992 1189992 0 0.0
.bss 16572 16572 0 0.0
.data 5048 5048 0 0.0
.rodata 101732 101732 0 0.0
.text 983806 983806 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 783684 783684 0 0.0
(read/write) 176668 176668 0 0.0
.bss 98612 98612 0 0.0
.data 3588 3588 0 0.0
.rodata 82964 82964 0 0.0
.text 700452 700452 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 799564 799564 0 0.0
(read/write) 187156 187156 0 0.0
.bss 109100 109100 0 0.0
.data 3588 3588 0 0.0
.rodata 76948 76948 0 0.0
.text 722348 722348 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 788436 788436 0 0.0
(read/write) 181276 181276 0 0.0
.bss 103220 103220 0 0.0
.data 3588 3588 0 0.0
.rodata 103868 103868 0 0.0
.text 684300 684300 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 740684 740684 0 0.0
(read/write) 175644 175644 0 0.0
.bss 97352 97352 0 0.0
.data 3580 3580 0 0.0
.rodata 78628 78628 0 0.0
.text 661788 661788 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 726308 726308 0 0.0
(read/write) 175852 175852 0 0.0
.bss 97576 97576 0 0.0
.data 3572 3572 0 0.0
.rodata 74404 74404 0 0.0
.text 651636 651636 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 586710 586926 216 0.0
(read/write) 208100 208100 0 0.0
.bss 201324 201324 0 0.0
.data 1652 1652 0 0.0
.rodata 87526 87526 0 0.0
.text 497060 497276 216 0.0
lock CC3235SF_LAUNCHXL (read only) 632870 633086 216 0.0
(read/write) 208364 208364 0 0.0
.bss 201728 201728 0 0.0
.data 1516 1516 0 0.0
.rodata 108206 108206 0 0.0
.text 522544 522760 216 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 570359 570359 0 0.0
.app_xip_area 460269 460269 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) 552575 552575 0 0.0
.app_xip_area 437813 437813 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) 573111 573111 0 0.0
.app_xip_area 464517 464517 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) 565559 565559 0 0.0
.app_xip_area 453781 453781 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) 1069600 1069600 0 0.0
.bss 179920 179920 0 0.0
.data 3432 3432 0 0.0
.text 886228 886228 0 0.0
lock-app BRD4338a (read/write) 961956 962164 208 0.0
.bss 210236 210236 0 0.0
.data 30288 30288 0 0.0
.text 702064 702272 208 0.0
window-app BRD4187C (read/write) 1135972 1135964 -8 -0.0
.bss 164520 164520 0 0.0
.data 3336 3336 0 0.0
.text 968096 968088 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1214528 1214938 410 0.0
(read/write) 1750984 1750888 -96 -0.0
.dram0.bss 74360 74352 -8 -0.0
.dram0.data 13652 13652 0 0.0
.flash.rodata 253432 253352 -80 -0.0
.flash.text 1214528 1214938 410 0.0
.iram0.text 75530 75570 40 0.1
m5stack (read only) 1257271 1256055 -1216 -0.1
(read/write) 537356 537276 -80 -0.0
.dram0.bss 81104 81104 0 0.0
.dram0.data 35196 35196 0 0.0
.flash.rodata 285136 285056 -80 -0.0
.flash.text 1251107 1249891 -1216 -0.1
.iram0.text 125403 125403 0 0.0
linux air-purifier-app debug (read only) 2649037 2649709 672 0.0
(read/write) 130064 130064 0 0.0
.bss 46728 46728 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 185072 185072 0 0.0
.text 2284853 2285525 672 0.0
all-clusters-app debug (read only) 5963921 5964577 656 0.0
(read/write) 481704 481704 0 0.0
.bss 135040 135040 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 352016 352016 0 0.0
.text 5176643 5177299 656 0.0
all-clusters-minimal-app debug (read only) 5243897 5244553 656 0.0
(read/write) 237656 237656 0 0.0
.bss 127872 127872 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 290666 290666 0 0.0
.text 4716627 4717283 656 0.0
bridge-app debug (read only) 4635153 4635809 656 0.0
(read/write) 218568 218568 0 0.0
.bss 118400 118400 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 230890 230890 0 0.0
.text 4182083 4182739 656 0.0
chip-tool debug (read only) 12086153 12086809 656 0.0
(read/write) 523136 523136 0 0.0
.bss 94744 94744 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 451353 451353 0 0.0
.text 10926323 10926979 656 0.0
chip-tool-ipv6only arm64 (read only) 11405268 11405924 656 0.0
(read/write) 590040 589384 -656 -0.1
.bss 103720 103720 0 0.0
.data 4520 4520 0 0.0
.data.rel.ro 455976 455976 0 0.0
.dynamic 512 512 0 0.0
.got 17112 17112 0 0.0
.init 24 24 0 0.0
.init_array 280 280 0 0.0
.rodata 356276 356276 0 0.0
.text 10167192 10167848 656 0.0
lighting-app debug+rpc+ui (read only) 5558689 5559345 656 0.0
(read/write) 227336 227336 0 0.0
.bss 119344 119344 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 354804 354804 0 0.0
.text 4955315 4955971 656 0.0
lock-app debug (read only) 4701065 4701737 672 0.0
(read/write) 205792 205792 0 0.0
.bss 113704 113704 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 256746 256746 0 0.0
.text 4231203 4231875 672 0.0
ota-provider-app debug (read only) 4310825 4311481 656 0.0
(read/write) 194232 194232 0 0.0
.bss 113440 113440 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 3906707 3907363 656 0.0
ota-requestor-app debug (read only) 4441449 4442105 656 0.0
(read/write) 198600 198600 0 0.0
.bss 114336 114336 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 4026707 4027363 656 0.0
shell debug (read only) 2931985 2932657 672 0.0
(read/write) 157072 157072 0 0.0
.bss 62512 62512 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 2568370 2569042 672 0.0
thermostat-no-ble arm64 (read only) 4434540 4435196 656 0.0
(read/write) 244992 244336 -656 -0.3
.bss 121976 121976 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 3937208 3937864 656 0.0
tv-app debug (read only) 5775009 5775665 656 0.0
(read/write) 353560 353560 0 0.0
.bss 244336 244336 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 295242 295242 0 0.0
.text 5235891 5236547 656 0.0
tv-casting-app debug (read only) 9900753 9901409 656 0.0
(read/write) 342784 342784 0 0.0
.bss 157976 157976 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 384536 384536 0 0.0
.text 9049219 9049875 656 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2535584 2535776 192 0.0
.bss 220488 220488 0 0.0
.data 5216 5216 0 0.0
.text 1498268 1498460 192 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1065856 1065856 0 0.0
bss 133119 133119 0 0.0
rodata 103432 103432 0 0.0
text 782088 782088 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1226296 1226488 192 0.0
bss 127175 127175 0 0.0
rodata 151384 151384 0 0.0
text 797712 797896 184 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1013424 1013424 0 0.0
bss 131977 131977 0 0.0
rodata 90696 90696 0 0.0
text 743432 743432 0 0.0
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) 702996 702996 0 0.0
.bss 71200 71200 0 0.0
.data 2864 2864 0 0.0
.text 589552 589552 0 0.0
light k32w0+release (read only) 609688 609688 0 0.0
(read/write) 82600 82600 0 0.0
.bss 67296 67296 0 0.0
.data 2208 2208 0 0.0
.text 609152 609152 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 794888 794888 0 0.0
.bss 80744 80744 0 0.0
.data 2064 2064 0 0.0
.text 672712 672712 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 832272 832272 0 0.0
(read/write) 1804644 1804868 224 0.0
.bss 198380 198380 0 0.0
.data 2688 2688 0 0.0
.text 1595188 1595412 224 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 835424 835424 0 0.0
(read/write) 1726548 1726772 224 0.0
.bss 195260 195260 0 0.0
.data 2656 2656 0 0.0
.text 1520244 1520468 224 0.0
light cy8ckit_062s2_43012 (read only) 842144 842144 0 0.0
(read/write) 1645284 1645508 224 0.0
.bss 188724 188724 0 0.0
.data 2472 2472 0 0.0
.text 1445700 1445924 224 0.0
lock cy8ckit_062s2_43012 (read only) 815072 815072 0 0.0
(read/write) 1673948 1674172 224 0.0
.bss 215804 215804 0 0.0
.data 2464 2464 0 0.0
.text 1447292 1447516 224 0.0
qpg lighting-app qpg6105+debug (read/write) 1133220 1133220 0 0.0
.bss 102588 102588 0 0.0
.data 856 856 0 0.0
.text 645600 645600 0 0.0
lock-app qpg6105+debug (read/write) 1093220 1093220 0 0.0
.bss 97260 97260 0 0.0
.data 860 860 0 0.0
.text 605604 605604 0 0.0
stm32 light STM32WB5MM-DK (read/write) 604809 604809 0 0.0
.bss 128444 128444 0 0.0
.data 688 688 0 0.0
.rodata 80532 80532 0 0.0
.text 385400 385400 0 0.0

Copy link

github-actions bot commented Apr 24, 2024

PR #33109: Size comparison from 2ef3a36 to a37e2ad

Increases (29 builds for bl602, bl702, cc32xx, efr32, esp32, linux, mbed, nrfconnect, psoc6)
platform target config section 2ef3a36 a37e2ad change % change
bl602 lighting-app bl602 (read/write) 1442578 1442986 408 0.0
.text 1107870 1108274 404 0.0
bl602+mfd (read/write) 1457002 1457402 400 0.0
.text 1123188 1123592 404 0.0
bl602+rpc (read/write) 1490226 1490626 400 0.0
.text 1139516 1139920 404 0.0
bl702 lighting-app bl706-eth (read/write) 1024969 1025373 404 0.0
.text 768142 768546 404 0.1
bl706-wifi (read/write) 1259646 1260050 404 0.0
.text 1000050 1000454 404 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 586710 586926 216 0.0
.text 497060 497276 216 0.0
lock CC3235SF_LAUNCHXL (read only) 632870 633086 216 0.0
.text 522544 522760 216 0.0
efr32 lock-app BRD4338a (read/write) 961956 962164 208 0.0
.text 702064 702272 208 0.0
esp32 all-clusters-app c3devkit (read only) 1214528 1214972 444 0.0
.flash.text 1214528 1214972 444 0.0
.iram0.text 75530 75570 40 0.1
linux air-purifier-app debug (read only) 2649037 2649709 672 0.0
.text 2284853 2285525 672 0.0
all-clusters-app debug (read only) 5963921 5964577 656 0.0
.text 5176643 5177299 656 0.0
all-clusters-minimal-app debug (read only) 5243897 5244553 656 0.0
.text 4716627 4717283 656 0.0
bridge-app debug (read only) 4635153 4635809 656 0.0
.text 4182083 4182739 656 0.0
chip-tool debug (read only) 12086153 12086809 656 0.0
.text 10926323 10926979 656 0.0
chip-tool-ipv6only arm64 (read only) 11405268 11405924 656 0.0
.text 10167192 10167848 656 0.0
lighting-app debug+rpc+ui (read only) 5558689 5559345 656 0.0
.text 4955315 4955971 656 0.0
lock-app debug (read only) 4701065 4701737 672 0.0
.text 4231203 4231875 672 0.0
ota-provider-app debug (read only) 4310825 4311481 656 0.0
.text 3906707 3907363 656 0.0
ota-requestor-app debug (read only) 4441449 4442105 656 0.0
.text 4026707 4027363 656 0.0
shell debug (read only) 2931985 2932657 672 0.0
.text 2568370 2569042 672 0.0
thermostat-no-ble arm64 (read only) 4434540 4435196 656 0.0
.text 3937208 3937864 656 0.0
tv-app debug (read only) 5775009 5775665 656 0.0
.text 5235891 5236547 656 0.0
tv-casting-app debug (read only) 9900753 9901409 656 0.0
.text 9049219 9049875 656 0.0
mbed lock-app-release cy8cproto_062_4343w (read/write) 2535584 2535776 192 0.0
.text 1498268 1498460 192 0.0
nrfconnect all-clusters-app nrf7002dk_nrf5340_cpuapp (read/write) 1226296 1226488 192 0.0
text 797712 797896 184 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1804644 1804868 224 0.0
.text 1595188 1595412 224 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1726548 1726772 224 0.0
.text 1520244 1520468 224 0.0
light cy8ckit_062s2_43012 (read/write) 1645284 1645508 224 0.0
.text 1445700 1445924 224 0.0
lock cy8ckit_062s2_43012 (read/write) 1673948 1674172 224 0.0
.text 1447292 1447516 224 0.0
Decreases (5 builds for efr32, esp32, linux)
platform target config section 2ef3a36 a37e2ad change % change
efr32 window-app BRD4187C (read/write) 1135972 1135964 -8 -0.0
.text 968096 968088 -8 -0.0
esp32 all-clusters-app c3devkit (read/write) 1750984 1750888 -96 -0.0
.dram0.bss 74360 74352 -8 -0.0
.flash.rodata 253432 253352 -80 -0.0
m5stack (read only) 1257271 1256075 -1196 -0.1
(read/write) 537356 537276 -80 -0.0
.flash.rodata 285136 285056 -80 -0.0
.flash.text 1251107 1249911 -1196 -0.1
linux chip-tool-ipv6only arm64 (read/write) 590040 589384 -656 -0.1
thermostat-no-ble arm64 (read/write) 244992 244336 -656 -0.3
Full report (55 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32)
platform target config section 2ef3a36 a37e2ad change % change
bl602 lighting-app bl602 (read/write) 1442578 1442986 408 0.0
.bss 85448 85448 0 0.0
.data 9512 9512 0 0.0
.rodata 159092 159092 0 0.0
.text 1107870 1108274 404 0.0
bl602+mfd (read/write) 1457002 1457402 400 0.0
.bss 85616 85616 0 0.0
.data 9488 9488 0 0.0
.rodata 158052 158052 0 0.0
.text 1123188 1123592 404 0.0
bl602+rpc (read/write) 1490226 1490626 400 0.0
.bss 93488 93488 0 0.0
.data 9888 9888 0 0.0
.rodata 166660 166660 0 0.0
.text 1139516 1139920 404 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1209255 1209255 0 0.0
.bss 11185 11185 0 0.0
.data 3704 3704 0 0.0
.rodata 108788 108788 0 0.0
.text 978630 978630 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1220075 1220075 0 0.0
.bss 11361 11361 0 0.0
.data 3688 3688 0 0.0
.rodata 107728 107728 0 0.0
.text 990384 990384 0 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1300743 1300743 0 0.0
.bss 19669 19669 0 0.0
.data 4248 4248 0 0.0
.rodata 124160 124160 0 0.0
.text 1053338 1053338 0 0.0
bl706-eth (read/write) 1024969 1025373 404 0.0
.bss 23760 23760 0 0.0
.data 3256 3256 0 0.0
.rodata 101776 101776 0 0.0
.text 768142 768546 404 0.1
bl706-wifi (read/write) 1259646 1260050 404 0.0
.bss 10645 10645 0 0.0
.data 3704 3704 0 0.0
.rodata 122776 122776 0 0.0
.text 1000050 1000454 404 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1178576 1178576 0 0.0
.bss 16396 16396 0 0.0
.data 5072 5072 0 0.0
.rodata 102792 102792 0 0.0
.text 971484 971484 0 0.0
bl702l+mfd (read only) 512 512 0 0.0
(read/write) 1189992 1189992 0 0.0
.bss 16572 16572 0 0.0
.data 5048 5048 0 0.0
.rodata 101732 101732 0 0.0
.text 983806 983806 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 783684 783684 0 0.0
(read/write) 176668 176668 0 0.0
.bss 98612 98612 0 0.0
.data 3588 3588 0 0.0
.rodata 82964 82964 0 0.0
.text 700452 700452 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 799564 799564 0 0.0
(read/write) 187156 187156 0 0.0
.bss 109100 109100 0 0.0
.data 3588 3588 0 0.0
.rodata 76948 76948 0 0.0
.text 722348 722348 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 788436 788436 0 0.0
(read/write) 181276 181276 0 0.0
.bss 103220 103220 0 0.0
.data 3588 3588 0 0.0
.rodata 103868 103868 0 0.0
.text 684300 684300 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 740684 740684 0 0.0
(read/write) 175644 175644 0 0.0
.bss 97352 97352 0 0.0
.data 3580 3580 0 0.0
.rodata 78628 78628 0 0.0
.text 661788 661788 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 726308 726308 0 0.0
(read/write) 175852 175852 0 0.0
.bss 97576 97576 0 0.0
.data 3572 3572 0 0.0
.rodata 74404 74404 0 0.0
.text 651636 651636 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 586710 586926 216 0.0
(read/write) 208100 208100 0 0.0
.bss 201324 201324 0 0.0
.data 1652 1652 0 0.0
.rodata 87526 87526 0 0.0
.text 497060 497276 216 0.0
lock CC3235SF_LAUNCHXL (read only) 632870 633086 216 0.0
(read/write) 208364 208364 0 0.0
.bss 201728 201728 0 0.0
.data 1516 1516 0 0.0
.rodata 108206 108206 0 0.0
.text 522544 522760 216 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 570359 570359 0 0.0
.app_xip_area 460269 460269 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) 552575 552575 0 0.0
.app_xip_area 437813 437813 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) 573111 573111 0 0.0
.app_xip_area 464517 464517 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) 565559 565559 0 0.0
.app_xip_area 453781 453781 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) 1069600 1069600 0 0.0
.bss 179920 179920 0 0.0
.data 3432 3432 0 0.0
.text 886228 886228 0 0.0
lock-app BRD4338a (read/write) 961956 962164 208 0.0
.bss 210236 210236 0 0.0
.data 30288 30288 0 0.0
.text 702064 702272 208 0.0
window-app BRD4187C (read/write) 1135972 1135964 -8 -0.0
.bss 164520 164520 0 0.0
.data 3336 3336 0 0.0
.text 968096 968088 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1214528 1214972 444 0.0
(read/write) 1750984 1750888 -96 -0.0
.dram0.bss 74360 74352 -8 -0.0
.dram0.data 13652 13652 0 0.0
.flash.rodata 253432 253352 -80 -0.0
.flash.text 1214528 1214972 444 0.0
.iram0.text 75530 75570 40 0.1
m5stack (read only) 1257271 1256075 -1196 -0.1
(read/write) 537356 537276 -80 -0.0
.dram0.bss 81104 81104 0 0.0
.dram0.data 35196 35196 0 0.0
.flash.rodata 285136 285056 -80 -0.0
.flash.text 1251107 1249911 -1196 -0.1
.iram0.text 125403 125403 0 0.0
linux air-purifier-app debug (read only) 2649037 2649709 672 0.0
(read/write) 130064 130064 0 0.0
.bss 46728 46728 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 185072 185072 0 0.0
.text 2284853 2285525 672 0.0
all-clusters-app debug (read only) 5963921 5964577 656 0.0
(read/write) 481704 481704 0 0.0
.bss 135040 135040 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 352016 352016 0 0.0
.text 5176643 5177299 656 0.0
all-clusters-minimal-app debug (read only) 5243897 5244553 656 0.0
(read/write) 237656 237656 0 0.0
.bss 127872 127872 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 290666 290666 0 0.0
.text 4716627 4717283 656 0.0
bridge-app debug (read only) 4635153 4635809 656 0.0
(read/write) 218568 218568 0 0.0
.bss 118400 118400 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 230890 230890 0 0.0
.text 4182083 4182739 656 0.0
chip-tool debug (read only) 12086153 12086809 656 0.0
(read/write) 523136 523136 0 0.0
.bss 94744 94744 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 451353 451353 0 0.0
.text 10926323 10926979 656 0.0
chip-tool-ipv6only arm64 (read only) 11405268 11405924 656 0.0
(read/write) 590040 589384 -656 -0.1
.bss 103720 103720 0 0.0
.data 4520 4520 0 0.0
.data.rel.ro 455976 455976 0 0.0
.dynamic 512 512 0 0.0
.got 17112 17112 0 0.0
.init 24 24 0 0.0
.init_array 280 280 0 0.0
.rodata 356276 356276 0 0.0
.text 10167192 10167848 656 0.0
lighting-app debug+rpc+ui (read only) 5558689 5559345 656 0.0
(read/write) 227336 227336 0 0.0
.bss 119344 119344 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 354804 354804 0 0.0
.text 4955315 4955971 656 0.0
lock-app debug (read only) 4701065 4701737 672 0.0
(read/write) 205792 205792 0 0.0
.bss 113704 113704 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 256746 256746 0 0.0
.text 4231203 4231875 672 0.0
ota-provider-app debug (read only) 4310825 4311481 656 0.0
(read/write) 194232 194232 0 0.0
.bss 113440 113440 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 3906707 3907363 656 0.0
ota-requestor-app debug (read only) 4441449 4442105 656 0.0
(read/write) 198600 198600 0 0.0
.bss 114336 114336 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 4026707 4027363 656 0.0
shell debug (read only) 2931985 2932657 672 0.0
(read/write) 157072 157072 0 0.0
.bss 62512 62512 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 2568370 2569042 672 0.0
thermostat-no-ble arm64 (read only) 4434540 4435196 656 0.0
(read/write) 244992 244336 -656 -0.3
.bss 121976 121976 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 3937208 3937864 656 0.0
tv-app debug (read only) 5775009 5775665 656 0.0
(read/write) 353560 353560 0 0.0
.bss 244336 244336 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 295242 295242 0 0.0
.text 5235891 5236547 656 0.0
tv-casting-app debug (read only) 9900753 9901409 656 0.0
(read/write) 342784 342784 0 0.0
.bss 157976 157976 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 384536 384536 0 0.0
.text 9049219 9049875 656 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2535584 2535776 192 0.0
.bss 220488 220488 0 0.0
.data 5216 5216 0 0.0
.text 1498268 1498460 192 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1065856 1065856 0 0.0
bss 133119 133119 0 0.0
rodata 103432 103432 0 0.0
text 782088 782088 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1226296 1226488 192 0.0
bss 127175 127175 0 0.0
rodata 151384 151384 0 0.0
text 797712 797896 184 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1013424 1013424 0 0.0
bss 131977 131977 0 0.0
rodata 90696 90696 0 0.0
text 743432 743432 0 0.0
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) 702996 702996 0 0.0
.bss 71200 71200 0 0.0
.data 2864 2864 0 0.0
.text 589552 589552 0 0.0
light k32w0+release (read only) 609688 609688 0 0.0
(read/write) 82600 82600 0 0.0
.bss 67296 67296 0 0.0
.data 2208 2208 0 0.0
.text 609152 609152 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 794888 794888 0 0.0
.bss 80744 80744 0 0.0
.data 2064 2064 0 0.0
.text 672712 672712 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 832272 832272 0 0.0
(read/write) 1804644 1804868 224 0.0
.bss 198380 198380 0 0.0
.data 2688 2688 0 0.0
.text 1595188 1595412 224 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 835424 835424 0 0.0
(read/write) 1726548 1726772 224 0.0
.bss 195260 195260 0 0.0
.data 2656 2656 0 0.0
.text 1520244 1520468 224 0.0
light cy8ckit_062s2_43012 (read only) 842144 842144 0 0.0
(read/write) 1645284 1645508 224 0.0
.bss 188724 188724 0 0.0
.data 2472 2472 0 0.0
.text 1445700 1445924 224 0.0
lock cy8ckit_062s2_43012 (read only) 815072 815072 0 0.0
(read/write) 1673948 1674172 224 0.0
.bss 215804 215804 0 0.0
.data 2464 2464 0 0.0
.text 1447292 1447516 224 0.0
qpg lighting-app qpg6105+debug (read/write) 1133220 1133220 0 0.0
.bss 102588 102588 0 0.0
.data 856 856 0 0.0
.text 645600 645600 0 0.0
lock-app qpg6105+debug (read/write) 1093220 1093220 0 0.0
.bss 97260 97260 0 0.0
.data 860 860 0 0.0
.text 605604 605604 0 0.0
stm32 light STM32WB5MM-DK (read/write) 604809 604809 0 0.0
.bss 128444 128444 0 0.0
.data 688 688 0 0.0
.rodata 80532 80532 0 0.0
.text 385400 385400 0 0.0

@mergify mergify bot merged commit e1dd279 into project-chip:master Apr 24, 2024
65 checks passed
shubhamdp added a commit to shubhamdp/connectedhomeip that referenced this pull request Apr 25, 2024
…33109)

* [ESP32] Implement BLE Manager Shutdown for nimble host

- Replace ble deinit imple in Esp32AppServer with BLEMgr().Shutdown()
- Replace few ESP_LOG with ChipLog in Esp32AppServer
- Move ble deinit kCommissioningComplete switch case
- Make USE_BLE_ONLY_FOR_COMMISSIONING depends on BT_ENABLED

* Restyled by clang-format

* address reviews

* Add checks for timer handler

---------

Co-authored-by: Restyled.io <[email protected]>
Jerry-ESP pushed a commit to Jerry-ESP/connectedhomeip that referenced this pull request Apr 25, 2024
* [ESP32] Implement BLE Manager Shutdown for nimble host

- Replace ble deinit imple in Esp32AppServer with BLEMgr().Shutdown()
- Replace few ESP_LOG with ChipLog in Esp32AppServer
- Move ble deinit kCommissioningComplete switch case
- Make USE_BLE_ONLY_FOR_COMMISSIONING depends on BT_ENABLED

* Restyled by clang-format

* address reviews

* Add checks for timer handler

---------

Co-authored-by: Restyled.io <[email protected]>
andy31415 pushed a commit that referenced this pull request Apr 25, 2024
…deinit crash fix (#33159)

* [ESP32] Enable extended ble announcement for esp32 platform (#32389)

* enable extended ble advertisement for esp32 platform

* changed extended advertisement to extended announcement

* restlyed

* made discoverty timeout range and default dependent on extended announcement.

* help section for extended ble announcement

* fixed eliding of extended data during extended announcement.

* fixed setting of Additional data flag

* [ESP32] Implement BLE Manager Shutdown for nimble host (#33109)

* [ESP32] Implement BLE Manager Shutdown for nimble host

- Replace ble deinit imple in Esp32AppServer with BLEMgr().Shutdown()
- Replace few ESP_LOG with ChipLog in Esp32AppServer
- Move ble deinit kCommissioningComplete switch case
- Make USE_BLE_ONLY_FOR_COMMISSIONING depends on BT_ENABLED

* Restyled by clang-format

* address reviews

* Add checks for timer handler

---------

Co-authored-by: Restyled.io <[email protected]>

---------

Co-authored-by: SAYON DEEP <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
espressif-bot pushed a commit to espressif/connectedhomeip that referenced this pull request Apr 25, 2024
…33109)

* [ESP32] Implement BLE Manager Shutdown for nimble host

- Replace ble deinit imple in Esp32AppServer with BLEMgr().Shutdown()
- Replace few ESP_LOG with ChipLog in Esp32AppServer
- Move ble deinit kCommissioningComplete switch case
- Make USE_BLE_ONLY_FOR_COMMISSIONING depends on BT_ENABLED

* Restyled by clang-format

* address reviews

* Add checks for timer handler

---------

Co-authored-by: Restyled.io <[email protected]>
espressif-bot pushed a commit to espressif/connectedhomeip that referenced this pull request Apr 25, 2024
[ESP32] Implement BLE Manager Shutdown for nimble host (project-chip#33109)

See merge request espressif/connectedhomeip!15
andy31415 pushed a commit that referenced this pull request Apr 26, 2024
… v1.2-branch (#33161)

* [1.1] Cherry pick Thread DNS client and memory leak fixes (#31457)

* [app] Fix DeferredAttributePersister memory leak (#31075)

* [app] Fix DeferredAttributePerister memory leak

ScopedMemoryBuffer's Release() method was used instead of
Free(). Add CHECK_RETURN_VALUE annotation to the Release()
method to prevent from making such a mistake in the future.

Signed-off-by: Damian Krolik <[email protected]>

* Code review

---------

Signed-off-by: Damian Krolik <[email protected]>
(cherry picked from commit 3e8aeeb)

* [OpenThread] Harden DNS record parsing (#31227)

OpenThread applications would crash upon receiving an empty
DNS TXT record. The reason was that the code for copying OT
DNS service info object into Matter DnssdService object
would not initialize the TXT entry count in the latter
object in such a case.

In the reported case, the Matter stack was presented an
empty TXT record because OpenThread's DNS client received
a TXT record with TTL 0 and it discarded its contents.
Nevertheless, the issue could be reproduced by publishing
Matter service without TXT entries and kicking off DNS query.

1. Initialize the TXT entry and subtype count properly in all
   scenarios.
2. Do not even process the service info object if an error was
   returned by OpenThread before.
3. Extract some boilerplate to a separate function to improve
   readability.

Signed-off-by: Damian Krolik <[email protected]>
(cherry picked from commit 76b6bb5)

* ESP32: Add EndpointQueueFilter for ESP32 platform (#31440)

* Add EndpointQueueFilter for ESP32 platform

* Restyled by clang-format

* Restyled by gn

* fix compile error when disabling inet ipv4

* review changes

* Restyled by clang-format

* review changes

* review changes

---------

Co-authored-by: Restyled.io <[email protected]>

* [ESP32] Limit number of returned WiFi scan results to configured limit (#30780)

Scan results are allocated on the heap and on a resource critical device
where heap is less, this may fail if there are a lot of APs in the
vicinity.

* [ESP32] Fix the threading issue in nimble (#29180)

* [ESP32] Fix the threading issue in nimble

Send ble connection error than executing in nimble thread context

* comment explaining why we are posting connection error event

* Adding a comment for kCHIPoBLEConnectionError

* IM: Create ReadHandler after Session Establishment for Subscription Resumption (#30491)

* IM: Create ReadHandler after Session Establishment for Subscription Resumption

* Restyled by clang-format

* Make SubscriptionResumptionHelper inherits from SubscriptionInfo

* review changes

* Rename Helper to SessionEstablisher

* Restyled by clang-format

* RAII changes

* Restyled by clang-format

---------

Co-authored-by: Restyled.io <[email protected]>

* [ESP32] Fix adding NDEBUG flag to CPPFLAGS (#30763)

In esp-idf, NDEBUG flag is added to CPPFLAGS only if assertions are
disabled. Making this inline to that.

* Add records of session establishment for subscription resumption (#31755)

* Add records of session establishment for subscription resumption

* Restyled by clang-format

* review changes

* Schedule subscription resumption when failing to establish the session in SubscriptionResumptionSessionEstablisher

* Add option to set subscription timeout resumption retry interval seconds for Linux app
Add cirque test for subscription resumption timeout

* Restyled by clang-format

* Restyled by autopep8

* Restyled by isort

* fix CI building

* Add test to the test list

* add subscription resumption restries number to SubscriptionInfo struct

* review changes

* make resumption retries persistent

* Restyled by clang-format

* ci build fixes

* try to fix cirque test

---------

Co-authored-by: Restyled.io <[email protected]>

* ESP32: check ap info in IsStationConnected (#31438)

* Add checks for mOTInst in GenericThreadStackManagerImpl_OpenThread (#32482)

* Add checks for mOTInst in GenericThreadStackManagerImpl_OpenThread

* review changes

* [ESP32] Fix few attributes with fixed quality in DeviceInfoProvider (#32893)

* [ESP32] Fix few attributes with fixed quality in DeviceInfoProvider

Fixed labels, supported locales, supported calendar types were being
read from the nvs(flash) and during OTA its a hassle if one wants to
upgrade these values. Added few APIs to set the data for these
attributes in ESP32DeviceInfoProvider.

* Restyled by clang-format

* Restyled by prettier-markdown

* fix the lint errors

* Add back the original Device info provider which reads from the nvs

Add StaticESP32DeviceInfoProvider along with APIs to set data

Remove changes from example and add a guide along with usage

---------

Co-authored-by: Restyled.io <[email protected]>

* Implement BLE Manager Shutdown for nimble host (#33109)

* [ESP32] Implement BLE Manager Shutdown for nimble host

- Replace ble deinit imple in Esp32AppServer with BLEMgr().Shutdown()
- Replace few ESP_LOG with ChipLog in Esp32AppServer
- Move ble deinit kCommissioningComplete switch case
- Make USE_BLE_ONLY_FOR_COMMISSIONING depends on BT_ENABLED

* Restyled by clang-format

* address reviews

* Add checks for timer handler

---------

Co-authored-by: Restyled.io <[email protected]>

* [ESP32]  Made a provision to generate esp_secure_cert partition in factory partition script. (#29840)

* Made a provision to generate esp_secure_cert partition in factory partition script.

- Added the provision to generate esp_secure_cert_partition based on option --dac-in-secure-cert.
- Refactored some code of the existing script - made it more modular.

* made outdir user governed

* Added the support for onboarding paylaod in factory script (#31274)

---------

Co-authored-by: Damian Królik <[email protected]>
Co-authored-by: Wang Qixiang <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Shubham Patil <[email protected]>
Co-authored-by: shripad621git <[email protected]>
@shubhamdp shubhamdp deleted the esp32_ble_deinit branch May 21, 2024 04:34
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