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

dynamic endpoints: add automatic attr storage, instantiation from ZAP templates #28372

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

plan44
Copy link
Contributor

@plan44 plan44 commented Jul 28, 2023

This PR originates from the discussion in #28166 and solves two problems when working with dynamic endpoints, as is the case in bridge-type apps.

There is no change in behaviour unless dynamic endpoint storage is explicitly assigned by an app. The DECLARE_DYNAMIC_xxx macros can still be used to define dynamic endpoints,
(but cannot use automatic attribute storage because the macros force all attributes to be "external").

automatic attribute storage for dynamic endpoints

  • Dynamically defined endpoints can now have their own block of storage
    (to be provided by the caller of emberAfSetDynamicEndpoint()).

  • If no storage is set for a dynamic endpoint, it behaves exactly as before,
    which is treating all attributes as "external", regardless of the respective
    bit in the attribute's metadata.

  • With a storage block provided, attributes behave the same way as static endpoint's
    do, that is, only those marked "external" need to be handled programmatically
    in the respective callbacks, other attributes' storage is automatic.

creating dynamic endpoints from ZAP templates instead via macros

  • Instead of re-creating dynamic endpoint's cluster declarations
    using the DECLARE_DYNAMIC_xxx macros, the new
    setupDynamicEndpointDeclaration() function allows setting
    up a dynamic endpoint by using clusters defined in another
    endpoint as templates. Usually that endpoint is a disabled endpoint created
    in ZAP with all clusters possibly to be used dynamically assigned.

  • In combination with dynamic endpoint attribute storage, this
    greatly simplifies implementing dynamic endpoints and allows
    configuring them using the ZAP tool to ensure specs conformance,
    much the same way as with statically defined endpoints.

@github-actions
Copy link

github-actions bot commented Jul 28, 2023

PR #28372: Size comparison from c1d26c0 to 2e48bd5

Increases above 0.2%:

platform target config section c1d26c0 2e48bd5 change % change
linux thermostat-no-ble arm64 .data 3200 3248 48 1.5
qpg lighting-app qpg6105+debug .data 788 796 8 1.0
lock-app qpg6105+debug .data 792 800 8 1.0
Increases (10 builds for bl602, bl702, bl702l, linux, mbed, qpg)
platform target config section c1d26c0 2e48bd5 change % change
bl602 lighting-app bl602 .data 9608 9616 8 0.1
.text 1055570 1055572 2 0.0
bl602+rpc .data 10008 10016 8 0.1
bl702 lighting-app bl702 .data 3600 3608 8 0.2
.debug_abbrev 1564066 1564068 2 0.0
.debug_aranges 140128 140144 16 0.0
.debug_frame 515388 515484 96 0.0
.debug_info 41278663 41279726 1063 0.0
.debug_line 5467456 5468007 551 0.0
.debug_loc 3557692 3558196 504 0.0
.debug_ranges 384056 384120 64 0.0
.debug_str 4008664 4008945 281 0.0
bl702+rpc (read/write) 1263459 1263471 12 0.0
.data 4144 4152 8 0.2
.debug_abbrev 1741241 1741243 2 0.0
.debug_aranges 148664 148680 16 0.0
.debug_frame 544256 544352 96 0.0
.debug_info 46151918 46152982 1064 0.0
.debug_line 5879895 5880446 551 0.0
.debug_loc 3763655 3764159 504 0.0
.debug_ranges 409800 409864 64 0.0
.debug_str 4428518 4428799 281 0.0
.text 1026900 1026902 2 0.0
bl702l lighting-app bl702l (read/write) 1150416 1150428 12 0.0
.data 4568 4576 8 0.2
.debug_abbrev 1566285 1566287 2 0.0
.debug_aranges 134632 134648 16 0.0
.debug_frame 495076 495172 96 0.0
.debug_info 41279771 41280836 1065 0.0
.debug_line 5383024 5383575 551 0.0
.debug_loc 3493831 3494321 490 0.0
.debug_ranges 389264 389328 64 0.0
.debug_str 4021121 4021402 281 0.0
.text 941298 941302 4 0.0
linux chip-tool-ipv6only arm64 (read only) 16963508 16963556 48 0.0
(read/write) 1121896 1121912 16 0.0
.data 4448 4456 8 0.2
.text 13899752 13899800 48 0.0
thermostat-no-ble arm64 (read/write) 243992 244040 48 0.0
.data 3200 3248 48 1.5
mbed lock-app-release cy8cproto_062_4343w .data 5152 5160 8 0.2
qpg lighting-app qpg6105+debug .data 788 796 8 1.0
lock-app qpg6105+debug .data 792 800 8 1.0
Decreases (6 builds for bl602, bl702, nrfconnect, qpg)
platform target config section c1d26c0 2e48bd5 change % change
bl602 lighting-app bl602+rpc (read/write) 1409666 1409426 -240 -0.0
.text 1087738 1087484 -254 -0.0
bl702 lighting-app bl702 (read/write) 1164851 1164603 -248 -0.0
.text 952494 952238 -256 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 842064 842044 -20 -0.0
nrf7002dk_nrf5340_cpuapp text 769728 769708 -20 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 text 808508 808488 -20 -0.0
qpg lock-app qpg6105+debug (read/write) 1132824 1132808 -16 -0.0
.text 579668 579652 -16 -0.0
Full report (13 builds for bl602, bl702, bl702l, linux, mbed, nrfconnect, qpg)
platform target config section c1d26c0 2e48bd5 change % change
bl602 lighting-app bl602 (read/write) 1361966 1361966 0 0.0
.bss 73806 73806 0 0.0
.data 9608 9616 8 0.1
.text 1055570 1055572 2 0.0
bl602+rpc (read/write) 1409666 1409426 -240 -0.0
.bss 81846 81846 0 0.0
.data 10008 10016 8 0.1
.text 1087738 1087484 -254 -0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1164851 1164603 -248 -0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 41237 41237 0 0.0
.bss_psram 43680 43680 0 0.0
.comment 48 48 0 0.0
.data 3600 3608 8 0.2
.debug_abbrev 1564066 1564068 2 0.0
.debug_aranges 140128 140144 16 0.0
.debug_frame 515388 515484 96 0.0
.debug_info 41278663 41279726 1063 0.0
.debug_line 5467456 5468007 551 0.0
.debug_loc 3557692 3558196 504 0.0
.debug_ranges 384056 384120 64 0.0
.debug_str 4008664 4008945 281 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 140 140 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 106104 106104 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 587740 587740 0 0.0
.symtab 175200 175200 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
952494 952238 -256 -0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1263459 1263471 12 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 49685 49685 0 0.0
.bss_psram 43680 43680 0 0.0
.comment 48 48 0 0.0
.data 4144 4152 8 0.2
.debug_abbrev 1741241 1741243 2 0.0
.debug_aranges 148664 148680 16 0.0
.debug_frame 544256 544352 96 0.0
.debug_info 46151918 46152982 1064 0.0
.debug_line 5879895 5880446 551 0.0
.debug_loc 3763655 3764159 504 0.0
.debug_ranges 409800 409864 64 0.0
.debug_str 4428518 4428799 281 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 156 156 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 120756 120756 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 650703 650703 0 0.0
.symtab 194128 194128 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1026900 1026902 2 0.0
bl702l lighting-app bl702l (read only) 278 278 0 0.0
(read/write) 1150416 1150428 12 0.0
.boot2 292 292 0 0.0
.bss 15924 15924 0 0.0
.bss_psram 78096 78096 0 0.0
.comment 48 48 0 0.0
.data 4568 4576 8 0.2
.debug_abbrev 1566285 1566287 2 0.0
.debug_aranges 134632 134648 16 0.0
.debug_frame 495076 495172 96 0.0
.debug_info 41279771 41280836 1065 0.0
.debug_line 5383024 5383575 551 0.0
.debug_loc 3493831 3494321 490 0.0
.debug_ranges 389264 389328 64 0.0
.debug_str 4021121 4021402 281 0.0
.hbn 3244 3244 0 0.0
.hbn_noinit 308 308 0 0.0
.init 408 408 0 0.0
.init_array 140 140 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 99988 99988 0 0.0
.romdata 3224 3224 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 286 286 0 0.0
.stack 2048 2048 0 0.0
.strtab 587965 587965 0 0.0
.symtab 174768 174768 0 0.0
.tcm_data 692 692 0 0.0
.tcmcode 278 278 0 0.0
.text 0 0 0 0.0
941298 941302 4 0.0
linux chip-tool-ipv6only arm64 (read only) 16963508 16963556 48 0.0
(read/write) 1121896 1121912 16 0.0
.bss 102984 102984 0 0.0
.data 4448 4456 8 0.2
.data.rel.ro 985656 985656 0 0.0
.dynamic 512 512 0 0.0
.got 23328 23328 0 0.0
.init 24 24 0 0.0
.init_array 240 240 0 0.0
.rodata 825856 825856 0 0.0
.text 13899752 13899800 48 0.0
thermostat-no-ble arm64 (read only) 4445876 4445876 0 0.0
(read/write) 243992 244040 48 0.0
.bss 122200 122200 0 0.0
.data 3200 3248 48 1.5
.data.rel.ro 102168 102168 0 0.0
.dynamic 512 512 0 0.0
.got 11960 11960 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 161340 161340 0 0.0
.text 3946680 3946680 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2517144 2517144 0 0.0
.bss 220432 220432 0 0.0
.data 5152 5160 8 0.2
.text 1479828 1479828 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1216528 1216528 0 0.0
bss 154659 154659 0 0.0
rodata 140676 140676 0 0.0
text 842064 842044 -20 -0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1335828 1335828 0 0.0
bss 140117 140117 0 0.0
rodata 135196 135196 0 0.0
text 769728 769708 -20 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1154444 1154444 0 0.0
bss 154838 154838 0 0.0
rodata 112064 112064 0 0.0
text 808508 808488 -20 -0.0
qpg lighting-app qpg6105+debug (read/write) 1175536 1175536 0 0.0
.bss 101336 101336 0 0.0
.data 788 796 8 1.0
.text 622376 622376 0 0.0
lock-app qpg6105+debug (read/write) 1132824 1132808 -16 -0.0
.bss 96056 96056 0 0.0
.data 792 800 8 1.0
.text 579668 579652 -16 -0.0

@plan44 plan44 force-pushed the PR/better-dynamic-ep-support branch from 2e48bd5 to 3865e89 Compare July 28, 2023 16:43
@github-actions
Copy link

github-actions bot commented Jul 28, 2023

PR #28372: Size comparison from a406232 to 3865e89

Increases above 0.2%:

platform target config section a406232 3865e89 change % change
linux all-clusters-app debug .data 4432 4496 64 1.4
all-clusters-minimal-app debug .data 4304 4368 64 1.5
bridge-app debug .data 4880 5040 160 3.3
lighting-app debug+rpc+ui .data 4880 4944 64 1.3
lock-app debug .data 4048 4112 64 1.6
ota-provider-app debug .data 4256 4320 64 1.5
ota-requestor-app debug .data 4624 4688 64 1.4
shell debug .data 1264 1328 64 5.1
thermostat-no-ble arm64 .data 3200 3248 48 1.5
tv-app debug .data 6224 6384 160 2.6
tv-casting-app debug .data 2896 2928 32 1.1
qpg lighting-app qpg6105+debug .data 788 796 8 1.0
lock-app qpg6105+debug .data 792 800 8 1.0
Increases (37 builds for bl602, bl702, bl702l, linux, mbed, qpg, telink)
platform target config section a406232 3865e89 change % change
bl602 lighting-app bl602 .data 9608 9616 8 0.1
bl602+rpc .data 10008 10016 8 0.1
bl702 lighting-app bl702 .data 3600 3608 8 0.2
.debug_abbrev 1564088 1564090 2 0.0
.debug_aranges 140136 140152 16 0.0
.debug_frame 515456 515552 96 0.0
.debug_info 41279995 41281057 1062 0.0
.debug_line 5469548 5470123 575 0.0
.debug_loc 3558391 3558882 491 0.0
.debug_ranges 384136 384200 64 0.0
.debug_str 4008819 4009100 281 0.0
bl702+rpc (read/write) 1263459 1263467 8 0.0
.data 4144 4152 8 0.2
.debug_abbrev 1741263 1741265 2 0.0
.debug_aranges 148672 148688 16 0.0
.debug_frame 544324 544420 96 0.0
.debug_info 46153250 46154312 1062 0.0
.debug_line 5881987 5882562 575 0.0
.debug_loc 3764354 3764845 491 0.0
.debug_ranges 409880 409944 64 0.0
.debug_str 4428673 4428954 281 0.0
bl702l lighting-app bl702l (read/write) 1150420 1150424 4 0.0
.data 4568 4576 8 0.2
.debug_abbrev 1566307 1566309 2 0.0
.debug_aranges 134640 134656 16 0.0
.debug_frame 495144 495240 96 0.0
.debug_info 41281105 41282167 1062 0.0
.debug_line 5385116 5385691 575 0.0
.debug_loc 3494532 3495022 490 0.0
.debug_ranges 389344 389408 64 0.0
.debug_str 4021276 4021557 281 0.0
linux all-clusters-app debug (read/write) 417264 417328 64 0.0
.data 4432 4496 64 1.4
.rodata 332848 332912 64 0.0
all-clusters-minimal-app debug (read/write) 231280 231344 64 0.0
.data 4304 4368 64 1.5
.rodata 270950 271014 64 0.0
bridge-app debug (read/write) 132936 133096 160 0.1
.data 4880 5040 160 3.3
.rodata 213480 213512 32 0.0
chip-tool debug .rodata 914569 914633 64 0.0
chip-tool-ipv6only arm64 (read only) 16968836 16968884 48 0.0
.data 4448 4456 8 0.2
.text 13903512 13903560 48 0.0
lighting-app debug+rpc+ui (read/write) 222184 222248 64 0.0
.data 4880 4944 64 1.3
.rodata 337524 337588 64 0.0
lock-app debug (read/write) 202120 202184 64 0.0
.data 4048 4112 64 1.6
.rodata 246150 246214 64 0.0
ota-provider-app debug (read/write) 191992 192056 64 0.0
.data 4256 4320 64 1.5
.rodata 200006 200038 32 0.0
ota-requestor-app debug (read/write) 196304 196368 64 0.0
.data 4624 4688 64 1.4
.rodata 203430 203494 64 0.0
shell debug (read/write) 150616 150680 64 0.0
.data 1264 1328 64 5.1
.rodata 208818 208882 64 0.0
thermostat-no-ble arm64 (read/write) 243992 244040 48 0.0
.data 3200 3248 48 1.5
tv-app debug (read/write) 349944 350104 160 0.0
.data 6224 6384 160 2.6
.rodata 271446 271510 64 0.0
tv-casting-app debug (read/write) 210528 210560 32 0.0
.data 2896 2928 32 1.1
.rodata 366492 366556 64 0.0
mbed lock-app-release cy8cproto_062_4343w .data 5152 5160 8 0.2
qpg lighting-app qpg6105+debug .data 788 796 8 1.0
lock-app qpg6105+debug .data 792 800 8 1.0
telink all-clusters-app tlsr9518adk80d (read/write) 1067856 1067864 8 0.0
bridge-app tlsr9518adk80d (read/write) 942136 942264 128 0.0
text 645494 645544 50 0.0
contact-sensor-app tlsr9518adk80d (read/write) 874024 874048 24 0.0
text 588818 588836 18 0.0
light-switch-app tlsr9518adk80d (read/write) 902928 902952 24 0.0
text 614466 614482 16 0.0
lighting-app tlsr9518adk80d (read/write) 980468 980492 24 0.0
text 684336 684348 12 0.0
lighting-app-factory-data tlsr9518adk80d (read/write) 991840 991864 24 0.0
text 691850 691866 16 0.0
lighting-app-rpc tlsr9518adk80d (read/write) 1049976 1049992 16 0.0
text 729242 729250 8 0.0
lighting-app-shell tlsr9518adk80d (read/write) 1081328 1081352 24 0.0
text 749372 749384 12 0.0
lock-app tlsr9518adk80d (read/write) 928588 928620 32 0.0
text 616972 616990 18 0.0
ota-requestor-app tlsr9518adk80d (read/write) 896664 896672 8 0.0
pump-app tlsr9518adk80d (read/write) 879536 879552 16 0.0
text 594530 594540 10 0.0
pump-controller-app tlsr9518adk80d (read/write) 866668 866692 24 0.0
text 584948 584962 14 0.0
smoke_co_alarm-app tlsr9518adk80d (read/write) 876084 876108 24 0.0
text 591878 591894 16 0.0
temperature-measurement-app tlsr9518adk80d (read/write) 862800 862824 24 0.0
text 580550 580566 16 0.0
thermostat tlsr9518adk80d (read/write) 908744 908760 16 0.0
text 619994 620004 10 0.0
window-covering tlsr9518adk80d (read/write) 904096 904120 24 0.0
text 614882 614898 16 0.0
Decreases (24 builds for bl602, bl702, bl702l, linux, nrfconnect, qpg, telink)
platform target config section a406232 3865e89 change % change
bl602 lighting-app bl602 .text 1055574 1055572 -2 -0.0
bl602+rpc (read/write) 1409666 1409426 -240 -0.0
.text 1087738 1087486 -252 -0.0
bl702 lighting-app bl702 (read/write) 1164851 1164599 -252 -0.0
.text 952494 952236 -258 -0.0
bl702+rpc .text 1026900 1026898 -2 -0.0
bl702l lighting-app bl702l .text 941302 941300 -2 -0.0
linux all-clusters-app debug (read only) 5479745 5479569 -176 -0.0
.text 4770275 4770035 -240 -0.0
all-clusters-minimal-app debug (read only) 4894825 4894649 -176 -0.0
.text 4393891 4393651 -240 -0.0
bridge-app debug (read only) 2763953 2763825 -128 -0.0
.text 2373139 2372979 -160 -0.0
chip-tool debug (read only) 17753641 17753593 -48 -0.0
.text 14784259 14784147 -112 -0.0
lighting-app debug+rpc+ui (read only) 5272873 5272713 -160 -0.0
.text 4693443 4693219 -224 -0.0
lock-app debug (read only) 4452401 4452257 -144 -0.0
.text 3997907 3997699 -208 -0.0
ota-provider-app debug (read only) 4122633 4122441 -192 -0.0
.text 3732499 3732275 -224 -0.0
ota-requestor-app debug (read only) 4216561 4216401 -160 -0.0
.text 3818675 3818451 -224 -0.0
shell debug (read only) 2923057 2922945 -112 -0.0
.text 2543538 2543362 -176 -0.0
tv-app debug (read only) 5310017 5309905 -112 -0.0
.text 4795123 4794947 -176 -0.0
tv-casting-app debug (read only) 8287873 8287793 -80 -0.0
.text 7521795 7521651 -144 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 842060 842040 -20 -0.0
nrf7002dk_nrf5340_cpuapp text 769728 769708 -20 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 text 808508 808488 -20 -0.0
qpg lock-app qpg6105+debug (read/write) 1132824 1132808 -16 -0.0
.text 579668 579652 -16 -0.0
telink all-clusters-app tlsr9518adk80d text 727254 727246 -8 -0.0
all-clusters-minimal-app tlsr9518adk80d text 667884 667872 -12 -0.0
ota-requestor-app tlsr9518adk80d text 610714 610712 -2 -0.0
shell tlsr9518adk80d (read/write) 744132 744124 -8 -0.0
text 478576 478572 -4 -0.0
Full report (42 builds for bl602, bl702, bl702l, linux, mbed, nrfconnect, qpg, telink)
platform target config section a406232 3865e89 change % change
bl602 lighting-app bl602 (read/write) 1361966 1361966 0 0.0
.bss 73806 73806 0 0.0
.data 9608 9616 8 0.1
.text 1055574 1055572 -2 -0.0
bl602+rpc (read/write) 1409666 1409426 -240 -0.0
.bss 81846 81846 0 0.0
.data 10008 10016 8 0.1
.text 1087738 1087486 -252 -0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1164851 1164599 -252 -0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 41237 41237 0 0.0
.bss_psram 43680 43680 0 0.0
.comment 48 48 0 0.0
.data 3600 3608 8 0.2
.debug_abbrev 1564088 1564090 2 0.0
.debug_aranges 140136 140152 16 0.0
.debug_frame 515456 515552 96 0.0
.debug_info 41279995 41281057 1062 0.0
.debug_line 5469548 5470123 575 0.0
.debug_loc 3558391 3558882 491 0.0
.debug_ranges 384136 384200 64 0.0
.debug_str 4008819 4009100 281 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 140 140 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 106104 106104 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 587740 587740 0 0.0
.symtab 175200 175200 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
952494 952236 -258 -0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1263459 1263467 8 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 49685 49685 0 0.0
.bss_psram 43680 43680 0 0.0
.comment 48 48 0 0.0
.data 4144 4152 8 0.2
.debug_abbrev 1741263 1741265 2 0.0
.debug_aranges 148672 148688 16 0.0
.debug_frame 544324 544420 96 0.0
.debug_info 46153250 46154312 1062 0.0
.debug_line 5881987 5882562 575 0.0
.debug_loc 3764354 3764845 491 0.0
.debug_ranges 409880 409944 64 0.0
.debug_str 4428673 4428954 281 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 156 156 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 120756 120756 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 650703 650703 0 0.0
.symtab 194128 194128 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1026900 1026898 -2 -0.0
bl702l lighting-app bl702l (read only) 278 278 0 0.0
(read/write) 1150420 1150424 4 0.0
.boot2 292 292 0 0.0
.bss 15924 15924 0 0.0
.bss_psram 78096 78096 0 0.0
.comment 48 48 0 0.0
.data 4568 4576 8 0.2
.debug_abbrev 1566307 1566309 2 0.0
.debug_aranges 134640 134656 16 0.0
.debug_frame 495144 495240 96 0.0
.debug_info 41281105 41282167 1062 0.0
.debug_line 5385116 5385691 575 0.0
.debug_loc 3494532 3495022 490 0.0
.debug_ranges 389344 389408 64 0.0
.debug_str 4021276 4021557 281 0.0
.hbn 3244 3244 0 0.0
.hbn_noinit 308 308 0 0.0
.init 408 408 0 0.0
.init_array 140 140 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 99988 99988 0 0.0
.romdata 3224 3224 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 286 286 0 0.0
.stack 2048 2048 0 0.0
.strtab 587965 587965 0 0.0
.symtab 174768 174768 0 0.0
.tcm_data 692 692 0 0.0
.tcmcode 278 278 0 0.0
.text 0 0 0 0.0
941302 941300 -2 -0.0
linux all-clusters-app debug (read only) 5479745 5479569 -176 -0.0
(read/write) 417264 417328 64 0.0
.bss 129920 129920 0 0.0
.data 4432 4496 64 1.4
.data.rel.ro 275584 275584 0 0.0
.dynamic 624 624 0 0.0
.got 5384 5384 0 0.0
.init 27 27 0 0.0
.init_array 1288 1288 0 0.0
.rodata 332848 332912 64 0.0
.text 4770275 4770035 -240 -0.0
all-clusters-minimal-app debug (read only) 4894825 4894649 -176 -0.0
(read/write) 231280 231344 64 0.0
.bss 125600 125600 0 0.0
.data 4304 4368 64 1.5
.data.rel.ro 94248 94248 0 0.0
.dynamic 624 624 0 0.0
.got 5344 5344 0 0.0
.init 27 27 0 0.0
.init_array 1128 1128 0 0.0
.rodata 270950 271014 64 0.0
.text 4393891 4393651 -240 -0.0
bridge-app debug (read only) 2763953 2763825 -128 -0.0
(read/write) 132936 133096 160 0.1
.bss 50680 50680 0 0.0
.data 4880 5040 160 3.3
.data.rel.ro 71272 71272 0 0.0
.dynamic 624 624 0 0.0
.got 4640 4640 0 0.0
.init 27 27 0 0.0
.init_array 808 808 0 0.0
.rodata 213480 213512 32 0.0
.text 2373139 2372979 -160 -0.0
chip-tool debug (read only) 17753641 17753593 -48 -0.0
(read/write) 1054936 1054936 0 0.0
.bss 93592 93592 0 0.0
.data 5154 5154 0 0.0
.data.rel.ro 948848 948848 0 0.0
.dynamic 624 624 0 0.0
.got 5880 5880 0 0.0
.init 27 27 0 0.0
.init_array 792 792 0 0.0
.rodata 914569 914633 64 0.0
.text 14784259 14784147 -112 -0.0
chip-tool-ipv6only arm64 (read only) 16968836 16968884 48 0.0
(read/write) 1122488 1122488 0 0.0
.bss 102984 102984 0 0.0
.data 4448 4456 8 0.2
.data.rel.ro 986224 986224 0 0.0
.dynamic 512 512 0 0.0
.got 23344 23344 0 0.0
.init 24 24 0 0.0
.init_array 240 240 0 0.0
.rodata 825872 825872 0 0.0
.text 13903512 13903560 48 0.0
lighting-app debug+rpc+ui (read only) 5272873 5272713 -160 -0.0
(read/write) 222184 222248 64 0.0
.bss 117616 117616 0 0.0
.data 4880 4944 64 1.3
.data.rel.ro 92112 92112 0 0.0
.dynamic 672 672 0 0.0
.got 5928 5928 0 0.0
.init 27 27 0 0.0
.init_array 944 944 0 0.0
.rodata 337524 337588 64 0.0
.text 4693443 4693219 -224 -0.0
lock-app debug (read only) 4452401 4452257 -144 -0.0
(read/write) 202120 202184 64 0.0
.bss 112944 112944 0 0.0
.data 4048 4112 64 1.6
.data.rel.ro 78368 78368 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 848 848 0 0.0
.rodata 246150 246214 64 0.0
.text 3997907 3997699 -208 -0.0
ota-provider-app debug (read only) 4122633 4122441 -192 -0.0
(read/write) 191992 192056 64 0.0
.bss 113504 113504 0 0.0
.data 4256 4320 64 1.5
.data.rel.ro 68320 68320 0 0.0
.dynamic 624 624 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 720 720 0 0.0
.rodata 200006 200038 32 0.0
.text 3732499 3732275 -224 -0.0
ota-requestor-app debug (read only) 4216561 4216401 -160 -0.0
(read/write) 196304 196368 64 0.0
.bss 114432 114432 0 0.0
.data 4624 4688 64 1.4
.data.rel.ro 71320 71320 0 0.0
.dynamic 624 624 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 203430 203494 64 0.0
.text 3818675 3818451 -224 -0.0
shell debug (read only) 2923057 2922945 -112 -0.0
(read/write) 150616 150680 64 0.0
.bss 59592 59592 0 0.0
.data 1264 1328 64 5.1
.data.rel.ro 83896 83896 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 1128 1128 0 0.0
.rodata 208818 208882 64 0.0
.text 2543538 2543362 -176 -0.0
thermostat-no-ble arm64 (read only) 4445876 4445876 0 0.0
(read/write) 243992 244040 48 0.0
.bss 122200 122200 0 0.0
.data 3200 3248 48 1.5
.data.rel.ro 102168 102168 0 0.0
.dynamic 512 512 0 0.0
.got 11960 11960 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 161340 161340 0 0.0
.text 3946680 3946680 0 0.0
tv-app debug (read only) 5310017 5309905 -112 -0.0
(read/write) 349944 350104 160 0.0
.bss 240416 240416 0 0.0
.data 6224 6384 160 2.6
.data.rel.ro 95904 95904 0 0.0
.dynamic 624 624 0 0.0
.got 5616 5616 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 271446 271510 64 0.0
.text 4795123 4794947 -176 -0.0
tv-casting-app debug (read only) 8287873 8287793 -80 -0.0
(read/write) 210528 210560 32 0.0
.bss 54112 54112 0 0.0
.data 2896 2928 32 1.1
.data.rel.ro 146712 146712 0 0.0
.dynamic 624 624 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 1048 1048 0 0.0
.rodata 366492 366556 64 0.0
.text 7521795 7521651 -144 -0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2517144 2517144 0 0.0
.bss 220432 220432 0 0.0
.data 5152 5160 8 0.2
.text 1479828 1479828 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1216528 1216528 0 0.0
bss 154659 154659 0 0.0
rodata 140676 140676 0 0.0
text 842060 842040 -20 -0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1335828 1335828 0 0.0
bss 140117 140117 0 0.0
rodata 135196 135196 0 0.0
text 769728 769708 -20 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1154444 1154444 0 0.0
bss 154838 154838 0 0.0
rodata 112064 112064 0 0.0
text 808508 808488 -20 -0.0
qpg lighting-app qpg6105+debug (read/write) 1175536 1175536 0 0.0
.bss 101336 101336 0 0.0
.data 788 796 8 1.0
.text 622376 622376 0 0.0
lock-app qpg6105+debug (read/write) 1132824 1132808 -16 -0.0
.bss 96056 96056 0 0.0
.data 792 800 8 1.0
.text 579668 579652 -16 -0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1067856 1067864 8 0.0
bss 107348 107348 0 0.0
text 727254 727246 -8 -0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 974316 974316 0 0.0
bss 105324 105324 0 0.0
text 667884 667872 -12 -0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 942136 942264 128 0.0
bss 109344 109344 0 0.0
text 645494 645544 50 0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 874024 874048 24 0.0
bss 99000 99000 0 0.0
text 588818 588836 18 0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 902928 902952 24 0.0
bss 99564 99564 0 0.0
text 614466 614482 16 0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 980468 980492 24 0.0
bss 107676 107676 0 0.0
text 684336 684348 12 0.0
lighting-app-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 991840 991864 24 0.0
bss 111924 111924 0 0.0
text 691850 691866 16 0.0
lighting-app-rpc tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1049976 1049992 16 0.0
bss 109248 109248 0 0.0
text 729242 729250 8 0.0
lighting-app-shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1081328 1081352 24 0.0
bss 120324 120324 0 0.0
text 749372 749384 12 0.0
lock-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 928588 928620 32 0.0
bss 99644 99644 0 0.0
text 616972 616990 18 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 896664 896672 8 0.0
bss 100272 100272 0 0.0
text 610714 610712 -2 -0.0
pump-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 879536 879552 16 0.0
bss 99132 99132 0 0.0
text 594530 594540 10 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 866668 866692 24 0.0
bss 98932 98932 0 0.0
text 584948 584962 14 0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 744132 744124 -8 -0.0
bss 97256 97256 0 0.0
text 478576 478572 -4 -0.0
smoke_co_alarm-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 876084 876108 24 0.0
bss 99088 99088 0 0.0
text 591878 591894 16 0.0
temperature-measurement-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 862800 862824 24 0.0
bss 98840 98840 0 0.0
text 580550 580566 16 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 908744 908760 16 0.0
bss 99384 99384 0 0.0
text 619994 620004 10 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 904096 904120 24 0.0
bss 99668 99668 0 0.0
text 614882 614898 16 0.0

@plan44 plan44 marked this pull request as ready for review August 5, 2023 09:07
@plan44 plan44 force-pushed the PR/better-dynamic-ep-support branch 2 times, most recently from 35b81e5 to 4cea18b Compare August 8, 2023 10:22
@github-actions
Copy link

github-actions bot commented Aug 8, 2023

PR #28372: Size comparison from 367a0c6 to 4cea18b

Increases (44 builds for bl602, bl702, bl702l, esp32, linux, mbed, nrfconnect, qpg, telink)
platform target config section 367a0c6 4cea18b change % change
bl602 lighting-app bl602 (read/write) 1363378 1363394 16 0.0
.bss 73622 73630 8 0.0
bl602+rpc (read/write) 1410846 1410862 16 0.0
.bss 81662 81670 8 0.0
.text 1088404 1088406 2 0.0
bl702 lighting-app bl702 .bss 41285 41301 16 0.0
.debug_abbrev 1566850 1566852 2 0.0
.debug_aranges 140376 140392 16 0.0
.debug_frame 516544 516640 96 0.0
.debug_info 41493418 41494472 1054 0.0
.debug_line 5483125 5483699 574 0.0
.debug_loc 3564497 3564930 433 0.0
.debug_ranges 384456 384520 64 0.0
.debug_str 4011830 4012111 281 0.0
bl702+rpc .debug_abbrev 1743980 1743982 2 0.0
.debug_aranges 148920 148936 16 0.0
.debug_frame 545448 545544 96 0.0
.debug_info 46387857 46388910 1053 0.0
.debug_line 5895647 5896221 574 0.0
.debug_loc 3770653 3771086 433 0.0
.debug_ranges 410208 410272 64 0.0
.debug_str 4431695 4431976 281 0.0
bl702l lighting-app bl702l .debug_abbrev 1569069 1569071 2 0.0
.debug_aranges 134880 134896 16 0.0
.debug_frame 496232 496328 96 0.0
.debug_info 41494527 41495580 1053 0.0
.debug_line 5398819 5399393 574 0.0
.debug_loc 3500581 3501013 432 0.0
.debug_ranges 389664 389728 64 0.0
.debug_str 4024299 4024580 281 0.0
esp32 all-clusters-app c3devkit (read/write) 1701964 1701980 16 0.0
.dram0.bss 79048 79064 16 0.0
m5stack (read/write) 550174 550190 16 0.0
.dram0.bss 85416 85432 16 0.0
linux all-clusters-app debug (read/write) 417632 417696 64 0.0
.bss 130400 130464 64 0.0
.rodata 334000 334064 64 0.0
all-clusters-minimal-app debug (read/write) 231384 231448 64 0.0
.bss 126016 126080 64 0.1
.rodata 271878 271942 64 0.0
bridge-app debug (read/write) 132816 132944 128 0.1
.bss 51480 51608 128 0.2
.rodata 214440 214472 32 0.0
chip-tool debug .rodata 911729 911793 64 0.0
chip-tool-ipv6only arm64 (read only) 16914660 16914708 48 0.0
.text 13854424 13854472 48 0.0
lighting-app debug+rpc+ui (read/write) 222056 222088 32 0.0
.bss 117712 117744 32 0.0
.rodata 336948 337012 64 0.0
lock-app debug (read/write) 202808 202840 32 0.0
.bss 113328 113360 32 0.0
.rodata 247782 247846 64 0.0
ota-provider-app debug (read/write) 191872 191904 32 0.0
.bss 113504 113536 32 0.0
.rodata 200966 200998 32 0.0
ota-requestor-app debug (read/write) 196184 196216 32 0.0
.bss 114560 114592 32 0.0
.rodata 204390 204454 64 0.0
shell debug (read/write) 150688 150752 64 0.0
.bss 60008 60072 64 0.1
.rodata 210674 210738 64 0.0
thermostat-no-ble arm64 (read/write) 243848 243896 48 0.0
.bss 122280 122328 48 0.0
tv-app debug (read/write) 349856 350016 160 0.0
.bss 241280 241440 160 0.1
.rodata 272374 272438 64 0.0
tv-casting-app debug (read/write) 210568 210600 32 0.0
.bss 54208 54240 32 0.1
.rodata 367644 367676 32 0.0
mbed lock-app-release cy8cproto_062_4343w .bss 219904 219912 8 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1218660 1218772 112 0.0
bss 154612 154628 16 0.0
nrf7002dk_nrf5340_cpuapp bss 140070 140086 16 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 bss 154791 154807 16 0.0
qpg lighting-app qpg6105+debug .bss 101176 101184 8 0.0
lock-app qpg6105+debug .bss 95896 95904 8 0.0
telink all-clusters-app tlsr9518adk80d bss 107308 107324 16 0.0
all-clusters-minimal-app tlsr9518adk80d bss 105284 105300 16 0.0
bridge-app tlsr9518adk80d (read/write) 944056 944196 140 0.0
bss 109660 109736 76 0.1
text 646888 646950 62 0.0
contact-sensor-app tlsr9518adk80d (read/write) 876020 876052 32 0.0
bss 98840 98848 8 0.0
text 590278 590298 20 0.0
light-switch-app tlsr9518adk80d (read/write) 907324 907344 20 0.0
bss 99464 99476 12 0.0
text 618008 618018 10 0.0
lighting-app tlsr9518adk80d (read/write) 982312 982336 24 0.0
bss 107516 107524 8 0.0
text 685642 685654 12 0.0
lighting-app-factory-data tlsr9518adk80d (read/write) 993676 993692 16 0.0
bss 111764 111772 8 0.0
text 693160 693168 8 0.0
lighting-app-rpc tlsr9518adk80d (read/write) 1051844 1051868 24 0.0
bss 109088 109096 8 0.0
text 730574 730590 16 0.0
lighting-app-shell tlsr9518adk80d (read/write) 1083164 1083188 24 0.0
bss 120164 120172 8 0.0
text 750678 750690 12 0.0
lock-app tlsr9518adk80d (read/write) 933472 933496 24 0.0
bss 99560 99568 8 0.0
text 620952 620966 14 0.0
ota-requestor-app tlsr9518adk80d (read/write) 898600 898604 4 0.0
bss 100148 100160 12 0.0
pump-app tlsr9518adk80d (read/write) 881412 881436 24 0.0
bss 98972 98980 8 0.0
text 595876 595892 16 0.0
pump-controller-app tlsr9518adk80d (read/write) 868592 868616 24 0.0
bss 98772 98780 8 0.0
text 586340 586358 18 0.0
shell tlsr9518adk80d (read/write) 744180 744188 8 0.0
text 478642 478646 4 0.0
smoke_co_alarm-app tlsr9518adk80d (read/write) 878504 878528 24 0.0
bss 98952 98960 8 0.0
text 593750 593770 20 0.0
temperature-measurement-app tlsr9518adk80d (read/write) 864772 864796 24 0.0
bss 98680 98688 8 0.0
text 581992 582008 16 0.0
thermostat tlsr9518adk80d (read/write) 910604 910628 24 0.0
bss 99224 99232 8 0.0
text 621320 621332 12 0.0
window-covering tlsr9518adk80d (read/write) 906400 906420 20 0.0
bss 99560 99572 12 0.0
text 616630 616638 8 0.0
Decreases (23 builds for bl602, bl702, bl702l, esp32, linux, nrfconnect, telink)
platform target config section 367a0c6 4cea18b change % change
bl602 lighting-app bl602 .text 1056472 1056470 -2 -0.0
bl702 lighting-app bl702 (read/write) 1166235 1165995 -240 -0.0
.text 953450 953194 -256 -0.0
bl702+rpc .text 1028132 1028130 -2 -0.0
bl702l lighting-app bl702l (read/write) 1152164 1151908 -256 -0.0
.text 942524 942266 -258 -0.0
esp32 all-clusters-app c3devkit (read only) 1149560 1149528 -32 -0.0
.flash.text 1149560 1149528 -32 -0.0
m5stack (read only) 1191383 1191355 -28 -0.0
.flash.text 1185999 1185971 -28 -0.0
linux all-clusters-app debug (read only) 5487073 5486881 -192 -0.0
.text 4776019 4775763 -256 -0.0
all-clusters-minimal-app debug (read only) 4900937 4900745 -192 -0.0
.text 4398883 4398627 -256 -0.0
bridge-app debug (read only) 2768753 2768625 -128 -0.0
.text 2376787 2376627 -160 -0.0
chip-tool debug (read only) 17695089 17695041 -48 -0.0
.text 14730659 14730547 -112 -0.0
lighting-app debug+rpc+ui (read only) 5239969 5239793 -176 -0.0
.text 4660947 4660707 -240 -0.0
lock-app debug (read only) 4471185 4471009 -176 -0.0
.text 4014051 4013811 -240 -0.0
ota-provider-app debug (read only) 4127385 4127161 -224 -0.0
.text 3736099 3735843 -256 -0.0
ota-requestor-app debug (read only) 4221313 4221137 -176 -0.0
.text 3822275 3822035 -240 -0.0
shell debug (read only) 2930145 2930001 -144 -0.0
.text 2548578 2548370 -208 -0.0
tv-app debug (read only) 5315281 5315185 -96 -0.0
.text 4799267 4799107 -160 -0.0
tv-casting-app debug (read only) 8294929 8294785 -144 -0.0
.text 7527123 7526947 -176 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 843712 843684 -28 -0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1337356 1337340 -16 -0.0
text 771120 771092 -28 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1156700 1156668 -32 -0.0
text 810148 810120 -28 -0.0
telink all-clusters-app tlsr9518adk80d text 728998 728984 -14 -0.0
all-clusters-minimal-app tlsr9518adk80d text 669638 669622 -16 -0.0
ota-requestor-app tlsr9518adk80d text 612120 612114 -6 -0.0
Full report (44 builds for bl602, bl702, bl702l, esp32, linux, mbed, nrfconnect, qpg, telink)
platform target config section 367a0c6 4cea18b change % change
bl602 lighting-app bl602 (read/write) 1363378 1363394 16 0.0
.bss 73622 73630 8 0.0
.data 9560 9560 0 0.0
.text 1056472 1056470 -2 -0.0
bl602+rpc (read/write) 1410846 1410862 16 0.0
.bss 81662 81670 8 0.0
.data 9952 9952 0 0.0
.text 1088404 1088406 2 0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1166235 1165995 -240 -0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 41285 41301 16 0.0
.bss_psram 43424 43424 0 0.0
.comment 48 48 0 0.0
.data 3544 3544 0 0.0
.debug_abbrev 1566850 1566852 2 0.0
.debug_aranges 140376 140392 16 0.0
.debug_frame 516544 516640 96 0.0
.debug_info 41493418 41494472 1054 0.0
.debug_line 5483125 5483699 574 0.0
.debug_loc 3564497 3564930 433 0.0
.debug_ranges 384456 384520 64 0.0
.debug_str 4011830 4012111 281 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 106856 106856 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 589131 589131 0 0.0
.symtab 175568 175568 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
953450 953194 -256 -0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1265167 1265167 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 49749 49749 0 0.0
.bss_psram 43424 43424 0 0.0
.comment 48 48 0 0.0
.data 4104 4104 0 0.0
.debug_abbrev 1743980 1743982 2 0.0
.debug_aranges 148920 148936 16 0.0
.debug_frame 545448 545544 96 0.0
.debug_info 46387857 46388910 1053 0.0
.debug_line 5895647 5896221 574 0.0
.debug_loc 3770653 3771086 433 0.0
.debug_ranges 410208 410272 64 0.0
.debug_str 4431695 4431976 281 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 121508 121508 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 652094 652094 0 0.0
.symtab 194496 194496 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1028132 1028130 -2 -0.0
bl702l lighting-app bl702l (read only) 278 278 0 0.0
(read/write) 1152164 1151908 -256 -0.0
.boot2 292 292 0 0.0
.bss 15988 15988 0 0.0
.bss_psram 77840 77840 0 0.0
.comment 48 48 0 0.0
.data 4528 4528 0 0.0
.debug_abbrev 1569069 1569071 2 0.0
.debug_aranges 134880 134896 16 0.0
.debug_frame 496232 496328 96 0.0
.debug_info 41494527 41495580 1053 0.0
.debug_line 5398819 5399393 574 0.0
.debug_loc 3500581 3501013 432 0.0
.debug_ranges 389664 389728 64 0.0
.debug_str 4024299 4024580 281 0.0
.hbn 3244 3244 0 0.0
.hbn_noinit 308 308 0 0.0
.init 408 408 0 0.0
.init_array 144 144 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 100740 100740 0 0.0
.romdata 3224 3224 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 286 286 0 0.0
.stack 2048 2048 0 0.0
.strtab 589356 589356 0 0.0
.symtab 175136 175136 0 0.0
.tcm_data 692 692 0 0.0
.tcmcode 278 278 0 0.0
.text 0 0 0 0.0
942524 942266 -258 -0.0
esp32 all-clusters-app c3devkit (read only) 1149560 1149528 -32 -0.0
(read/write) 1701964 1701980 16 0.0
.dram0.bss 79048 79064 16 0.0
.dram0.data 13076 13076 0 0.0
.flash.rodata 266088 266088 0 0.0
.flash.text 1149560 1149528 -32 -0.0
.iram0.text 75262 75262 0 0.0
m5stack (read only) 1191383 1191355 -28 -0.0
(read/write) 550174 550190 16 0.0
.dram0.bss 85416 85432 16 0.0
.dram0.data 34036 34036 0 0.0
.flash.rodata 297080 297080 0 0.0
.flash.text 1185999 1185971 -28 -0.0
.iram0.text 123311 123311 0 0.0
linux all-clusters-app debug (read only) 5487073 5486881 -192 -0.0
(read/write) 417632 417696 64 0.0
.bss 130400 130464 64 0.0
.data 4016 4016 0 0.0
.data.rel.ro 275872 275872 0 0.0
.dynamic 624 624 0 0.0
.got 5384 5384 0 0.0
.init 27 27 0 0.0
.init_array 1304 1304 0 0.0
.rodata 334000 334064 64 0.0
.text 4776019 4775763 -256 -0.0
all-clusters-minimal-app debug (read only) 4900937 4900745 -192 -0.0
(read/write) 231384 231448 64 0.0
.bss 126016 126080 64 0.1
.data 3856 3856 0 0.0
.data.rel.ro 94376 94376 0 0.0
.dynamic 624 624 0 0.0
.got 5344 5344 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 271878 271942 64 0.0
.text 4398883 4398627 -256 -0.0
bridge-app debug (read only) 2768753 2768625 -128 -0.0
(read/write) 132816 132944 128 0.1
.bss 51480 51608 128 0.2
.data 3824 3824 0 0.0
.data.rel.ro 71400 71400 0 0.0
.dynamic 624 624 0 0.0
.got 4640 4640 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 214440 214472 32 0.0
.text 2376787 2376627 -160 -0.0
chip-tool debug (read only) 17695089 17695041 -48 -0.0
(read/write) 1054272 1054272 0 0.0
.bss 93752 93752 0 0.0
.data 5090 5090 0 0.0
.data.rel.ro 948080 948080 0 0.0
.dynamic 624 624 0 0.0
.got 5880 5880 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 911729 911793 64 0.0
.text 14730659 14730547 -112 -0.0
chip-tool-ipv6only arm64 (read only) 16914660 16914708 48 0.0
(read/write) 1121736 1121736 0 0.0
.bss 103064 103064 0 0.0
.data 4392 4392 0 0.0
.data.rel.ro 985432 985432 0 0.0
.dynamic 512 512 0 0.0
.got 23352 23352 0 0.0
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 822768 822768 0 0.0
.text 13854424 13854472 48 0.0
lighting-app debug+rpc+ui (read only) 5239969 5239793 -176 -0.0
(read/write) 222056 222088 32 0.0
.bss 117712 117744 32 0.0
.data 4528 4528 0 0.0
.data.rel.ro 92240 92240 0 0.0
.dynamic 672 672 0 0.0
.got 5928 5928 0 0.0
.init 27 27 0 0.0
.init_array 944 944 0 0.0
.rodata 336948 337012 64 0.0
.text 4660947 4660707 -240 -0.0
lock-app debug (read only) 4471185 4471009 -176 -0.0
(read/write) 202808 202840 32 0.0
.bss 113328 113360 32 0.0
.data 3728 3728 0 0.0
.data.rel.ro 78960 78960 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 247782 247846 64 0.0
.text 4014051 4013811 -240 -0.0
ota-provider-app debug (read only) 4127385 4127161 -224 -0.0
(read/write) 191872 191904 32 0.0
.bss 113504 113536 32 0.0
.data 4000 4000 0 0.0
.data.rel.ro 68448 68448 0 0.0
.dynamic 624 624 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 200966 200998 32 0.0
.text 3736099 3735843 -256 -0.0
ota-requestor-app debug (read only) 4221313 4221137 -176 -0.0
(read/write) 196184 196216 32 0.0
.bss 114560 114592 32 0.0
.data 4240 4240 0 0.0
.data.rel.ro 71448 71448 0 0.0
.dynamic 624 624 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 204390 204454 64 0.0
.text 3822275 3822035 -240 -0.0
shell debug (read only) 2930145 2930001 -144 -0.0
(read/write) 150688 150752 64 0.0
.bss 60008 60072 64 0.1
.data 784 784 0 0.0
.data.rel.ro 84024 84024 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 210674 210738 64 0.0
.text 2548578 2548370 -208 -0.0
thermostat-no-ble arm64 (read only) 4450292 4450292 0 0.0
(read/write) 243848 243896 48 0.0
.bss 122280 122328 48 0.0
.data 2880 2880 0 0.0
.data.rel.ro 102232 102232 0 0.0
.dynamic 512 512 0 0.0
.got 11984 11984 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 161996 161996 0 0.0
.text 3950216 3950216 0 0.0
tv-app debug (read only) 5315281 5315185 -96 -0.0
(read/write) 349856 350016 160 0.0
.bss 241280 241440 160 0.1
.data 5104 5104 0 0.0
.data.rel.ro 96048 96048 0 0.0
.dynamic 624 624 0 0.0
.got 5616 5616 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 272374 272438 64 0.0
.text 4799267 4799107 -160 -0.0
tv-casting-app debug (read only) 8294929 8294785 -144 -0.0
(read/write) 210568 210600 32 0.0
.bss 54208 54240 32 0.1
.data 2544 2544 0 0.0
.data.rel.ro 147016 147016 0 0.0
.dynamic 624 624 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 1056 1056 0 0.0
.rodata 367644 367676 32 0.0
.text 7527123 7526947 -176 -0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2522080 2522080 0 0.0
.bss 219904 219912 8 0.0
.data 5128 5128 0 0.0
.text 1484764 1484764 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1218660 1218772 112 0.0
bss 154612 154628 16 0.0
rodata 141392 141392 0 0.0
text 843712 843684 -28 -0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1337356 1337340 -16 -0.0
bss 140070 140086 16 0.0
rodata 135484 135484 0 0.0
text 771120 771092 -28 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1156700 1156668 -32 -0.0
bss 154791 154807 16 0.0
rodata 112776 112776 0 0.0
text 810148 810120 -28 -0.0
qpg lighting-app qpg6105+debug (read/write) 1177788 1177788 0 0.0
.bss 101176 101184 8 0.0
.data 744 744 0 0.0
.text 624632 624632 0 0.0
lock-app qpg6105+debug (read/write) 1134852 1134852 0 0.0
.bss 95896 95904 8 0.0
.data 748 748 0 0.0
.text 581692 581692 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1070188 1070188 0 0.0
bss 107308 107324 16 0.0
text 728998 728984 -14 -0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 976664 976664 0 0.0
bss 105284 105300 16 0.0
text 669638 669622 -16 -0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 944056 944196 140 0.0
bss 109660 109736 76 0.1
text 646888 646950 62 0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 876020 876052 32 0.0
bss 98840 98848 8 0.0
text 590278 590298 20 0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 907324 907344 20 0.0
bss 99464 99476 12 0.0
text 618008 618018 10 0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 982312 982336 24 0.0
bss 107516 107524 8 0.0
text 685642 685654 12 0.0
lighting-app-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 993676 993692 16 0.0
bss 111764 111772 8 0.0
text 693160 693168 8 0.0
lighting-app-rpc tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1051844 1051868 24 0.0
bss 109088 109096 8 0.0
text 730574 730590 16 0.0
lighting-app-shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1083164 1083188 24 0.0
bss 120164 120172 8 0.0
text 750678 750690 12 0.0
lock-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 933472 933496 24 0.0
bss 99560 99568 8 0.0
text 620952 620966 14 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 898600 898604 4 0.0
bss 100148 100160 12 0.0
text 612120 612114 -6 -0.0
pump-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 881412 881436 24 0.0
bss 98972 98980 8 0.0
text 595876 595892 16 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 868592 868616 24 0.0
bss 98772 98780 8 0.0
text 586340 586358 18 0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 744180 744188 8 0.0
bss 97208 97208 0 0.0
text 478642 478646 4 0.0
smoke_co_alarm-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 878504 878528 24 0.0
bss 98952 98960 8 0.0
text 593750 593770 20 0.0
temperature-measurement-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 864772 864796 24 0.0
bss 98680 98688 8 0.0
text 581992 582008 16 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 910604 910628 24 0.0
bss 99224 99232 8 0.0
text 621320 621332 12 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 906400 906420 20 0.0
bss 99560 99572 12 0.0
text 616630 616638 8 0.0

@plan44 plan44 force-pushed the PR/better-dynamic-ep-support branch from 4cea18b to f8c1117 Compare August 11, 2023 17:00
@github-actions
Copy link

github-actions bot commented Aug 11, 2023

PR #28372: Size comparison from bf0b45a to f8c1117

Increases (24 builds for bl702, bl702l, esp32, linux, telink)
platform target config section bf0b45a f8c1117 change % change
bl702 lighting-app bl702 .debug_abbrev 1567375 1567377 2 0.0
.debug_aranges 140400 140416 16 0.0
.debug_frame 516644 516736 92 0.0
.debug_info 41506938 41507982 1044 0.0
.debug_line 5483305 5483802 497 0.0
.debug_loc 3565979 3566383 404 0.0
.debug_ranges 383512 383576 64 0.0
.debug_str 4012542 4012796 254 0.0
bl702+rpc .debug_abbrev 1744505 1744507 2 0.0
.debug_aranges 148944 148960 16 0.0
.debug_frame 545548 545640 92 0.0
.debug_info 46401637 46402681 1044 0.0
.debug_line 5895827 5896324 497 0.0
.debug_loc 3772135 3772539 404 0.0
.debug_ranges 409264 409328 64 0.0
.debug_str 4432407 4432661 254 0.0
bl702l lighting-app bl702l .debug_abbrev 1569594 1569596 2 0.0
.debug_aranges 134904 134920 16 0.0
.debug_frame 496332 496424 92 0.0
.debug_info 41508049 4150909 1043 0.0
.debug_line 5398999 5399496 497 0.0
.debug_loc 3502118 3502522 404 0.0
.debug_ranges 388720 388784 64 0.0
.debug_str 4025011 4025265 254 0.0
esp32 all-clusters-app c3devkit (read only) 1151674 1151676 2 0.0
.flash.text 1151674 1151676 2 0.0
linux all-clusters-app debug (read/write) 418176 418240 64 0.0
.bss 130464 130528 64 0.0
.rodata 335728 335792 64 0.0
all-clusters-minimal-app debug (read/write) 231392 231456 64 0.0
.bss 126016 126080 64 0.1
.rodata 271942 272006 64 0.0
bridge-app debug (read/write) 132848 132976 128 0.1
.bss 51512 51640 128 0.2
.rodata 214504 214536 32 0.0
chip-tool debug (read only) 17528897 17528961 64 0.0
.rodata 892049 892113 64 0.0
lighting-app debug+rpc+ui (read/write) 222088 222120 32 0.0
.bss 117744 117776 32 0.0
.rodata 336852 336916 64 0.0
lock-app debug (read/write) 202840 202872 32 0.0
.bss 113360 113392 32 0.0
.rodata 247942 248006 64 0.0
ota-provider-app debug (read/write) 191872 191904 32 0.0
.bss 113504 113536 32 0.0
.rodata 201094 201126 32 0.0
ota-requestor-app debug (read/write) 196184 196216 32 0.0
.bss 114560 114592 32 0.0
.rodata 204454 204518 64 0.0
shell debug (read/write) 150720 150784 64 0.0
.bss 60008 60072 64 0.1
.rodata 212050 212114 64 0.0
thermostat-no-ble arm64 (read/write) 243848 243896 48 0.0
.bss 122280 122328 48 0.0
tv-app debug (read/write) 349856 350016 160 0.0
.bss 241280 241440 160 0.1
.rodata 272246 272310 64 0.0
tv-casting-app debug (read/write) 210568 210600 32 0.0
.bss 54208 54240 32 0.1
.rodata 367644 367676 32 0.0
telink all-clusters-app tlsr9518adk80d text 731074 731076 2 0.0
bridge-app tlsr9518adk80d (read/write) 944708 944848 140 0.0
bss 109660 109736 76 0.1
text 647376 647436 60 0.0
light-switch-app tlsr9518adk80d text 618478 618480 2 0.0
lighting-app-rpc tlsr9518adk80d text 731218 731220 2 0.0
lock-app tlsr9518adk80d text 621488 621490 2 0.0
pump-controller-app tlsr9518adk80d (read/write) 869196 869204 8 0.0
text 586784 586786 2 0.0
temperature-measurement-app tlsr9518adk80d text 582422 582424 2 0.0
window-covering tlsr9518adk80d text 617086 617088 2 0.0
Decreases (18 builds for bl602, bl702l, linux, telink)
platform target config section bf0b45a f8c1117 change % change
bl602 lighting-app bl602 .text 1057648 1057646 -2 -0.0
bl602+rpc .text 1089582 1089580 -2 -0.0
bl702l lighting-app bl702l .text 943552 943550 -2 -0.0
linux all-clusters-app debug (read only) 5511073 5510865 -208 -0.0
.text 4797427 4797155 -272 -0.0
all-clusters-minimal-app debug (read only) 4897809 4897601 -208 -0.0
.text 4395667 4395395 -272 -0.0
bridge-app debug (read only) 2768161 2768033 -128 -0.0
.text 2376131 2375971 -160 -0.0
lighting-app debug+rpc+ui (read only) 5237713 5237537 -176 -0.0
.text 4658787 4658547 -240 -0.0
lock-app debug (read only) 4469537 4469361 -176 -0.0
.text 4012243 4012003 -240 -0.0
ota-provider-app debug (read only) 4125753 4125529 -224 -0.0
.text 3734339 3734083 -256 -0.0
ota-requestor-app debug (read only) 4219265 4219073 -192 -0.0
.text 3820163 3819907 -256 -0.0
shell debug (read only) 2932409 2932249 -160 -0.0
.text 2549394 2549170 -224 -0.0
tv-app debug (read only) 5313873 5313761 -112 -0.0
.text 4797987 4797811 -176 -0.0
tv-casting-app debug (read only) 8293889 8293761 -128 -0.0
.text 7526083 7525923 -160 -0.0
telink all-clusters-minimal-app tlsr9518adk80d (read/write) 977412 977404 -8 -0.0
text 670222 670220 -2 -0.0
contact-sensor-app tlsr9518adk80d text 590734 590732 -2 -0.0
lighting-app tlsr9518adk80d text 686288 686286 -2 -0.0
pump-app tlsr9518adk80d text 596358 596356 -2 -0.0
smoke_co_alarm-app tlsr9518adk80d text 594202 594200 -2 -0.0
Full report (44 builds for bl602, bl702, bl702l, esp32, linux, mbed, nrfconnect, qpg, telink)
platform target config section bf0b45a f8c1117 change % change
bl602 lighting-app bl602 (read/write) 1364774 1364774 0 0.0
.bss 73622 73622 0 0.0
.data 9560 9560 0 0.0
.text 1057648 1057646 -2 -0.0
bl602+rpc (read/write) 1412242 1412242 0 0.0
.bss 81662 81662 0 0.0
.data 9952 9952 0 0.0
.text 1089582 1089580 -2 -0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1167803 1167803 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 41285 41285 0 0.0
.bss_psram 43424 43424 0 0.0
.comment 48 48 0 0.0
.data 3544 3544 0 0.0
.debug_abbrev 1567375 1567377 2 0.0
.debug_aranges 140400 140416 16 0.0
.debug_frame 516644 516736 92 0.0
.debug_info 41506938 41507982 1044 0.0
.debug_line 5483305 5483802 497 0.0
.debug_loc 3565979 3566383 404 0.0
.debug_ranges 383512 383576 64 0.0
.debug_str 4012542 4012796 254 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 107080 107080 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 589685 589685 0 0.0
.symtab 175808 175808 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
954796 954796 0 0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1266739 1266739 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 49749 49749 0 0.0
.bss_psram 43424 43424 0 0.0
.comment 48 48 0 0.0
.data 4104 4104 0 0.0
.debug_abbrev 1744505 1744507 2 0.0
.debug_aranges 148944 148960 16 0.0
.debug_frame 545548 545640 92 0.0
.debug_info 46401637 46402681 1044 0.0
.debug_line 5895827 5896324 497 0.0
.debug_loc 3772135 3772539 404 0.0
.debug_ranges 409264 409328 64 0.0
.debug_str 4432407 4432661 254 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 121732 121732 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 652648 652648 0 0.0
.symtab 194736 194736 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1029480 1029480 0 0.0
bl702l lighting-app bl702l (read only) 278 278 0 0.0
(read/write) 1153416 1153416 0 0.0
.boot2 292 292 0 0.0
.bss 15988 15988 0 0.0
.bss_psram 77840 77840 0 0.0
.comment 48 48 0 0.0
.data 4528 4528 0 0.0
.debug_abbrev 1569594 1569596 2 0.0
.debug_aranges 134904 134920 16 0.0
.debug_frame 496332 496424 92 0.0
.debug_info 41508049 4150909 1043 0.0
.debug_line 5398999 5399496 497 0.0
.debug_loc 3502118 3502522 404 0.0
.debug_ranges 388720 388784 64 0.0
.debug_str 4025011 4025265 254 0.0
.hbn 3244 3244 0 0.0
.hbn_noinit 308 308 0 0.0
.init 408 408 0 0.0
.init_array 144 144 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 100964 100964 0 0.0
.romdata 3224 3224 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 286 286 0 0.0
.stack 2048 2048 0 0.0
.strtab 589900 589900 0 0.0
.symtab 175360 175360 0 0.0
.tcm_data 692 692 0 0.0
.tcmcode 278 278 0 0.0
.text 0 0 0 0.0
943552 943550 -2 -0.0
esp32 all-clusters-app c3devkit (read only) 1151674 1151676 2 0.0
(read/write) 1702268 1702268 0 0.0
.dram0.bss 79048 79048 0 0.0
.dram0.data 13084 13084 0 0.0
.flash.rodata 266392 266392 0 0.0
.flash.text 1151674 1151676 2 0.0
.iram0.text 75262 75262 0 0.0
m5stack (read only) 1193383 1193383 0 0.0
(read/write) 550462 550462 0 0.0
.dram0.bss 85416 85416 0 0.0
.dram0.data 34036 34036 0 0.0
.flash.rodata 297368 297368 0 0.0
.flash.text 1187999 1187999 0 0.0
.iram0.text 123311 123311 0 0.0
linux all-clusters-app debug (read only) 5511073 5510865 -208 -0.0
(read/write) 418176 418240 64 0.0
.bss 130464 130528 64 0.0
.data 4016 4016 0 0.0
.data.rel.ro 276360 276360 0 0.0
.dynamic 624 624 0 0.0
.got 5384 5384 0 0.0
.init 27 27 0 0.0
.init_array 1304 1304 0 0.0
.rodata 335728 335792 64 0.0
.text 4797427 4797155 -272 -0.0
all-clusters-minimal-app debug (read only) 4897809 4897601 -208 -0.0
(read/write) 231392 231456 64 0.0
.bss 126016 126080 64 0.1
.data 3856 3856 0 0.0
.data.rel.ro 94384 94384 0 0.0
.dynamic 624 624 0 0.0
.got 5344 5344 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 271942 272006 64 0.0
.text 4395667 4395395 -272 -0.0
bridge-app debug (read only) 2768161 2768033 -128 -0.0
(read/write) 132848 132976 128 0.1
.bss 51512 51640 128 0.2
.data 3824 3824 0 0.0
.data.rel.ro 71408 71408 0 0.0
.dynamic 624 624 0 0.0
.got 4640 4640 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 214504 214536 32 0.0
.text 2376131 2375971 -160 -0.0
chip-tool debug (read only) 17528897 17528961 64 0.0
(read/write) 1043136 1043136 0 0.0
.bss 93752 93752 0 0.0
.data 5090 5090 0 0.0
.data.rel.ro 936936 936936 0 0.0
.dynamic 624 624 0 0.0
.got 5880 5880 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 892049 892113 64 0.0
.text 14610595 14610595 0 0.0
chip-tool-ipv6only arm64 (read only) 16771300 16771300 0 0.0
(read/write) 1110520 1110520 0 0.0
.bss 103064 103064 0 0.0
.data 4392 4392 0 0.0
.data.rel.ro 974328 974328 0 0.0
.dynamic 512 512 0 0.0
.got 23248 23248 0 0.0
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 804576 804576 0 0.0
.text 13756024 13756024 0 0.0
lighting-app debug+rpc+ui (read only) 5237713 5237537 -176 -0.0
(read/write) 222088 222120 32 0.0
.bss 117744 117776 32 0.0
.data 4528 4528 0 0.0
.data.rel.ro 92248 92248 0 0.0
.dynamic 672 672 0 0.0
.got 5928 5928 0 0.0
.init 27 27 0 0.0
.init_array 944 944 0 0.0
.rodata 336852 336916 64 0.0
.text 4658787 4658547 -240 -0.0
lock-app debug (read only) 4469537 4469361 -176 -0.0
(read/write) 202840 202872 32 0.0
.bss 113360 113392 32 0.0
.data 3728 3728 0 0.0
.data.rel.ro 78952 78952 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 247942 248006 64 0.0
.text 4012243 4012003 -240 -0.0
ota-provider-app debug (read only) 4125753 4125529 -224 -0.0
(read/write) 191872 191904 32 0.0
.bss 113504 113536 32 0.0
.data 4000 4000 0 0.0
.data.rel.ro 68448 68448 0 0.0
.dynamic 624 624 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 201094 201126 32 0.0
.text 3734339 3734083 -256 -0.0
ota-requestor-app debug (read only) 4219265 4219073 -192 -0.0
(read/write) 196184 196216 32 0.0
.bss 114560 114592 32 0.0
.data 4240 4240 0 0.0
.data.rel.ro 71448 71448 0 0.0
.dynamic 624 624 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 204454 204518 64 0.0
.text 3820163 3819907 -256 -0.0
shell debug (read only) 2932409 2932249 -160 -0.0
(read/write) 150720 150784 64 0.0
.bss 60008 60072 64 0.1
.data 784 784 0 0.0
.data.rel.ro 84056 84056 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 212050 212114 64 0.0
.text 2549394 2549170 -224 -0.0
thermostat-no-ble arm64 (read only) 4447828 4447828 0 0.0
(read/write) 243848 243896 48 0.0
.bss 122280 122328 48 0.0
.data 2880 2880 0 0.0
.data.rel.ro 102232 102232 0 0.0
.dynamic 512 512 0 0.0
.got 11984 11984 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 162172 162172 0 0.0
.text 3947576 3947576 0 0.0
tv-app debug (read only) 5313873 5313761 -112 -0.0
(read/write) 349856 350016 160 0.0
.bss 241280 241440 160 0.1
.data 5104 5104 0 0.0
.data.rel.ro 96048 96048 0 0.0
.dynamic 624 624 0 0.0
.got 5616 5616 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 272246 272310 64 0.0
.text 4797987 4797811 -176 -0.0
tv-casting-app debug (read only) 8293889 8293761 -128 -0.0
(read/write) 210568 210600 32 0.0
.bss 54208 54240 32 0.1
.data 2544 2544 0 0.0
.data.rel.ro 147016 147016 0 0.0
.dynamic 624 624 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 1056 1056 0 0.0
.rodata 367644 367676 32 0.0
.text 7526083 7525923 -160 -0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2522328 2522328 0 0.0
.bss 219904 219904 0 0.0
.data 5128 5128 0 0.0
.text 1485012 1485012 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1220544 1220544 0 0.0
bss 154612 154612 0 0.0
rodata 141556 141556 0 0.0
text 845412 845412 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1339616 1339616 0 0.0
bss 140070 140070 0 0.0
rodata 136024 136024 0 0.0
text 772836 772836 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1157216 1157216 0 0.0
bss 154791 154791 0 0.0
rodata 112924 112924 0 0.0
text 810512 810512 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1178340 1178340 0 0.0
.bss 101176 101176 0 0.0
.data 744 744 0 0.0
.text 625184 625184 0 0.0
lock-app qpg6105+debug (read/write) 1135348 1135348 0 0.0
.bss 95896 95896 0 0.0
.data 748 748 0 0.0
.text 582188 582188 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1072488 1072488 0 0.0
bss 107308 107308 0 0.0
text 731074 731076 2 0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 977412 977404 -8 -0.0
bss 105284 105284 0 0.0
text 670222 670220 -2 -0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 944708 944848 140 0.0
bss 109660 109736 76 0.1
text 647376 647436 60 0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 876640 876640 0 0.0
bss 98840 98840 0 0.0
text 590734 590732 -2 -0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 907960 907960 0 0.0
bss 99464 99464 0 0.0
text 618478 618480 2 0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 983124 983124 0 0.0
bss 107516 107516 0 0.0
text 686288 686286 -2 -0.0
lighting-app-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 994488 994488 0 0.0
bss 111764 111764 0 0.0
text 693802 693802 0 0.0
lighting-app-rpc tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1052648 1052648 0 0.0
bss 109088 109088 0 0.0
text 731218 731220 2 0.0
lighting-app-shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1083976 1083976 0 0.0
bss 120164 120164 0 0.0
text 751322 751322 0 0.0
lock-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 934172 934172 0 0.0
bss 99560 99560 0 0.0
text 621488 621490 2 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 899220 899220 0 0.0
bss 100148 100148 0 0.0
text 612580 612580 0 0.0
pump-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 882056 882056 0 0.0
bss 98972 98972 0 0.0
text 596358 596356 -2 -0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 869196 869204 8 0.0
bss 98772 98772 0 0.0
text 586784 586786 2 0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 744196 744196 0 0.0
bss 97208 97208 0 0.0
text 478660 478660 0 0.0
smoke_co_alarm-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 879116 879116 0 0.0
bss 98952 98952 0 0.0
text 594202 594200 -2 -0.0
temperature-measurement-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 865368 865368 0 0.0
bss 98680 98680 0 0.0
text 582422 582424 2 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 911200 911200 0 0.0
bss 99224 99224 0 0.0
text 621746 621746 0 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 907020 907020 0 0.0
bss 99560 99560 0 0.0
text 617086 617088 2 0.0

@github-actions
Copy link

github-actions bot commented Aug 12, 2023

PR #28372: Size comparison from bf0b45a to b597042

Increases above 0.2%:

platform target config section bf0b45a b597042 change % change
bl702 lighting-app bl702 .debug_ranges 383512 384776 1264 0.3
bl702+rpc .debug_ranges 409264 410528 1264 0.3
bl702l lighting-app bl702l .debug_ranges 388720 389984 1264 0.3
Increases (14 builds for bl602, bl702, bl702l, cc32xx, k32w, mbed, nrfconnect, qpg)
platform target config section bf0b45a b597042 change % change
bl602 lighting-app bl602 (read/write) 1364774 1365170 396 0.0
.text 1057648 1057926 278 0.0
bl602+rpc (read/write) 1412242 1412638 396 0.0
.text 1089582 1089860 278 0.0
bl702 lighting-app bl702 (read/write) 1167803 1168199 396 0.0
.debug_abbrev 1567375 1567495 120 0.0
.debug_aranges 140400 140416 16 0.0
.debug_frame 516644 516732 88 0.0
.debug_info 41506938 41510240 3302 0.0
.debug_line 5483305 5485886 2581 0.0
.debug_loc 3565979 3566403 424 0.0
.debug_ranges 383512 384776 1264 0.3
.debug_str 4012542 4012827 285 0.0
.rodata 107080 107196 116 0.1
.strtab 589685 589689 4 0.0
.text 954796 955076 280 0.0
bl702+rpc (read/write) 1266739 1267135 396 0.0
.debug_abbrev 1744505 1744625 120 0.0
.debug_aranges 148944 148960 16 0.0
.debug_frame 545548 545636 88 0.0
.debug_info 46401637 46404939 3302 0.0
.debug_line 5895827 5898408 2581 0.0
.debug_loc 3772135 3772559 424 0.0
.debug_ranges 409264 410528 1264 0.3
.debug_str 4432407 4432692 285 0.0
.rodata 121732 121848 116 0.1
.strtab 652648 652652 4 0.0
.text 1029480 1029760 280 0.0
bl702l lighting-app bl702l (read/write) 1153416 1153808 392 0.0
.debug_abbrev 1569594 1569714 120 0.0
.debug_aranges 134904 134920 16 0.0
.debug_frame 496332 496420 88 0.0
.debug_info 41508049 41511349 3300 0.0
.debug_line 5398999 5401580 2581 0.0
.debug_loc 3502118 3502542 424 0.0
.debug_ranges 388720 389984 1264 0.3
.debug_str 4025011 4025296 285 0.0
.rodata 100964 101080 116 0.1
.strtab 589900 589904 4 0.0
.text 943552 943828 276 0.0
cc32xx lock CC3235SF_LAUNCHXL (read only) 615466 615962 496 0.1
.debug_abbrev 962043 962063 20 0.0
.debug_aranges 109056 109072 16 0.0
.debug_frame 369852 369920 68 0.0
.debug_info 19420028 19424535 4507 0.0
.debug_line 2813100 2814871 1771 0.1
.debug_loclists 1596372 1597911 1539 0.1
.debug_rnglists 100544 100617 73 0.1
.debug_str 3427157 3427420 263 0.0
.rodata 106338 106458 120 0.1
.strtab 496472 496476 4 0.0
.symtab 293168 293440 272 0.1
.text 507008 507384 376 0.1
k32w contact k32w0+release (read only) 590876 591012 136 0.0
.text 590340 590476 136 0.0
light k32w0+release (read only) 589660 589812 152 0.0
.text 589124 589276 152 0.0
lock k32w0+release (read only) 562076 562148 72 0.0
.text 561540 561612 72 0.0
mbed lock-app-release cy8cproto_062_4343w (read/write) 2522328 2522504 176 0.0
.text 1485012 1485188 176 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 rodata 141556 141696 140 0.1
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1157216 1157328 112 0.0
rodata 112924 113036 112 0.1
text 810512 810516 4 0.0
qpg lighting-app qpg6105+debug (read/write) 1178340 1178444 104 0.0
.text 625184 625288 104 0.0
lock-app qpg6105+debug (read/write) 1135348 1135500 152 0.0
.text 582188 582340 152 0.0
Decreases (2 builds for nrfconnect)
platform target config section bf0b45a b597042 change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1220544 1220412 -132 -0.0
text 845412 845152 -260 -0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1339616 1338624 -992 -0.1
rodata 136024 135688 -336 -0.2
text 772836 772176 -660 -0.1
Full report (15 builds for bl602, bl702, bl702l, cc32xx, k32w, mbed, nrfconnect, qpg)
platform target config section bf0b45a b597042 change % change
bl602 lighting-app bl602 (read/write) 1364774 1365170 396 0.0
.bss 73622 73622 0 0.0
.data 9560 9560 0 0.0
.text 1057648 1057926 278 0.0
bl602+rpc (read/write) 1412242 1412638 396 0.0
.bss 81662 81662 0 0.0
.data 9952 9952 0 0.0
.text 1089582 1089860 278 0.0
bl702 lighting-app bl702 0 0 0 0.0
(read only) 3358 3358 0 0.0
(read/write) 1167803 1168199 396 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 41285 41285 0 0.0
.bss_psram 43424 43424 0 0.0
.comment 48 48 0 0.0
.data 3544 3544 0 0.0
.debug_abbrev 1567375 1567495 120 0.0
.debug_aranges 140400 140416 16 0.0
.debug_frame 516644 516732 88 0.0
.debug_info 41506938 41510240 3302 0.0
.debug_line 5483305 5485886 2581 0.0
.debug_loc 3565979 3566403 424 0.0
.debug_ranges 383512 384776 1264 0.3
.debug_str 4012542 4012827 285 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 107080 107196 116 0.1
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 589685 589689 4 0.0
.symtab 175808 175808 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 954796 955076 280 0.0
bl702+rpc 0 0 0 0.0
(read only) 3358 3358 0 0.0
(read/write) 1266739 1267135 396 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 49749 49749 0 0.0
.bss_psram 43424 43424 0 0.0
.comment 48 48 0 0.0
.data 4104 4104 0 0.0
.debug_abbrev 1744505 1744625 120 0.0
.debug_aranges 148944 148960 16 0.0
.debug_frame 545548 545636 88 0.0
.debug_info 46401637 46404939 3302 0.0
.debug_line 5895827 5898408 2581 0.0
.debug_loc 3772135 3772559 424 0.0
.debug_ranges 409264 410528 1264 0.3
.debug_str 4432407 4432692 285 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 121732 121848 116 0.1
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 652648 652652 4 0.0
.symtab 194736 194736 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 1029480 1029760 280 0.0
bl702l lighting-app bl702l 0 0 0 0.0
(read only) 278 278 0 0.0
(read/write) 1153416 1153808 392 0.0
.boot2 292 292 0 0.0
.bss 15988 15988 0 0.0
.bss_psram 77840 77840 0 0.0
.comment 48 48 0 0.0
.data 4528 4528 0 0.0
.debug_abbrev 1569594 1569714 120 0.0
.debug_aranges 134904 134920 16 0.0
.debug_frame 496332 496420 88 0.0
.debug_info 41508049 41511349 3300 0.0
.debug_line 5398999 5401580 2581 0.0
.debug_loc 3502118 3502542 424 0.0
.debug_ranges 388720 389984 1264 0.3
.debug_str 4025011 4025296 285 0.0
.hbn 3244 3244 0 0.0
.hbn_noinit 308 308 0 0.0
.init 408 408 0 0.0
.init_array 144 144 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 100964 101080 116 0.1
.romdata 3224 3224 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 286 286 0 0.0
.stack 2048 2048 0 0.0
.strtab 589900 589904 4 0.0
.symtab 175360 175360 0 0.0
.tcm_data 692 692 0 0.0
.tcmcode 278 278 0 0.0
.text 943552 943828 276 0.0
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 615466 615962 496 0.1
(read/write) 207744 207744 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 201184 201184 0 0.0
.comment 206 206 0 0.0
.data 1440 1440 0 0.0
.debug_abbrev 962043 962063 20 0.0
.debug_aranges 109056 109072 16 0.0
.debug_frame 369852 369920 68 0.0
.debug_info 19420028 19424535 4507 0.0
.debug_line 2813100 2814871 1771 0.1
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1596372 1597911 1539 0.1
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 100544 100617 73 0.1
.debug_str 3427157 3427420 263 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 106338 106458 120 0.1
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 496472 496476 4 0.0
.symtab 293168 293440 272 0.1
.text 507008 507384 376 0.1
k32w contact k32w0+release (read only) 590876 591012 136 0.0
(read/write) 88096 88096 0 0.0
.bss 71344 71344 0 0.0
.data 2128 2128 0 0.0
.text 590340 590476 136 0.0
light k32w0+release (read only) 589660 589812 152 0.0
(read/write) 87748 87748 0 0.0
.bss 71008 71008 0 0.0
.data 2116 2116 0 0.0
.text 589124 589276 152 0.0
lock k32w0+release (read only) 562076 562148 72 0.0
(read/write) 85548 85548 0 0.0
.bss 68864 68864 0 0.0
.data 2060 2060 0 0.0
.text 561540 561612 72 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2522328 2522504 176 0.0
.bss 219904 219904 0 0.0
.data 5128 5128 0 0.0
.text 1485012 1485188 176 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1220544 1220412 -132 -0.0
bss 154612 154612 0 0.0
rodata 141556 141696 140 0.1
text 845412 845152 -260 -0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1339616 1338624 -992 -0.1
bss 140070 140070 0 0.0
rodata 136024 135688 -336 -0.2
text 772836 772176 -660 -0.1
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1157216 1157328 112 0.0
bss 154791 154791 0 0.0
rodata 112924 113036 112 0.1
text 810512 810516 4 0.0
qpg lighting-app qpg6105+debug (read/write) 1178340 1178444 104 0.0
.bss 101176 101176 0 0.0
.data 744 744 0 0.0
.text 625184 625288 104 0.0
lock-app qpg6105+debug (read/write) 1135348 1135500 152 0.0
.bss 95896 95896 0 0.0
.data 748 748 0 0.0
.text 582188 582340 152 0.0

@plan44 plan44 force-pushed the PR/better-dynamic-ep-support branch from b597042 to 8526882 Compare August 12, 2023 18:55
@github-actions
Copy link

github-actions bot commented Aug 12, 2023

PR #28372: Size comparison from b0b0d58 to 8526882

Increases (27 builds for bl702, bl702l, cc32xx, esp32, linux, nrfconnect, psoc6, telink)
platform target config section b0b0d58 8526882 change % change
bl702 lighting-app bl702 .debug_abbrev 1567493 1567495 2 0.0
.debug_aranges 140400 140416 16 0.0
.debug_frame 516640 516732 92 0.0
.debug_info 41509196 41510240 1044 0.0
.debug_line 5485389 5485886 497 0.0
.debug_loc 3565999 3566403 404 0.0
.debug_ranges 384712 384776 64 0.0
.debug_str 4012573 4012827 254 0.0
bl702+rpc .debug_abbrev 1744623 1744625 2 0.0
.debug_aranges 148944 148960 16 0.0
.debug_frame 545544 545636 92 0.0
.debug_info 46403896 46404939 1043 0.0
.debug_line 5897911 5898408 497 0.0
.debug_loc 3772155 3772559 404 0.0
.debug_ranges 410464 410528 64 0.0
.debug_str 4432438 4432692 254 0.0
bl702l lighting-app bl702l .debug_abbrev 1569712 1569714 2 0.0
.debug_aranges 134904 134920 16 0.0
.debug_frame 496328 496420 92 0.0
.debug_info 41510305 41511348 1043 0.0
.debug_line 5401083 5401580 497 0.0
.debug_loc 3502138 3502542 404 0.0
.debug_ranges 389920 389984 64 0.0
.debug_str 4025042 4025296 254 0.0
cc32xx lock CC3235SF_LAUNCHXL .debug_aranges 109056 109072 16 0.0
.debug_frame 369852 369920 68 0.0
.debug_info 19423290 19424535 1245 0.0
.debug_line 2814419 2814871 452 0.0
.debug_loclists 1597625 1597911 286 0.0
.debug_rnglists 100591 100617 26 0.0
.debug_str 3427188 3427420 232 0.0
esp32 all-clusters-app c3devkit (read only) 1151428 1151430 2 0.0
.flash.text 1151428 1151430 2 0.0
linux all-clusters-app debug (read/write) 418176 418240 64 0.0
.bss 130464 130528 64 0.0
.rodata 336016 336080 64 0.0
all-clusters-minimal-app debug (read/write) 231392 231456 64 0.0
.bss 126016 126080 64 0.1
.rodata 272102 272166 64 0.0
bridge-app debug (read/write) 132848 132976 128 0.1
.bss 51512 51640 128 0.2
.rodata 214664 214696 32 0.0
chip-tool debug (read only) 17528481 17528545 64 0.0
.rodata 892049 892113 64 0.0
lighting-app debug+rpc+ui (read/write) 222088 222120 32 0.0
.bss 117744 117776 32 0.0
.rodata 337108 337172 64 0.0
lock-app debug (read/write) 202840 202872 32 0.0
.bss 113360 113392 32 0.0
.rodata 248038 248102 64 0.0
ota-provider-app debug (read/write) 191872 191904 32 0.0
.bss 113504 113536 32 0.0
.rodata 201254 201286 32 0.0
ota-requestor-app debug (read/write) 196184 196216 32 0.0
.bss 114560 114592 32 0.0
.rodata 204646 204710 64 0.0
shell debug (read/write) 150720 150784 64 0.0
.bss 60008 60072 64 0.1
.rodata 212370 212434 64 0.0
thermostat-no-ble arm64 (read/write) 243848 243896 48 0.0
.bss 122280 122328 48 0.0
tv-app debug (read/write) 349856 350016 160 0.0
.bss 241280 241440 160 0.1
.rodata 272598 272662 64 0.0
tv-casting-app debug (read/write) 210568 210600 32 0.0
.bss 54208 54240 32 0.1
.rodata 367836 367868 32 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 845148 845152 4 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_aranges 143944 143960 16 0.0
.debug_frame 479472 479544 72 0.0
.debug_info 30262561 30263784 1223 0.0
.debug_line 4150562 4150913 351 0.0
.debug_loclists 2249376 2249622 246 0.0
.debug_rnglists 142398 142437 39 0.0
.debug_str 4124989 4125243 254 0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_aranges 137208 137224 16 0.0
.debug_frame 462420 462492 72 0.0
.debug_info 27230583 27231806 1223 0.0
.debug_line 3961702 3962053 351 0.0
.debug_loclists 2149738 2149992 254 0.0
.debug_rnglists 135498 135537 39 0.0
.debug_str 3979410 3979664 254 0.0
light cy8ckit_062s2_43012 .debug_aranges 127336 127352 16 0.0
.debug_frame 425564 425636 72 0.0
.debug_info 22372915 22374139 1224 0.0
.debug_line 3527007 3527358 351 0.0
.debug_loclists 1986853 1987107 254 0.0
.debug_rnglists 125268 125307 39 0.0
.debug_str 3787482 3787736 254 0.0
lock cy8ckit_062s2_43012 .debug_aranges 126248 126264 16 0.0
.debug_frame 421592 421664 72 0.0
.debug_info 22286451 22287673 1222 0.0
.debug_line 3482458 3482809 351 0.0
.debug_loclists 1967262 1967516 254 0.0
.debug_rnglists 123444 123483 39 0.0
.debug_str 3752020 3752274 254 0.0
telink bridge-app tlsr9518adk80d (read/write) 944904 945036 132 0.0
bss 109660 109736 76 0.1
text 647458 647518 60 0.0
lighting-app-rpc tlsr9518adk80d text 731144 731148 4 0.0
lighting-app-shell tlsr9518adk80d (read/write) 1084004 1084012 8 0.0
text 751248 751250 2 0.0
ota-requestor-app tlsr9518adk80d text 612688 612690 2 0.0
thermostat tlsr9518adk80d text 621890 621892 2 0.0
Decreases (28 builds for bl602, bl702, bl702l, cc32xx, efr32, linux, psoc6, telink)
platform target config section b0b0d58 8526882 change % change
bl602 lighting-app bl602 .text 1057928 1057926 -2 -0.0
bl602+rpc .text 1089862 1089860 -2 -0.0
bl702 lighting-app bl702+rpc (read/write) 1267139 1267135 -4 -0.0
.text 1029762 1029760 -2 -0.0
bl702l lighting-app bl702l .text 943828 943826 -2 -0.0
cc32xx lock CC3235SF_LAUNCHXL .debug_abbrev 962080 962063 -17 -0.0
efr32 lighting-app BRD4187C (read/write) 1037244 1037236 -8 -0.0
.text 869868 869860 -8 -0.0
linux all-clusters-app debug (read only) 5518193 5517985 -208 -0.0
.text 4804259 4803987 -272 -0.0
all-clusters-minimal-app debug (read only) 4902913 4902705 -208 -0.0
.text 4400611 4400339 -272 -0.0
bridge-app debug (read only) 2770593 2770465 -128 -0.0
.text 2378403 2378243 -160 -0.0
lighting-app debug+rpc+ui (read only) 5242001 5241809 -192 -0.0
.text 4662819 4662563 -256 -0.0
lock-app debug (read only) 4473057 4472881 -176 -0.0
.text 4015667 4015427 -240 -0.0
ota-provider-app debug (read only) 4128329 4128121 -208 -0.0
.text 3736755 3736515 -240 -0.0
ota-requestor-app debug (read only) 4222225 4222049 -176 -0.0
.text 3822931 3822691 -240 -0.0
shell debug (read only) 2939049 2938905 -144 -0.0
.text 2555714 2555506 -208 -0.0
tv-app debug (read only) 5317361 5317249 -112 -0.0
.text 4801123 4800947 -176 -0.0
tv-casting-app debug (read only) 8296737 8296593 -144 -0.0
.text 7528739 7528563 -176 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_abbrev 1382477 1382460 -17 -0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_abbrev 1285184 1285167 -17 -0.0
light cy8ckit_062s2_43012 .debug_abbrev 1125407 1125390 -17 -0.0
lock cy8ckit_062s2_43012 .debug_abbrev 1116871 1116854 -17 -0.0
telink all-clusters-app tlsr9518adk80d (read/write) 1072388 1072380 -8 -0.0
text 730834 730832 -2 -0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 977504 977496 -8 -0.0
text 670208 670204 -4 -0.0
contact-sensor-app tlsr9518adk80d text 590848 590846 -2 -0.0
light-switch-app tlsr9518adk80d text 618580 618578 -2 -0.0
lighting-app tlsr9518adk80d (read/write) 983160 983152 -8 -0.0
text 686214 686212 -2 -0.0
lighting-app-factory-data tlsr9518adk80d text 693732 693730 -2 -0.0
lock-app tlsr9518adk80d text 621522 621520 -2 -0.0
pump-app tlsr9518adk80d text 596452 596450 -2 -0.0
Full report (60 builds for bl602, bl702, bl702l, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section b0b0d58 8526882 change % change
bl602 lighting-app bl602 (read/write) 1365170 1365170 0 0.0
.bss 73622 73622 0 0.0
.data 9560 9560 0 0.0
.text 1057928 1057926 -2 -0.0
bl602+rpc (read/write) 1412638 1412638 0 0.0
.bss 81662 81662 0 0.0
.data 9952 9952 0 0.0
.text 1089862 1089860 -2 -0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1168199 1168199 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 41285 41285 0 0.0
.bss_psram 43424 43424 0 0.0
.comment 48 48 0 0.0
.data 3544 3544 0 0.0
.debug_abbrev 1567493 1567495 2 0.0
.debug_aranges 140400 140416 16 0.0
.debug_frame 516640 516732 92 0.0
.debug_info 41509196 41510240 1044 0.0
.debug_line 5485389 5485886 497 0.0
.debug_loc 3565999 3566403 404 0.0
.debug_ranges 384712 384776 64 0.0
.debug_str 4012573 4012827 254 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 107196 107196 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 589689 589689 0 0.0
.symtab 175808 175808 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
955076 955076 0 0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1267139 1267135 -4 -0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 49749 49749 0 0.0
.bss_psram 43424 43424 0 0.0
.comment 48 48 0 0.0
.data 4104 4104 0 0.0
.debug_abbrev 1744623 1744625 2 0.0
.debug_aranges 148944 148960 16 0.0
.debug_frame 545544 545636 92 0.0
.debug_info 46403896 46404939 1043 0.0
.debug_line 5897911 5898408 497 0.0
.debug_loc 3772155 3772559 404 0.0
.debug_ranges 410464 410528 64 0.0
.debug_str 4432438 4432692 254 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 121848 121848 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 652652 652652 0 0.0
.symtab 194736 194736 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1029762 1029760 -2 -0.0
bl702l lighting-app bl702l (read only) 278 278 0 0.0
(read/write) 1153808 1153808 0 0.0
.boot2 292 292 0 0.0
.bss 15988 15988 0 0.0
.bss_psram 77840 77840 0 0.0
.comment 48 48 0 0.0
.data 4528 4528 0 0.0
.debug_abbrev 1569712 1569714 2 0.0
.debug_aranges 134904 134920 16 0.0
.debug_frame 496328 496420 92 0.0
.debug_info 41510305 41511348 1043 0.0
.debug_line 5401083 5401580 497 0.0
.debug_loc 3502138 3502542 404 0.0
.debug_ranges 389920 389984 64 0.0
.debug_str 4025042 4025296 254 0.0
.hbn 3244 3244 0 0.0
.hbn_noinit 308 308 0 0.0
.init 408 408 0 0.0
.init_array 144 144 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 101080 101080 0 0.0
.romdata 3224 3224 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 286 286 0 0.0
.stack 2048 2048 0 0.0
.strtab 589904 589904 0 0.0
.symtab 175360 175360 0 0.0
.tcm_data 692 692 0 0.0
.tcmcode 278 278 0 0.0
.text 0 0 0 0.0
943828 943826 -2 -0.0
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 615962 615962 0 0.0
(read/write) 207744 207744 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 201184 201184 0 0.0
.comment 206 206 0 0.0
.data 1440 1440 0 0.0
.debug_abbrev 962080 962063 -17 -0.0
.debug_aranges 109056 109072 16 0.0
.debug_frame 369852 369920 68 0.0
.debug_info 19423290 19424535 1245 0.0
.debug_line 2814419 2814871 452 0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1597625 1597911 286 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 100591 100617 26 0.0
.debug_str 3427188 3427420 232 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 106458 106458 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 496476 496476 0 0.0
.symtab 293440 293440 0 0.0
.text 507384 507384 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 550647 550647 0 0.0
.app_xip_area 441937 441937 0 0.0
.bss 63728 63728 0 0.0
.data 664 664 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 537743 537743 0 0.0
.app_xip_area 423985 423985 0 0.0
.bss 68752 68752 0 0.0
.data 692 692 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 574407 574407 0 0.0
.app_xip_area 466777 466777 0 0.0
.bss 62720 62720 0 0.0
.data 592 592 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 549399 549399 0 0.0
.app_xip_area 438761 438761 0 0.0
.bss 65632 65632 0 0.0
.data 688 688 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1013004 1013004 0 0.0
.bss 184524 184524 0 0.0
.data 2652 2652 0 0.0
.text 825808 825808 0 0.0
BRD4187C (read/write) 1037244 1037236 -8 -0.0
.bss 164108 164108 0 0.0
.data 3248 3248 0 0.0
.text 869868 869860 -8 -0.0
lock-app BRD4161A+wf200 (read/write) 1089648 1089648 0 0.0
.bss 178580 178580 0 0.0
.data 2672 2672 0 0.0
.text 908376 908376 0 0.0
window-app BRD4187C (read/write) 1109024 1109024 0 0.0
.bss 147148 147148 0 0.0
.data 3132 3132 0 0.0
.text 958724 958724 0 0.0
esp32 all-clusters-app c3devkit (read only) 1151428 1151430 2 0.0
(read/write) 1702412 1702412 0 0.0
.dram0.bss 79048 79048 0 0.0
.dram0.data 13084 13084 0 0.0
.flash.rodata 266536 266536 0 0.0
.flash.text 1151428 1151430 2 0.0
.iram0.text 75262 75262 0 0.0
m5stack (read only) 1193059 1193059 0 0.0
(read/write) 550606 550606 0 0.0
.dram0.bss 85416 85416 0 0.0
.dram0.data 34036 34036 0 0.0
.flash.rodata 297512 297512 0 0.0
.flash.text 1187675 1187675 0 0.0
.iram0.text 123311 123311 0 0.0
k32w contact k32w0+release (read only) 591012 591012 0 0.0
(read/write) 88096 88096 0 0.0
.bss 71344 71344 0 0.0
.data 2128 2128 0 0.0
.text 590476 590476 0 0.0
light k32w0+release (read only) 589812 589812 0 0.0
(read/write) 87748 87748 0 0.0
.bss 71008 71008 0 0.0
.data 2116 2116 0 0.0
.text 589276 589276 0 0.0
lock k32w0+release (read only) 562148 562148 0 0.0
(read/write) 85548 85548 0 0.0
.bss 68864 68864 0 0.0
.data 2060 2060 0 0.0
.text 561612 561612 0 0.0
linux all-clusters-app debug (read only) 5518193 5517985 -208 -0.0
(read/write) 418176 418240 64 0.0
.bss 130464 130528 64 0.0
.data 4016 4016 0 0.0
.data.rel.ro 276360 276360 0 0.0
.dynamic 624 624 0 0.0
.got 5384 5384 0 0.0
.init 27 27 0 0.0
.init_array 1304 1304 0 0.0
.rodata 336016 336080 64 0.0
.text 4804259 4803987 -272 -0.0
all-clusters-minimal-app debug (read only) 4902913 4902705 -208 -0.0
(read/write) 231392 231456 64 0.0
.bss 126016 126080 64 0.1
.data 3856 3856 0 0.0
.data.rel.ro 94384 94384 0 0.0
.dynamic 624 624 0 0.0
.got 5344 5344 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 272102 272166 64 0.0
.text 4400611 4400339 -272 -0.0
bridge-app debug (read only) 2770593 2770465 -128 -0.0
(read/write) 132848 132976 128 0.1
.bss 51512 51640 128 0.2
.data 3824 3824 0 0.0
.data.rel.ro 71408 71408 0 0.0
.dynamic 624 624 0 0.0
.got 4640 4640 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 214664 214696 32 0.0
.text 2378403 2378243 -160 -0.0
chip-tool debug (read only) 17528481 17528545 64 0.0
(read/write) 1043136 1043136 0 0.0
.bss 93752 93752 0 0.0
.data 5090 5090 0 0.0
.data.rel.ro 936936 936936 0 0.0
.dynamic 624 624 0 0.0
.got 5880 5880 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 892049 892113 64 0.0
.text 14610179 14610179 0 0.0
chip-tool-ipv6only arm64 (read only) 16770644 16770644 0 0.0
(read/write) 1110520 1110520 0 0.0
.bss 103064 103064 0 0.0
.data 4392 4392 0 0.0
.data.rel.ro 974328 974328 0 0.0
.dynamic 512 512 0 0.0
.got 23248 23248 0 0.0
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 804416 804416 0 0.0
.text 13755528 13755528 0 0.0
lighting-app debug+rpc+ui (read only) 5242001 5241809 -192 -0.0
(read/write) 222088 222120 32 0.0
.bss 117744 117776 32 0.0
.data 4528 4528 0 0.0
.data.rel.ro 92248 92248 0 0.0
.dynamic 672 672 0 0.0
.got 5928 5928 0 0.0
.init 27 27 0 0.0
.init_array 944 944 0 0.0
.rodata 337108 337172 64 0.0
.text 4662819 4662563 -256 -0.0
lock-app debug (read only) 4473057 4472881 -176 -0.0
(read/write) 202840 202872 32 0.0
.bss 113360 113392 32 0.0
.data 3728 3728 0 0.0
.data.rel.ro 78952 78952 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 248038 248102 64 0.0
.text 4015667 4015427 -240 -0.0
ota-provider-app debug (read only) 4128329 4128121 -208 -0.0
(read/write) 191872 191904 32 0.0
.bss 113504 113536 32 0.0
.data 4000 4000 0 0.0
.data.rel.ro 68448 68448 0 0.0
.dynamic 624 624 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 201254 201286 32 0.0
.text 3736755 3736515 -240 -0.0
ota-requestor-app debug (read only) 4222225 4222049 -176 -0.0
(read/write) 196184 196216 32 0.0
.bss 114560 114592 32 0.0
.data 4240 4240 0 0.0
.data.rel.ro 71448 71448 0 0.0
.dynamic 624 624 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 204646 204710 64 0.0
.text 3822931 3822691 -240 -0.0
shell debug (read only) 2939049 2938905 -144 -0.0
(read/write) 150720 150784 64 0.0
.bss 60008 60072 64 0.1
.data 784 784 0 0.0
.data.rel.ro 84056 84056 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 212370 212434 64 0.0
.text 2555714 2555506 -208 -0.0
thermostat-no-ble arm64 (read only) 4451476 4451476 0 0.0
(read/write) 243848 243896 48 0.0
.bss 122280 122328 48 0.0
.data 2880 2880 0 0.0
.data.rel.ro 102232 102232 0 0.0
.dynamic 512 512 0 0.0
.got 11984 11984 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 162252 162252 0 0.0
.text 3951144 3951144 0 0.0
tv-app debug (read only) 5317361 5317249 -112 -0.0
(read/write) 349856 350016 160 0.0
.bss 241280 241440 160 0.1
.data 5104 5104 0 0.0
.data.rel.ro 96048 96048 0 0.0
.dynamic 624 624 0 0.0
.got 5616 5616 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 272598 272662 64 0.0
.text 4801123 4800947 -176 -0.0
tv-casting-app debug (read only) 8296737 8296593 -144 -0.0
(read/write) 210568 210600 32 0.0
.bss 54208 54240 32 0.1
.data 2544 2544 0 0.0
.data.rel.ro 147016 147016 0 0.0
.dynamic 624 624 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 1056 1056 0 0.0
.rodata 367836 367868 32 0.0
.text 7528739 7528563 -176 -0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2522504 2522504 0 0.0
.bss 219904 219904 0 0.0
.data 5128 5128 0 0.0
.text 1485188 1485188 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1220412 1220412 0 0.0
bss 154612 154612 0 0.0
rodata 141696 141696 0 0.0
text 845148 845152 4 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1338624 1338624 0 0.0
bss 140070 140070 0 0.0
rodata 135688 135688 0 0.0
text 772180 772180 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1157328 1157328 0 0.0
bss 154791 154791 0 0.0
rodata 113036 113036 0 0.0
text 810516 810516 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 837688 837688 0 0.0
(read/write) 1768804 1768804 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 193116 193116 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2536 2536 0 0.0
.debug_abbrev 1382477 1382460 -17 -0.0
.debug_aranges 143944 143960 16 0.0
.debug_frame 479472 479544 72 0.0
.debug_info 30262561 30263784 1223 0.0
.debug_line 4150562 4150913 351 0.0
.debug_line_str 957 957 0 0.0
.debug_loclists 2249376 2249622 246 0.0
.debug_rnglists 142398 142437 39 0.0
.debug_str 4124989 4125243 254 0.0
.heap 837688 837688 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 806034 806034 0 0.0
.symtab 501808 501808 0 0.0
.text 1564764 1564764 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 839648 839648 0 0.0
(read/write) 1674572 1674572 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 191228 191228 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2464 2464 0 0.0
.debug_abbrev 1285184 1285167 -17 -0.0
.debug_aranges 137208 137224 16 0.0
.debug_frame 462420 462492 72 0.0
.debug_info 27230583 27231806 1223 0.0
.debug_line 3961702 3962053 351 0.0
.debug_line_str 981 981 0 0.0
.debug_loclists 2149738 2149992 254 0.0
.debug_rnglists 135498 135537 39 0.0
.debug_str 3979410 3979664 254 0.0
.heap 839648 839648 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 713485 713485 0 0.0
.symtab 465936 465936 0 0.0
.text 1472492 1472492 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 845912 845912 0 0.0
(read/write) 1606076 1606076 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 185076 185076 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2352 2352 0 0.0
.debug_abbrev 1125407 1125390 -17 -0.0
.debug_aranges 127336 127352 16 0.0
.debug_frame 425564 425636 72 0.0
.debug_info 22372915 22374139 1224 0.0
.debug_line 3527007 3527358 351 0.0
.debug_line_str 942 942 0 0.0
.debug_loclists 1986853 1987107 254 0.0
.debug_rnglists 125268 125307 39 0.0
.debug_str 3787482 3787736 254 0.0
.heap 845912 845912 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 634477 634477 0 0.0
.symtab 430576 430576 0 0.0
.text 1410260 1410260 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 818392 818392 0 0.0
(read/write) 1639580 1639580 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 212580 212580 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2368 2368 0 0.0
.debug_abbrev 1116871 1116854 -17 -0.0
.debug_aranges 126248 126264 16 0.0
.debug_frame 421592 421664 72 0.0
.debug_info 22286451 22287673 1222 0.0
.debug_line 3482458 3482809 351 0.0
.debug_line_str 933 933 0 0.0
.debug_loclists 1967262 1967516 254 0.0
.debug_rnglists 123444 123483 39 0.0
.debug_str 3752020 3752274 254 0.0
.heap 818392 818392 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 608377 608377 0 0.0
.symtab 422704 422704 0 0.0
.text 1416244 1416244 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1178444 1178444 0 0.0
.bss 101176 101176 0 0.0
.data 744 744 0 0.0
.text 625288 625288 0 0.0
lock-app qpg6105+debug (read/write) 1135500 1135500 0 0.0
.bss 95896 95896 0 0.0
.data 748 748 0 0.0
.text 582340 582340 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1072388 1072380 -8 -0.0
bss 107308 107308 0 0.0
text 730834 730832 -2 -0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 977504 977496 -8 -0.0
bss 105284 105284 0 0.0
text 670208 670204 -4 -0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 944904 945036 132 0.0
bss 109660 109736 76 0.1
text 647458 647518 60 0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 876860 876860 0 0.0
bss 98840 98840 0 0.0
text 590848 590846 -2 -0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 908164 908164 0 0.0
bss 99464 99464 0 0.0
text 618580 618578 -2 -0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 983160 983152 -8 -0.0
bss 107516 107516 0 0.0
text 686214 686212 -2 -0.0
lighting-app-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 994524 994524 0 0.0
bss 111764 111764 0 0.0
text 693732 693730 -2 -0.0
lighting-app-rpc tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1052684 1052684 0 0.0
bss 109088 109088 0 0.0
text 731144 731148 4 0.0
lighting-app-shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1084004 1084012 8 0.0
bss 120164 120164 0 0.0
text 751248 751250 2 0.0
lock-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 934312 934312 0 0.0
bss 99560 99560 0 0.0
text 621522 621520 -2 -0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 899440 899440 0 0.0
bss 100148 100148 0 0.0
text 612688 612690 2 0.0
pump-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 882260 882260 0 0.0
bss 98972 98972 0 0.0
text 596452 596450 -2 -0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 869440 869440 0 0.0
bss 98772 98772 0 0.0
text 586916 586916 0 0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 744196 744196 0 0.0
bss 97208 97208 0 0.0
text 478658 478658 0 0.0
smoke_co_alarm-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 879344 879344 0 0.0
bss 98952 98952 0 0.0
text 594324 594324 0 0.0
temperature-measurement-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 865620 865620 0 0.0
bss 98680 98680 0 0.0
text 582562 582562 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 911452 911452 0 0.0
bss 99224 99224 0 0.0
text 621890 621892 2 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 907240 907240 0 0.0
bss 99560 99560 0 0.0
text 617200 617200 0 0.0

@plan44
Copy link
Contributor Author

plan44 commented Aug 13, 2023

There is a strange problem in the "Darwin (no-ble-asan-clang)" test, see test run here:

INFO      314 |     emAfEndpoints[index].dynamicAttributeStorage = dynamicAttributeStorage;
INFO          |     ~~~~~~~~~~~~~~~~~~~~ ^
INFO    ../../examples/chip-tool/third_party/connectedhomeip/src/app/util/attribute-storage.cpp:650:65: error: no member named 'dynamicAttributeStorage' in 'EmberAfDefinedEndpoint'

That statement accesses a struct member conditionally defined in af-types.h (#if CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT>0) but is itself conditionally compiled by the same #if condition:

af-types.h:221:

#if CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT > 0
    /**
     * Pointer to the memory block to be used for automatic attribute storage if
     * this is a dynamic endpoint. If set, the memory block pointed at
     * must have a size equal to endpointType->endpointSize (which is
     * the sum of all endpointType->clusters[*].clustersize).
     */
    uint8_t * dynamicAttributeStorage = nullptr;
#endif

attribute-storage.cpp:313:

#if CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT > 0
    emAfEndpoints[index].dynamicAttributeStorage = dynamicAttributeStorage;
#endif

This can only fail when af-struct.h gets included before CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT is defined, which is supposed to be a very global definition.

As this works in all other builds, only fails in Darwin, I assume there must be something odd in the way CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT gets (re?)defined >0 somehow after af-struct.h has been processed.

I'll make this an issue after trying another run with the PR rebased to see if that changes anything (and to get around the Open IoT SDK permafail that exists at bf0b45a)

@plan44 plan44 force-pushed the PR/better-dynamic-ep-support branch from 8526882 to 4eb71f5 Compare August 13, 2023 13:27
@github-actions
Copy link

github-actions bot commented Aug 13, 2023

PR #28372: Size comparison from b0b0d58 to 4eb71f5

Increases above 0.2%:

platform target config section b0b0d58 4eb71f5 change % change
linux bridge-app debug .bss 51512 51640 128 0.2
Increases (28 builds for bl702, bl702l, cc32xx, esp32, linux, nrfconnect, psoc6, telink)
platform target config section b0b0d58 4eb71f5 change % change
bl702 lighting-app bl702 .debug_abbrev 1567493 1567495 2 0.0
.debug_aranges 140400 140416 16 0.0
.debug_frame 516640 516732 92 0.0
.debug_info 41509196 41510240 1044 0.0
.debug_line 5485389 5485886 497 0.0
.debug_loc 3565999 3566403 404 0.0
.debug_ranges 384712 384776 64 0.0
.debug_str 4012573 4012827 254 0.0
bl702+rpc .debug_abbrev 1744623 1744625 2 0.0
.debug_aranges 148944 148960 16 0.0
.debug_frame 545544 545636 92 0.0
.debug_info 46403896 46404939 1043 0.0
.debug_line 5897911 5898408 497 0.0
.debug_loc 3772155 3772559 404 0.0
.debug_ranges 410464 410528 64 0.0
.debug_str 4432438 4432692 254 0.0
bl702l lighting-app bl702l .debug_abbrev 1569712 1569714 2 0.0
.debug_aranges 134904 134920 16 0.0
.debug_frame 496328 496420 92 0.0
.debug_info 41510305 41511348 1043 0.0
.debug_line 5401083 5401580 497 0.0
.debug_loc 3502138 3502542 404 0.0
.debug_ranges 389920 389984 64 0.0
.debug_str 4025042 4025296 254 0.0
cc32xx lock CC3235SF_LAUNCHXL .debug_aranges 109056 109072 16 0.0
.debug_frame 369852 369920 68 0.0
.debug_info 19423290 19424536 1246 0.0
.debug_line 2814419 2814871 452 0.0
.debug_loclists 1597625 1597911 286 0.0
.debug_rnglists 100591 100617 26 0.0
.debug_str 3427188 3427420 232 0.0
esp32 all-clusters-app c3devkit (read only) 1151428 1151430 2 0.0
.flash.text 1151428 1151430 2 0.0
linux all-clusters-app debug (read/write) 418176 418240 64 0.0
.bss 130464 130528 64 0.0
.rodata 336016 336080 64 0.0
all-clusters-minimal-app debug (read/write) 231392 231456 64 0.0
.bss 126016 126080 64 0.1
.rodata 272102 272166 64 0.0
bridge-app debug (read/write) 132848 132976 128 0.1
.bss 51512 51640 128 0.2
.rodata 214664 214696 32 0.0
chip-tool debug (read only) 17528481 17528545 64 0.0
.rodata 892049 892113 64 0.0
lighting-app debug+rpc+ui (read/write) 222088 222120 32 0.0
.bss 117744 117776 32 0.0
.rodata 337108 337172 64 0.0
lock-app debug (read/write) 202840 202872 32 0.0
.bss 113360 113392 32 0.0
.rodata 248038 248102 64 0.0
ota-provider-app debug (read/write) 191872 191904 32 0.0
.bss 113504 113536 32 0.0
.rodata 201254 201286 32 0.0
ota-requestor-app debug (read/write) 196184 196216 32 0.0
.bss 114560 114592 32 0.0
.rodata 204646 204710 64 0.0
shell debug (read/write) 150720 150784 64 0.0
.bss 60008 60072 64 0.1
.rodata 212370 212434 64 0.0
thermostat-no-ble arm64 (read/write) 243848 243896 48 0.0
.bss 122280 122328 48 0.0
tv-app debug (read/write) 349856 350016 160 0.0
.bss 241280 241440 160 0.1
.rodata 272598 272662 64 0.0
tv-casting-app debug (read/write) 210568 210600 32 0.0
.bss 54208 54240 32 0.1
.rodata 367836 367868 32 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 845148 845152 4 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_aranges 143944 143960 16 0.0
.debug_frame 479472 479544 72 0.0
.debug_info 30262561 30263785 1224 0.0
.debug_line 4150562 4150913 351 0.0
.debug_loclists 2249376 2249622 246 0.0
.debug_rnglists 142398 142437 39 0.0
.debug_str 4124989 4125243 254 0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_aranges 137208 137224 16 0.0
.debug_frame 462420 462492 72 0.0
.debug_info 27230583 27231807 1224 0.0
.debug_line 3961702 3962053 351 0.0
.debug_loclists 2149738 2149992 254 0.0
.debug_rnglists 135498 135537 39 0.0
.debug_str 3979410 3979664 254 0.0
light cy8ckit_062s2_43012 .debug_aranges 127336 127352 16 0.0
.debug_frame 425564 425636 72 0.0
.debug_info 22372915 22374137 1222 0.0
.debug_line 3527007 3527358 351 0.0
.debug_loclists 1986853 1987107 254 0.0
.debug_rnglists 125268 125307 39 0.0
.debug_str 3787482 3787736 254 0.0
lock cy8ckit_062s2_43012 .debug_aranges 126248 126264 16 0.0
.debug_frame 421592 421664 72 0.0
.debug_info 22286451 22287673 1222 0.0
.debug_line 3482458 3482809 351 0.0
.debug_loclists 1967262 1967516 254 0.0
.debug_rnglists 123444 123483 39 0.0
.debug_str 3752020 3752274 254 0.0
telink bridge-app tlsr9518adk80d (read/write) 944904 945036 132 0.0
bss 109660 109736 76 0.1
text 647458 647520 62 0.0
lighting-app-rpc tlsr9518adk80d text 731144 731146 2 0.0
ota-requestor-app tlsr9518adk80d text 612688 612690 2 0.0
shell tlsr9518adk80d text 478658 478660 2 0.0
smoke_co_alarm-app tlsr9518adk80d (read/write) 879344 879352 8 0.0
text 594324 594326 2 0.0
temperature-measurement-app tlsr9518adk80d text 582562 582564 2 0.0
Decreases (23 builds for bl702, bl702l, cc32xx, efr32, linux, psoc6, telink)
platform target config section b0b0d58 4eb71f5 change % change
bl702 lighting-app bl702+rpc (read/write) 1267139 1267135 -4 -0.0
.text 1029762 1029760 -2 -0.0
bl702l lighting-app bl702l .text 943828 943826 -2 -0.0
cc32xx lock CC3235SF_LAUNCHXL .debug_abbrev 962080 962063 -17 -0.0
efr32 lighting-app BRD4187C (read/write) 1037244 1037236 -8 -0.0
.text 869868 869860 -8 -0.0
linux all-clusters-app debug (read only) 5518193 5517985 -208 -0.0
.text 4804259 4803987 -272 -0.0
all-clusters-minimal-app debug (read only) 4902913 4902705 -208 -0.0
.text 4400611 4400339 -272 -0.0
bridge-app debug (read only) 2770593 2770465 -128 -0.0
.text 2378403 2378243 -160 -0.0
lighting-app debug+rpc+ui (read only) 5242001 5241809 -192 -0.0
.text 4662819 4662563 -256 -0.0
lock-app debug (read only) 4473057 4472881 -176 -0.0
.text 4015667 4015427 -240 -0.0
ota-provider-app debug (read only) 4128329 4128121 -208 -0.0
.text 3736755 3736515 -240 -0.0
ota-requestor-app debug (read only) 4222225 4222049 -176 -0.0
.text 3822931 3822691 -240 -0.0
shell debug (read only) 2939049 2938905 -144 -0.0
.text 2555714 2555506 -208 -0.0
tv-app debug (read only) 5317361 5317249 -112 -0.0
.text 4801123 4800947 -176 -0.0
tv-casting-app debug (read only) 8296737 8296593 -144 -0.0
.text 7528739 7528563 -176 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_abbrev 1382477 1382460 -17 -0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_abbrev 1285184 1285167 -17 -0.0
light cy8ckit_062s2_43012 .debug_abbrev 1125407 1125390 -17 -0.0
lock cy8ckit_062s2_43012 .debug_abbrev 1116871 1116854 -17 -0.0
telink all-clusters-minimal-app tlsr9518adk80d text 670208 670206 -2 -0.0
light-switch-app tlsr9518adk80d text 618580 618578 -2 -0.0
lighting-app-factory-data tlsr9518adk80d text 693732 693730 -2 -0.0
lock-app tlsr9518adk80d text 621522 621520 -2 -0.0
window-covering tlsr9518adk80d text 617200 617198 -2 -0.0
Full report (60 builds for bl602, bl702, bl702l, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section b0b0d58 4eb71f5 change % change
bl602 lighting-app bl602 (read/write) 1365170 1365170 0 0.0
.bss 73622 73622 0 0.0
.data 9560 9560 0 0.0
.text 1057928 1057928 0 0.0
bl602+rpc (read/write) 1412638 1412638 0 0.0
.bss 81662 81662 0 0.0
.data 9952 9952 0 0.0
.text 1089862 1089862 0 0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1168199 1168199 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 41285 41285 0 0.0
.bss_psram 43424 43424 0 0.0
.comment 48 48 0 0.0
.data 3544 3544 0 0.0
.debug_abbrev 1567493 1567495 2 0.0
.debug_aranges 140400 140416 16 0.0
.debug_frame 516640 516732 92 0.0
.debug_info 41509196 41510240 1044 0.0
.debug_line 5485389 5485886 497 0.0
.debug_loc 3565999 3566403 404 0.0
.debug_ranges 384712 384776 64 0.0
.debug_str 4012573 4012827 254 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 107196 107196 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 589689 589689 0 0.0
.symtab 175808 175808 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
955076 955076 0 0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1267139 1267135 -4 -0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 49749 49749 0 0.0
.bss_psram 43424 43424 0 0.0
.comment 48 48 0 0.0
.data 4104 4104 0 0.0
.debug_abbrev 1744623 1744625 2 0.0
.debug_aranges 148944 148960 16 0.0
.debug_frame 545544 545636 92 0.0
.debug_info 46403896 46404939 1043 0.0
.debug_line 5897911 5898408 497 0.0
.debug_loc 3772155 3772559 404 0.0
.debug_ranges 410464 410528 64 0.0
.debug_str 4432438 4432692 254 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 121848 121848 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 652652 652652 0 0.0
.symtab 194736 194736 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1029762 1029760 -2 -0.0
bl702l lighting-app bl702l (read only) 278 278 0 0.0
(read/write) 1153808 1153808 0 0.0
.boot2 292 292 0 0.0
.bss 15988 15988 0 0.0
.bss_psram 77840 77840 0 0.0
.comment 48 48 0 0.0
.data 4528 4528 0 0.0
.debug_abbrev 1569712 1569714 2 0.0
.debug_aranges 134904 134920 16 0.0
.debug_frame 496328 496420 92 0.0
.debug_info 41510305 41511348 1043 0.0
.debug_line 5401083 5401580 497 0.0
.debug_loc 3502138 3502542 404 0.0
.debug_ranges 389920 389984 64 0.0
.debug_str 4025042 4025296 254 0.0
.hbn 3244 3244 0 0.0
.hbn_noinit 308 308 0 0.0
.init 408 408 0 0.0
.init_array 144 144 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 101080 101080 0 0.0
.romdata 3224 3224 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 286 286 0 0.0
.stack 2048 2048 0 0.0
.strtab 589904 589904 0 0.0
.symtab 175360 175360 0 0.0
.tcm_data 692 692 0 0.0
.tcmcode 278 278 0 0.0
.text 0 0 0 0.0
943828 943826 -2 -0.0
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 615962 615962 0 0.0
(read/write) 207744 207744 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 201184 201184 0 0.0
.comment 206 206 0 0.0
.data 1440 1440 0 0.0
.debug_abbrev 962080 962063 -17 -0.0
.debug_aranges 109056 109072 16 0.0
.debug_frame 369852 369920 68 0.0
.debug_info 19423290 19424536 1246 0.0
.debug_line 2814419 2814871 452 0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1597625 1597911 286 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 100591 100617 26 0.0
.debug_str 3427188 3427420 232 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 106458 106458 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 496476 496476 0 0.0
.symtab 293440 293440 0 0.0
.text 507384 507384 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 550647 550647 0 0.0
.app_xip_area 441937 441937 0 0.0
.bss 63728 63728 0 0.0
.data 664 664 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 537743 537743 0 0.0
.app_xip_area 423985 423985 0 0.0
.bss 68752 68752 0 0.0
.data 692 692 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 574407 574407 0 0.0
.app_xip_area 466777 466777 0 0.0
.bss 62720 62720 0 0.0
.data 592 592 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 549399 549399 0 0.0
.app_xip_area 438761 438761 0 0.0
.bss 65632 65632 0 0.0
.data 688 688 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1013004 1013004 0 0.0
.bss 184524 184524 0 0.0
.data 2652 2652 0 0.0
.text 825808 825808 0 0.0
BRD4187C (read/write) 1037244 1037236 -8 -0.0
.bss 164108 164108 0 0.0
.data 3248 3248 0 0.0
.text 869868 869860 -8 -0.0
lock-app BRD4161A+wf200 (read/write) 1089648 1089648 0 0.0
.bss 178580 178580 0 0.0
.data 2672 2672 0 0.0
.text 908376 908376 0 0.0
window-app BRD4187C (read/write) 1109024 1109024 0 0.0
.bss 147148 147148 0 0.0
.data 3132 3132 0 0.0
.text 958724 958724 0 0.0
esp32 all-clusters-app c3devkit (read only) 1151428 1151430 2 0.0
(read/write) 1702412 1702412 0 0.0
.dram0.bss 79048 79048 0 0.0
.dram0.data 13084 13084 0 0.0
.flash.rodata 266536 266536 0 0.0
.flash.text 1151428 1151430 2 0.0
.iram0.text 75262 75262 0 0.0
m5stack (read only) 1193059 1193059 0 0.0
(read/write) 550606 550606 0 0.0
.dram0.bss 85416 85416 0 0.0
.dram0.data 34036 34036 0 0.0
.flash.rodata 297512 297512 0 0.0
.flash.text 1187675 1187675 0 0.0
.iram0.text 123311 123311 0 0.0
k32w contact k32w0+release (read only) 591012 591012 0 0.0
(read/write) 88096 88096 0 0.0
.bss 71344 71344 0 0.0
.data 2128 2128 0 0.0
.text 590476 590476 0 0.0
light k32w0+release (read only) 589812 589812 0 0.0
(read/write) 87748 87748 0 0.0
.bss 71008 71008 0 0.0
.data 2116 2116 0 0.0
.text 589276 589276 0 0.0
lock k32w0+release (read only) 562148 562148 0 0.0
(read/write) 85548 85548 0 0.0
.bss 68864 68864 0 0.0
.data 2060 2060 0 0.0
.text 561612 561612 0 0.0
linux all-clusters-app debug (read only) 5518193 5517985 -208 -0.0
(read/write) 418176 418240 64 0.0
.bss 130464 130528 64 0.0
.data 4016 4016 0 0.0
.data.rel.ro 276360 276360 0 0.0
.dynamic 624 624 0 0.0
.got 5384 5384 0 0.0
.init 27 27 0 0.0
.init_array 1304 1304 0 0.0
.rodata 336016 336080 64 0.0
.text 4804259 4803987 -272 -0.0
all-clusters-minimal-app debug (read only) 4902913 4902705 -208 -0.0
(read/write) 231392 231456 64 0.0
.bss 126016 126080 64 0.1
.data 3856 3856 0 0.0
.data.rel.ro 94384 94384 0 0.0
.dynamic 624 624 0 0.0
.got 5344 5344 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 272102 272166 64 0.0
.text 4400611 4400339 -272 -0.0
bridge-app debug (read only) 2770593 2770465 -128 -0.0
(read/write) 132848 132976 128 0.1
.bss 51512 51640 128 0.2
.data 3824 3824 0 0.0
.data.rel.ro 71408 71408 0 0.0
.dynamic 624 624 0 0.0
.got 4640 4640 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 214664 214696 32 0.0
.text 2378403 2378243 -160 -0.0
chip-tool debug (read only) 17528481 17528545 64 0.0
(read/write) 1043136 1043136 0 0.0
.bss 93752 93752 0 0.0
.data 5090 5090 0 0.0
.data.rel.ro 936936 936936 0 0.0
.dynamic 624 624 0 0.0
.got 5880 5880 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 892049 892113 64 0.0
.text 14610179 14610179 0 0.0
chip-tool-ipv6only arm64 (read only) 16770644 16770644 0 0.0
(read/write) 1110520 1110520 0 0.0
.bss 103064 103064 0 0.0
.data 4392 4392 0 0.0
.data.rel.ro 974328 974328 0 0.0
.dynamic 512 512 0 0.0
.got 23248 23248 0 0.0
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 804416 804416 0 0.0
.text 13755528 13755528 0 0.0
lighting-app debug+rpc+ui (read only) 5242001 5241809 -192 -0.0
(read/write) 222088 222120 32 0.0
.bss 117744 117776 32 0.0
.data 4528 4528 0 0.0
.data.rel.ro 92248 92248 0 0.0
.dynamic 672 672 0 0.0
.got 5928 5928 0 0.0
.init 27 27 0 0.0
.init_array 944 944 0 0.0
.rodata 337108 337172 64 0.0
.text 4662819 4662563 -256 -0.0
lock-app debug (read only) 4473057 4472881 -176 -0.0
(read/write) 202840 202872 32 0.0
.bss 113360 113392 32 0.0
.data 3728 3728 0 0.0
.data.rel.ro 78952 78952 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 248038 248102 64 0.0
.text 4015667 4015427 -240 -0.0
ota-provider-app debug (read only) 4128329 4128121 -208 -0.0
(read/write) 191872 191904 32 0.0
.bss 113504 113536 32 0.0
.data 4000 4000 0 0.0
.data.rel.ro 68448 68448 0 0.0
.dynamic 624 624 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 201254 201286 32 0.0
.text 3736755 3736515 -240 -0.0
ota-requestor-app debug (read only) 4222225 4222049 -176 -0.0
(read/write) 196184 196216 32 0.0
.bss 114560 114592 32 0.0
.data 4240 4240 0 0.0
.data.rel.ro 71448 71448 0 0.0
.dynamic 624 624 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 204646 204710 64 0.0
.text 3822931 3822691 -240 -0.0
shell debug (read only) 2939049 2938905 -144 -0.0
(read/write) 150720 150784 64 0.0
.bss 60008 60072 64 0.1
.data 784 784 0 0.0
.data.rel.ro 84056 84056 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 212370 212434 64 0.0
.text 2555714 2555506 -208 -0.0
thermostat-no-ble arm64 (read only) 4451476 4451476 0 0.0
(read/write) 243848 243896 48 0.0
.bss 122280 122328 48 0.0
.data 2880 2880 0 0.0
.data.rel.ro 102232 102232 0 0.0
.dynamic 512 512 0 0.0
.got 11984 11984 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 162252 162252 0 0.0
.text 3951144 3951144 0 0.0
tv-app debug (read only) 5317361 5317249 -112 -0.0
(read/write) 349856 350016 160 0.0
.bss 241280 241440 160 0.1
.data 5104 5104 0 0.0
.data.rel.ro 96048 96048 0 0.0
.dynamic 624 624 0 0.0
.got 5616 5616 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 272598 272662 64 0.0
.text 4801123 4800947 -176 -0.0
tv-casting-app debug (read only) 8296737 8296593 -144 -0.0
(read/write) 210568 210600 32 0.0
.bss 54208 54240 32 0.1
.data 2544 2544 0 0.0
.data.rel.ro 147016 147016 0 0.0
.dynamic 624 624 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 1056 1056 0 0.0
.rodata 367836 367868 32 0.0
.text 7528739 7528563 -176 -0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2522504 2522504 0 0.0
.bss 219904 219904 0 0.0
.data 5128 5128 0 0.0
.text 1485188 1485188 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1220412 1220412 0 0.0
bss 154612 154612 0 0.0
rodata 141696 141696 0 0.0
text 845148 845152 4 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1338624 1338624 0 0.0
bss 140070 140070 0 0.0
rodata 135688 135688 0 0.0
text 772180 772180 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1157328 1157328 0 0.0
bss 154791 154791 0 0.0
rodata 113036 113036 0 0.0
text 810516 810516 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 837688 837688 0 0.0
(read/write) 1768804 1768804 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 193116 193116 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2536 2536 0 0.0
.debug_abbrev 1382477 1382460 -17 -0.0
.debug_aranges 143944 143960 16 0.0
.debug_frame 479472 479544 72 0.0
.debug_info 30262561 30263785 1224 0.0
.debug_line 4150562 4150913 351 0.0
.debug_line_str 957 957 0 0.0
.debug_loclists 2249376 2249622 246 0.0
.debug_rnglists 142398 142437 39 0.0
.debug_str 4124989 4125243 254 0.0
.heap 837688 837688 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 806034 806034 0 0.0
.symtab 501808 501808 0 0.0
.text 1564764 1564764 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 839648 839648 0 0.0
(read/write) 1674572 1674572 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 191228 191228 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2464 2464 0 0.0
.debug_abbrev 1285184 1285167 -17 -0.0
.debug_aranges 137208 137224 16 0.0
.debug_frame 462420 462492 72 0.0
.debug_info 27230583 27231807 1224 0.0
.debug_line 3961702 3962053 351 0.0
.debug_line_str 981 981 0 0.0
.debug_loclists 2149738 2149992 254 0.0
.debug_rnglists 135498 135537 39 0.0
.debug_str 3979410 3979664 254 0.0
.heap 839648 839648 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 713485 713485 0 0.0
.symtab 465936 465936 0 0.0
.text 1472492 1472492 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 845912 845912 0 0.0
(read/write) 1606076 1606076 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 185076 185076 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2352 2352 0 0.0
.debug_abbrev 1125407 1125390 -17 -0.0
.debug_aranges 127336 127352 16 0.0
.debug_frame 425564 425636 72 0.0
.debug_info 22372915 22374137 1222 0.0
.debug_line 3527007 3527358 351 0.0
.debug_line_str 942 942 0 0.0
.debug_loclists 1986853 1987107 254 0.0
.debug_rnglists 125268 125307 39 0.0
.debug_str 3787482 3787736 254 0.0
.heap 845912 845912 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 634477 634477 0 0.0
.symtab 430576 430576 0 0.0
.text 1410260 1410260 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 818392 818392 0 0.0
(read/write) 1639580 1639580 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 212580 212580 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2368 2368 0 0.0
.debug_abbrev 1116871 1116854 -17 -0.0
.debug_aranges 126248 126264 16 0.0
.debug_frame 421592 421664 72 0.0
.debug_info 22286451 22287673 1222 0.0
.debug_line 3482458 3482809 351 0.0
.debug_line_str 933 933 0 0.0
.debug_loclists 1967262 1967516 254 0.0
.debug_rnglists 123444 123483 39 0.0
.debug_str 3752020 3752274 254 0.0
.heap 818392 818392 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 608377 608377 0 0.0
.symtab 422704 422704 0 0.0
.text 1416244 1416244 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1178444 1178444 0 0.0
.bss 101176 101176 0 0.0
.data 744 744 0 0.0
.text 625288 625288 0 0.0
lock-app qpg6105+debug (read/write) 1135500 1135500 0 0.0
.bss 95896 95896 0 0.0
.data 748 748 0 0.0
.text 582340 582340 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1072388 1072388 0 0.0
bss 107308 107308 0 0.0
text 730834 730834 0 0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 977504 977504 0 0.0
bss 105284 105284 0 0.0
text 670208 670206 -2 -0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 944904 945036 132 0.0
bss 109660 109736 76 0.1
text 647458 647520 62 0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 876860 876860 0 0.0
bss 98840 98840 0 0.0
text 590848 590848 0 0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 908164 908164 0 0.0
bss 99464 99464 0 0.0
text 618580 618578 -2 -0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 983160 983160 0 0.0
bss 107516 107516 0 0.0
text 686214 686214 0 0.0
lighting-app-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 994524 994524 0 0.0
bss 111764 111764 0 0.0
text 693732 693730 -2 -0.0
lighting-app-rpc tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1052684 1052684 0 0.0
bss 109088 109088 0 0.0
text 731144 731146 2 0.0
lighting-app-shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1084004 1084004 0 0.0
bss 120164 120164 0 0.0
text 751248 751248 0 0.0
lock-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 934312 934312 0 0.0
bss 99560 99560 0 0.0
text 621522 621520 -2 -0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 899440 899440 0 0.0
bss 100148 100148 0 0.0
text 612688 612690 2 0.0
pump-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 882260 882260 0 0.0
bss 98972 98972 0 0.0
text 596452 596452 0 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 869440 869440 0 0.0
bss 98772 98772 0 0.0
text 586916 586916 0 0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 744196 744196 0 0.0
bss 97208 97208 0 0.0
text 478658 478660 2 0.0
smoke_co_alarm-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 879344 879352 8 0.0
bss 98952 98952 0 0.0
text 594324 594326 2 0.0
temperature-measurement-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 865620 865620 0 0.0
bss 98680 98680 0 0.0
text 582562 582564 2 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 911452 911452 0 0.0
bss 99224 99224 0 0.0
text 621890 621890 0 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 907240 907240 0 0.0
bss 99560 99560 0 0.0
text 617200 617198 -2 -0.0

@plan44
Copy link
Contributor Author

plan44 commented Aug 13, 2023

@bzbarsky-apple any idea why Darwin (no-ble-asan-clang) test fails despite correct ifdefs (details see comment above)? I can't make sense of this, why the af-types.h header should get processed with another CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT than the .cpp which includes it, and only on Darwin. Some #pragma once or header preprocessing issue?

@bzbarsky-apple
Copy link
Contributor

@plan44 src/include/platform/CHIPDeviceConfig.h defines a 0 CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT.

src/platform/Darwin/CHIPDevicePlatformConfig.h defines a nonzero one.

chip_device_platform_config_include is set to CHIPDevicePlatformConfig.h. That gets propagated to CHIP_DEVICE_PLATFORM_CONFIG_INCLUDE which is then included by CHIPDeviceConfig.h.... But only when doing some stuff with buildconfig_header? I am really not sure how this stuff is supposed to work, and whether this means all CHIPDevicePlatformConfig.h are broken somehow.

@bzbarsky-apple
Copy link
Contributor

That said, I tried doing this:

--- a/src/include/platform/CHIPDeviceConfig.h
+++ b/src/include/platform/CHIPDeviceConfig.h
@@ -51,6 +51,8 @@
  */
 #ifdef CHIP_DEVICE_PLATFORM_CONFIG_INCLUDE
 #include CHIP_DEVICE_PLATFORM_CONFIG_INCLUDE
+#else
+#error "NO PLATFORM CONFIG!"
 #endif
```
and chip-tool compiles for me on Darwin using the commands CI is using....

@plan44 plan44 force-pushed the PR/better-dynamic-ep-support branch from 4eb71f5 to ff6c957 Compare August 29, 2023 12:41
@plan44
Copy link
Contributor Author

plan44 commented Aug 29, 2023

@bzbarsky-apple:

and chip-tool compiles for me on Darwin using the commands CI is using....

...which must be something else than just building chip-tool on Darwin directly as recommended in its README.md (gn_build_example.sh ...), because that one fails, on my MBA M2, with a clean out dir.

I am really not sure how this stuff is supposed to work,
and whether this means all CHIPDevicePlatformConfig.h are broken somehow.

Thanks to your analysis above, I think I found the problem:

In attribute-storage.h, af.h (which in turn includes af-types.h) was included before platform/CHIPDeviceLayer.h, so in fact CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT was not defined for af-types.h, but got defined via CHIPDeviceLayer.h later for the body of attribute-storage.cpp.

I now moved the inclusion of platform/CHIPDeviceLayer.h to the top in the .h file and added it on top in the .cpp, to make sure platform specific tweaks, even forced redefines like src/platform/Darwin/CHIPDevicePlatformConfig.h has (why?), are always applied as early as possible.

This now makes chip-tool build again and passes global "check" (on Darwin). CI will reveal if it breaks other things…

@github-actions
Copy link

github-actions bot commented Aug 29, 2023

PR #28372: Size comparison from 96c6c7a to ff6c957

Increases above 0.2%:

platform target config section 96c6c7a ff6c957 change % change
linux bridge-app debug .bss 51800 51960 160 0.3
Increases (24 builds for bl702, bl702l, cc32xx, esp32, linux, psoc6, telink)
platform target config section 96c6c7a ff6c957 change % change
bl702 lighting-app bl702 .debug_aranges 137936 137952 16 0.0
.debug_frame 507216 507308 92 0.0
.debug_info 41817071 41818087 1016 0.0
.debug_line 5448758 5449211 453 0.0
.debug_loc 3516528 3516932 404 0.0
.debug_ranges 380504 380568 64 0.0
.debug_str 3952868 3953122 254 0.0
bl702+rpc .debug_aranges 146600 146616 16 0.0
.debug_frame 536468 536560 92 0.0
.debug_info 46720198 46721214 1016 0.0
.debug_line 5857643 5858096 453 0.0
.debug_loc 3721819 3722223 404 0.0
.debug_ranges 406400 406464 64 0.0
.debug_str 4374333 4374587 254 0.0
bl706-eth .debug_aranges 114232 114248 16 0.0
.debug_frame 424088 424180 92 0.0
.debug_info 23271358 2327237 1015 0.0
.debug_line 4406961 4407422 461 0.0
.debug_loc 3014759 3015163 404 0.0
.debug_ranges 317304 317368 64 0.0
.debug_str 3524886 3525140 254 0.0
bl706-wifi .debug_aranges 118496 118512 16 0.0
.debug_frame 439532 439624 92 0.0
.debug_info 24436468 24437484 1016 0.0
.debug_line 4627962 4628415 453 0.0
.debug_loc 3098838 3099242 404 0.0
.debug_ranges 326200 326264 64 0.0
.debug_str 3586271 3586525 254 0.0
bl702l lighting-app bl702l .debug_aranges 132456 132472 16 0.0
.debug_frame 486948 487040 92 0.0
.debug_info 41823876 41824892 1016 0.0
.debug_line 5364965 5365418 453 0.0
.debug_loc 3452328 3452732 404 0.0
.debug_ranges 385824 385888 64 0.0
.debug_str 3965311 3965565 254 0.0
cc32xx lock CC3235SF_LAUNCHXL .debug_aranges 106736 106752 16 0.0
.debug_frame 360948 361016 68 0.0
.debug_info 21242224 21243424 1200 0.0
.debug_line 2796143 2796627 484 0.0
.debug_loclists 1566793 1567079 286 0.0
.debug_rnglists 98923 98949 26 0.0
.debug_str 3367821 3368053 232 0.0
esp32 all-clusters-app m5stack (read only) 1213787 1213791 4 0.0
.flash.text 1208403 1208407 4 0.0
linux all-clusters-app debug (read only) 5649113 5649305 192 0.0
(read/write) 420456 420520 64 0.0
.bss 130688 130752 64 0.0
.rodata 339188 339220 32 0.0
.text 4928435 4928595 160 0.0
all-clusters-minimal-app debug (read only) 4915681 4915905 224 0.0
(read/write) 232392 232456 64 0.0
.bss 126368 126432 64 0.1
.rodata 272584 272648 64 0.0
.text 4412323 4412483 160 0.0
bridge-app debug (read only) 2772737 2773121 384 0.0
(read/write) 133176 133336 160 0.1
.bss 51800 51960 160 0.3
.rodata 214536 214568 32 0.0
.text 2380531 2380883 352 0.0
chip-tool debug (read only) 10332073 10332105 32 0.0
.rodata 388785 388817 32 0.0
lighting-app debug+rpc+ui (read only) 5245465 5245673 208 0.0
(read/write) 222536 222568 32 0.0
.bss 118064 118096 32 0.0
.rodata 337076 337140 64 0.0
.text 4665955 4666099 144 0.0
lock-app debug (read only) 4479073 4479233 160 0.0
(read/write) 203128 203160 32 0.0
.bss 113488 113520 32 0.0
.rodata 248488 248520 32 0.0
.text 4021091 4021219 128 0.0
ota-provider-app debug (read only) 4130449 4130609 160 0.0
(read/write) 192064 192096 32 0.0
.bss 113632 113664 32 0.0
.rodata 201160 201192 32 0.0
.text 3738851 3738979 128 0.0
ota-requestor-app debug (read only) 4223913 4224121 208 0.0
(read/write) 196376 196440 64 0.0
.bss 114688 114752 64 0.1
.rodata 204488 204552 64 0.0
.text 3824659 3824803 144 0.0
shell debug (read only) 3049361 3049553 192 0.0
(read/write) 152936 153000 64 0.0
.bss 60392 60456 64 0.1
.rodata 214162 214194 32 0.0
.text 2661090 2661250 160 0.0
thermostat-no-ble arm64 (read only) 4358044 4358188 144 0.0
(read/write) 241912 241960 48 0.0
.bss 122216 122264 48 0.0
.text 3862712 3862856 144 0.0
tv-app debug (read only) 5318937 5319401 464 0.0
(read/write) 350272 350432 160 0.0
.bss 241632 241792 160 0.1
.rodata 272472 272536 64 0.0
.text 4802707 4803107 400 0.0
tv-casting-app debug (read only) 8277705 8277897 192 0.0
(read/write) 210768 210800 32 0.0
.bss 54336 54368 32 0.1
.rodata 337980 338044 64 0.0
.text 7539507 7539635 128 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_aranges 145152 145168 16 0.0
.debug_frame 482876 482948 72 0.0
.debug_info 33508639 33509781 1142 0.0
.debug_line 4234156 4234565 409 0.0
.debug_loclists 2304378 2304640 262 0.0
.debug_rnglists 144584 144623 39 0.0
.debug_str 4529477 4529731 254 0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_aranges 135016 135032 16 0.0
.debug_frame 454352 454424 72 0.0
.debug_info 29288700 29289842 1142 0.0
.debug_line 3947274 3947683 409 0.0
.debug_loclists 2120055 2120309 254 0.0
.debug_rnglists 133976 134015 39 0.0
.debug_str 3922055 3922309 254 0.0
light cy8ckit_062s2_43012 .debug_aranges 125112 125128 16 0.0
.debug_frame 417396 417468 72 0.0
.debug_info 24342759 24343959 1200 0.0
.debug_line 3511711 3512103 392 0.0
.debug_loclists 1956839 1957093 254 0.0
.debug_rnglists 123673 123712 39 0.0
.debug_str 3729298 3729552 254 0.0
lock cy8ckit_062s2_43012 .debug_aranges 123920 123936 16 0.0
.debug_frame 413048 413120 72 0.0
.debug_info 24154482 24155653 1171 0.0
.debug_line 3464766 3465141 375 0.0
.debug_loclists 1935358 1935612 254 0.0
.debug_rnglists 121769 121808 39 0.0
.debug_str 3692687 3692941 254 0.0
telink bridge-app tlsr9518adk80d (read/write) 944936 945164 228 0.0
bss 109652 109728 76 0.1
text 647580 647734 154 0.0
Decreases (11 builds for bl702, bl702l, cc32xx, efr32, psoc6)
platform target config section 96c6c7a ff6c957 change % change
bl702 lighting-app bl702 .debug_abbrev 1565758 1565740 -18 -0.0
bl702+rpc .debug_abbrev 1742578 1742560 -18 -0.0
bl706-eth .debug_abbrev 1114794 1114776 -18 -0.0
bl706-wifi .debug_abbrev 1207655 1207637 -18 -0.0
bl702l lighting-app bl702l .debug_abbrev 1568126 1568108 -18 -0.0
cc32xx lock CC3235SF_LAUNCHXL .debug_abbrev 966884 966863 -21 -0.0
efr32 lighting-app BRD4187C (read/write) 1070688 1070680 -8 -0.0
.text 890600 890592 -8 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_abbrev 1418440 1418417 -23 -0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_abbrev 1290847 1290824 -23 -0.0
light cy8ckit_062s2_43012 .debug_abbrev 1130672 1130653 -19 -0.0
lock cy8ckit_062s2_43012 .debug_abbrev 1121636 1121615 -21 -0.0
Full report (62 builds for bl602, bl702, bl702l, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 96c6c7a ff6c957 change % change
bl602 lighting-app bl602 (read/write) 1365550 1365550 0 0.0
.bss 73446 73446 0 0.0
.data 9600 9600 0 0.0
.text 1058510 1058510 0 0.0
bl602+rpc (read/write) 1412698 1412698 0 0.0
.bss 81486 81486 0 0.0
.data 9952 9952 0 0.0
.text 1090188 1090188 0 0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1168659 1168659 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 41301 41301 0 0.0
.bss_psram 43248 43248 0 0.0
.comment 48 48 0 0.0
.data 3584 3584 0 0.0
.debug_abbrev 1565758 1565740 -18 -0.0
.debug_aranges 137936 137952 16 0.0
.debug_frame 507216 507308 92 0.0
.debug_info 41817071 41818087 1016 0.0
.debug_line 5448758 5449211 453 0.0
.debug_loc 3516528 3516932 404 0.0
.debug_ranges 380504 380568 64 0.0
.debug_str 3952868 3953122 254 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 107136 107136 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 590829 590829 0 0.0
.symtab 176000 176000 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
955666 955666 0 0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1265475 1265475 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 49749 49749 0 0.0
.bss_psram 43248 43248 0 0.0
.comment 48 48 0 0.0
.data 4104 4104 0 0.0
.debug_abbrev 1742578 1742560 -18 -0.0
.debug_aranges 146600 146616 16 0.0
.debug_frame 536468 536560 92 0.0
.debug_info 46720198 46721214 1016 0.0
.debug_line 5857643 5858096 453 0.0
.debug_loc 3721819 3722223 404 0.0
.debug_ranges 406400 406464 64 0.0
.debug_str 4374333 4374587 254 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 122008 122008 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 655000 655000 0 0.0
.symtab 195200 195200 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1028116 1028116 0 0.0
bl706-eth (read/write) 1014788 1014788 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 25586 25586 0 0.0
.bss_psram 94415 94415 0 0.0
.comment 48 48 0 0.0
.data 3304 3304 0 0.0
.debug_abbrev 1114794 1114776 -18 -0.0
.debug_aranges 114232 114248 16 0.0
.debug_frame 424088 424180 92 0.0
.debug_info 23271358 2327237 1015 0.0
.debug_line 4406961 4407422 461 0.0
.debug_loc 3014759 3015163 404 0.0
.debug_ranges 317304 317368 64 0.0
.debug_str 3524886 3525140 254 0.0
.hbn 184 184 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 152 152 0 0.0
.psram 1 1 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 97332 97332 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 455888 455888 0 0.0
.symtab 138032 138032 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3338 3338 0 0.0
.text 0 0 0 0.0
773744 773744 0 0.0
bl706-wifi (read/write) 1086959 1086959 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 9981 9981 0 0.0
.bss_psram 95151 95151 0 0.0
.comment 48 48 0 0.0
.data 3624 3624 0 0.0
.debug_abbrev 1207655 1207637 -18 -0.0
.debug_aranges 118496 118512 16 0.0
.debug_frame 439532 439624 92 0.0
.debug_info 24436468 24437484 1016 0.0
.debug_line 4627962 4628415 453 0.0
.debug_loc 3098838 3099242 404 0.0
.debug_ranges 326200 326264 64 0.0
.debug_str 3586271 3586525 254 0.0
.hbn 468 468 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 156 156 0 0.0
.psram 1 1 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 109608 109608 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 492653 492653 0 0.0
.symtab 150544 150544 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3402 3402 0 0.0
.text 0 0 0 0.0
847450 847450 0 0.0
bl702l lighting-app bl702l (read only) 278 278 0 0.0
(read/write) 1153892 1153892 0 0.0
.boot2 292 292 0 0.0
.bss 16004 16004 0 0.0
.bss_psram 77648 77648 0 0.0
.comment 48 48 0 0.0
.data 4528 4528 0 0.0
.debug_abbrev 1568126 1568108 -18 -0.0
.debug_aranges 132456 132472 16 0.0
.debug_frame 486948 487040 92 0.0
.debug_info 41823876 41824892 1016 0.0
.debug_line 5364965 5365418 453 0.0
.debug_loc 3452328 3452732 404 0.0
.debug_ranges 385824 385888 64 0.0
.debug_str 3965311 3965565 254 0.0
.hbn 3244 3244 0 0.0
.hbn_noinit 308 308 0 0.0
.init 408 408 0 0.0
.init_array 144 144 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 101000 101000 0 0.0
.romdata 3224 3224 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 286 286 0 0.0
.stack 2048 2048 0 0.0
.strtab 591023 591023 0 0.0
.symtab 175536 175536 0 0.0
.tcm_data 692 692 0 0.0
.tcmcode 278 278 0 0.0
.text 0 0 0 0.0
944166 944166 0 0.0
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 617146 617146 0 0.0
(read/write) 207256 207256 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 200696 200696 0 0.0
.comment 206 206 0 0.0
.data 1440 1440 0 0.0
.debug_abbrev 966884 966863 -21 -0.0
.debug_aranges 106736 106752 16 0.0
.debug_frame 360948 361016 68 0.0
.debug_info 21242224 21243424 1200 0.0
.debug_line 2796143 2796627 484 0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1566793 1567079 286 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 98923 98949 26 0.0
.debug_str 3367821 3368053 232 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 106506 106506 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 499911 499911 0 0.0
.symtab 294208 294208 0 0.0
.text 508520 508520 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 552247 552247 0 0.0
.app_xip_area 443513 443513 0 0.0
.bss 63704 63704 0 0.0
.data 664 664 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 538703 538703 0 0.0
.app_xip_area 425033 425033 0 0.0
.bss 68608 68608 0 0.0
.data 692 692 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 574063 574063 0 0.0
.app_xip_area 466529 466529 0 0.0
.bss 62576 62576 0 0.0
.data 592 592 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 558671 558671 0 0.0
.app_xip_area 447921 447921 0 0.0
.bss 65696 65696 0 0.0
.data 688 688 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1027016 1027016 0 0.0
.bss 193040 193040 0 0.0
.data 2668 2668 0 0.0
.text 831288 831288 0 0.0
BRD4187C (read/write) 1070688 1070680 -8 -0.0
.bss 176812 176812 0 0.0
.data 3256 3256 0 0.0
.text 890600 890592 -8 -0.0
lock-app BRD4161A+wf200 (read/write) 1103776 1103776 0 0.0
.bss 186976 186976 0 0.0
.data 2684 2684 0 0.0
.text 914096 914096 0 0.0
window-app BRD4187C (read/write) 1119540 1119540 0 0.0
.bss 159564 159564 0 0.0
.data 3132 3132 0 0.0
.text 956824 956824 0 0.0
esp32 all-clusters-app c3devkit (read only) 1172992 1172992 0 0.0
(read/write) 1703892 1703892 0 0.0
.dram0.bss 79056 79056 0 0.0
.dram0.data 13084 13084 0 0.0
.flash.rodata 268840 268840 0 0.0
.flash.text 1172992 1172992 0 0.0
.iram0.text 75244 75244 0 0.0
m5stack (read only) 1213787 1213791 4 0.0
(read/write) 552802 552802 0 0.0
.dram0.bss 85424 85424 0 0.0
.dram0.data 34036 34036 0 0.0
.flash.rodata 299724 299724 0 0.0
.flash.text 1208403 1208407 4 0.0
.iram0.text 123287 123287 0 0.0
k32w contact k32w0+release (read only) 591052 591052 0 0.0
(read/write) 87944 87944 0 0.0
.bss 71192 71192 0 0.0
.data 2128 2128 0 0.0
.text 590516 590516 0 0.0
light k32w0+release (read only) 589836 589836 0 0.0
(read/write) 87596 87596 0 0.0
.bss 70856 70856 0 0.0
.data 2116 2116 0 0.0
.text 589300 589300 0 0.0
lock k32w0+release (read only) 562196 562196 0 0.0
(read/write) 85396 85396 0 0.0
.bss 68712 68712 0 0.0
.data 2060 2060 0 0.0
.text 561660 561660 0 0.0
linux all-clusters-app debug (read only) 5649113 5649305 192 0.0
(read/write) 420456 420520 64 0.0
.bss 130688 130752 64 0.0
.data 4016 4016 0 0.0
.data.rel.ro 278376 278376 0 0.0
.dynamic 624 624 0 0.0
.got 5384 5384 0 0.0
.init 27 27 0 0.0
.init_array 1344 1344 0 0.0
.rodata 339188 339220 32 0.0
.text 4928435 4928595 160 0.0
all-clusters-minimal-app debug (read only) 4915681 4915905 224 0.0
(read/write) 232392 232456 64 0.0
.bss 126368 126432 64 0.1
.data 3856 3856 0 0.0
.data.rel.ro 95024 95024 0 0.0
.dynamic 624 624 0 0.0
.got 5344 5344 0 0.0
.init 27 27 0 0.0
.init_array 1152 1152 0 0.0
.rodata 272584 272648 64 0.0
.text 4412323 4412483 160 0.0
bridge-app debug (read only) 2772737 2773121 384 0.0
(read/write) 133176 133336 160 0.1
.bss 51800 51960 160 0.3
.data 3824 3824 0 0.0
.data.rel.ro 71440 71440 0 0.0
.dynamic 624 624 0 0.0
.got 4640 4640 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 214536 214568 32 0.0
.text 2380531 2380883 352 0.0
chip-tool debug (read only) 10332073 10332105 32 0.0
(read/write) 441688 441688 0 0.0
.bss 93688 93688 0 0.0
.data 5090 5090 0 0.0
.data.rel.ro 335664 335664 0 0.0
.dynamic 624 624 0 0.0
.got 5816 5816 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 388785 388817 32 0.0
.text 9347811 9347811 0 0.0
chip-tool-ipv6only arm64 (read only) 10173452 10173452 0 0.0
(read/write) 504152 504152 0 0.0
.bss 103080 103080 0 0.0
.data 4392 4392 0 0.0
.data.rel.ro 373032 373032 0 0.0
.dynamic 512 512 0 0.0
.got 18192 18192 0 0.0
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 316168 316168 0 0.0
.text 9093336 9093336 0 0.0
lighting-app debug+rpc+ui (read only) 5245465 5245673 208 0.0
(read/write) 222536 222568 32 0.0
.bss 118064 118096 32 0.0
.data 4528 4528 0 0.0
.data.rel.ro 92376 92376 0 0.0
.dynamic 672 672 0 0.0
.got 5928 5928 0 0.0
.init 27 27 0 0.0
.init_array 944 944 0 0.0
.rodata 337076 337140 64 0.0
.text 4665955 4666099 144 0.0
lock-app debug (read only) 4479073 4479233 160 0.0
(read/write) 203128 203160 32 0.0
.bss 113488 113520 32 0.0
.data 3760 3760 0 0.0
.data.rel.ro 79080 79080 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 248488 248520 32 0.0
.text 4021091 4021219 128 0.0
ota-provider-app debug (read only) 4130449 4130609 160 0.0
(read/write) 192064 192096 32 0.0
.bss 113632 113664 32 0.0
.data 4032 4032 0 0.0
.data.rel.ro 68480 68480 0 0.0
.dynamic 624 624 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 201160 201192 32 0.0
.text 3738851 3738979 128 0.0
ota-requestor-app debug (read only) 4223913 4224121 208 0.0
(read/write) 196376 196440 64 0.0
.bss 114688 114752 64 0.1
.data 4272 4272 0 0.0
.data.rel.ro 71480 71480 0 0.0
.dynamic 624 624 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 204488 204552 64 0.0
.text 3824659 3824803 144 0.0
shell debug (read only) 3049361 3049553 192 0.0
(read/write) 152936 153000 64 0.0
.bss 60392 60456 64 0.1
.data 784 784 0 0.0
.data.rel.ro 85832 85832 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 1176 1176 0 0.0
.rodata 214162 214194 32 0.0
.text 2661090 2661250 160 0.0
thermostat-no-ble arm64 (read only) 4358044 4358188 144 0.0
(read/write) 241912 241960 48 0.0
.bss 122216 122264 48 0.0
.data 2896 2896 0 0.0
.data.rel.ro 100512 100512 0 0.0
.dynamic 512 512 0 0.0
.got 11824 11824 0 0.0
.init 24 24 0 0.0
.init_array 424 424 0 0.0
.rodata 161268 161268 0 0.0
.text 3862712 3862856 144 0.0
tv-app debug (read only) 5318937 5319401 464 0.0
(read/write) 350272 350432 160 0.0
.bss 241632 241792 160 0.1
.data 5136 5136 0 0.0
.data.rel.ro 96096 96096 0 0.0
.dynamic 624 624 0 0.0
.got 5616 5616 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 272472 272536 64 0.0
.text 4802707 4803107 400 0.0
tv-casting-app debug (read only) 8277705 8277897 192 0.0
(read/write) 210768 210800 32 0.0
.bss 54336 54368 32 0.1
.data 2544 2544 0 0.0
.data.rel.ro 147064 147064 0 0.0
.dynamic 624 624 0 0.0
.got 5088 5088 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 337980 338044 64 0.0
.text 7539507 7539635 128 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2523272 2523272 0 0.0
.bss 219424 219424 0 0.0
.data 5128 5128 0 0.0
.text 1485956 1485956 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1241172 1241172 0 0.0
bss 155482 155482 0 0.0
rodata 143176 143176 0 0.0
text 863512 863512 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1359568 1359568 0 0.0
bss 140948 140948 0 0.0
rodata 137080 137080 0 0.0
text 790836 790836 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1161112 1161112 0 0.0
bss 154852 154852 0 0.0
rodata 113748 113748 0 0.0
text 813580 813580 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 837160 837160 0 0.0
(read/write) 1793916 1793916 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 193628 193628 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2552 2552 0 0.0
.debug_abbrev 1418440 1418417 -23 -0.0
.debug_aranges 145152 145168 16 0.0
.debug_frame 482876 482948 72 0.0
.debug_info 33508639 33509781 1142 0.0
.debug_line 4234156 4234565 409 0.0
.debug_line_str 957 957 0 0.0
.debug_loclists 2304378 2304640 262 0.0
.debug_rnglists 144584 144623 39 0.0
.debug_str 4529477 4529731 254 0.0
.heap 837160 837160 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 850431 850431 0 0.0
.symtab 515376 515376 0 0.0
.text 1589348 1589348 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 839944 839944 0 0.0
(read/write) 1678740 1678740 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 190932 190932 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2464 2464 0 0.0
.debug_abbrev 1290847 1290824 -23 -0.0
.debug_aranges 135016 135032 16 0.0
.debug_frame 454352 454424 72 0.0
.debug_info 29288700 29289842 1142 0.0
.debug_line 3947274 3947683 409 0.0
.debug_line_str 981 981 0 0.0
.debug_loclists 2120055 2120309 254 0.0
.debug_rnglists 133976 134015 39 0.0
.debug_str 3922055 3922309 254 0.0
.heap 839944 839944 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 719966 719966 0 0.0
.symtab 467712 467712 0 0.0
.text 1476956 1476956 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 846280 846280 0 0.0
(read/write) 1607052 1607052 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184708 184708 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2352 2352 0 0.0
.debug_abbrev 1130672 1130653 -19 -0.0
.debug_aranges 125112 125128 16 0.0
.debug_frame 417396 417468 72 0.0
.debug_info 24342759 24343959 1200 0.0
.debug_line 3511711 3512103 392 0.0
.debug_line_str 942 942 0 0.0
.debug_loclists 1956839 1957093 254 0.0
.debug_rnglists 123673 123712 39 0.0
.debug_str 3729298 3729552 254 0.0
.heap 846280 846280 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 637531 637531 0 0.0
.symtab 431248 431248 0 0.0
.text 1411604 1411604 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 818880 818880 0 0.0
(read/write) 1640324 1640324 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 212092 212092 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2368 2368 0 0.0
.debug_abbrev 1121636 1121615 -21 -0.0
.debug_aranges 123920 123936 16 0.0
.debug_frame 413048 413120 72 0.0
.debug_info 24154482 24155653 1171 0.0
.debug_line 3464766 3465141 375 0.0
.debug_line_str 933 933 0 0.0
.debug_loclists 1935358 1935612 254 0.0
.debug_rnglists 121769 121808 39 0.0
.debug_str 3692687 3692941 254 0.0
.heap 818880 818880 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 611606 611606 0 0.0
.symtab 423296 423296 0 0.0
.text 1417476 1417476 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1177908 1177908 0 0.0
.bss 101024 101024 0 0.0
.data 744 744 0 0.0
.text 624752 624752 0 0.0
lock-app qpg6105+debug (read/write) 1135388 1135388 0 0.0
.bss 95744 95744 0 0.0
.data 748 748 0 0.0
.text 582228 582228 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1096064 1096064 0 0.0
bss 108180 108180 0 0.0
text 752068 752068 0 0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 981696 981696 0 0.0
bss 105332 105332 0 0.0
text 673682 673682 0 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 944936 945164 228 0.0
bss 109652 109728 76 0.1
text 647580 647734 154 0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 876892 876892 0 0.0
bss 98696 98696 0 0.0
text 591102 591102 0 0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 923228 923228 0 0.0
bss 99536 99536 0 0.0
text 632788 632788 0 0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 984156 984156 0 0.0
bss 107504 107504 0 0.0
text 687250 687250 0 0.0
lighting-app-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 995520 995520 0 0.0
bss 111752 111752 0 0.0
text 694766 694766 0 0.0
lighting-app-rpc tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1053744 1053744 0 0.0
bss 109076 109076 0 0.0
text 732246 732246 0 0.0
lighting-app-shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1085232 1085232 0 0.0
bss 120152 120152 0 0.0
text 752462 752462 0 0.0
lock-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 934956 934956 0 0.0
bss 99424 99424 0 0.0
text 622230 622230 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 899488 899488 0 0.0
bss 100012 100012 0 0.0
text 612956 612956 0 0.0
pump-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 882308 882308 0 0.0
bss 98828 98828 0 0.0
text 596728 596728 0 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 869448 869448 0 0.0
bss 98628 98628 0 0.0
text 587150 587150 0 0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 744116 744116 0 0.0
bss 97208 97208 0 0.0
text 478532 478532 0 0.0
smoke_co_alarm-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 880384 880384 0 0.0
bss 98816 98816 0 0.0
text 595460 595460 0 0.0
temperature-measurement-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 865628 865628 0 0.0
bss 98536 98536 0 0.0
text 582796 582796 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 890904 890904 0 0.0
bss 98928 98928 0 0.0
text 602878 602878 0 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 886528 886528 0 0.0
bss 99252 99252 0 0.0
text 598202 598202 0 0.0

@plan44
Copy link
Contributor Author

plan44 commented Aug 29, 2023

@bzbarsky-apple Uh-oh. Now clang-format insists on sorting the includes alphabetically, so it simply reverts my attempt to get platform stuff included first 😟

Now what?

I understand that order of includes should not matter, but to really archieve this, every header file in the whole framework is required to include all of its potential dependencies itself.

When platforms are allowed to tweak globals like CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT, that means every header would need to include CHIPDeviceLayer.h, of which some modules might not even know.

I have no idea how to resolve this conflict.

@bzbarsky-apple
Copy link
Contributor

I now moved the inclusion

Isn't the right fix for af-types.h to include config headers if it depends on config, instead of doing weird header ordering things?

@plan44 plan44 force-pushed the PR/better-dynamic-ep-support branch from ff6c957 to 3e2d0cb Compare August 29, 2023 19:22
@github-actions
Copy link

github-actions bot commented Aug 29, 2023

PR #28372: Size comparison from 454d7d9 to 3e2d0cb

Increases above 0.2%:

platform target config section 454d7d9 3e2d0cb change % change
linux bridge-app debug .bss 51768 51928 160 0.3
Increases (25 builds for bl702, bl702l, cc32xx, esp32, linux, psoc6, telink)
platform target config section 454d7d9 3e2d0cb change % change
bl702 lighting-app bl702 .debug_aranges 137936 137952 16 0.0
.debug_frame 507216 507308 92 0.0
.debug_info 41817003 41818045 1042 0.0
.debug_line 5448662 5449159 497 0.0
.debug_loc 3516494 3516898 404 0.0
.debug_ranges 380488 380552 64 0.0
.debug_str 3952842 3953096 254 0.0
bl702+rpc .debug_aranges 146600 146616 16 0.0
.debug_frame 536468 536560 92 0.0
.debug_info 46720130 46721172 1042 0.0
.debug_line 5857547 5858044 497 0.0
.debug_loc 3721785 3722189 404 0.0
.debug_ranges 406384 406448 64 0.0
.debug_str 4374307 4374561 254 0.0
bl706-eth .debug_aranges 114232 114248 16 0.0
.debug_frame 424088 424180 92 0.0
.debug_info 23271290 23272332 1042 0.0
.debug_line 4406865 4407362 497 0.0
.debug_loc 3014710 3015114 404 0.0
.debug_ranges 317288 317352 64 0.0
.debug_str 3524844 3525098 254 0.0
bl706-wifi .debug_aranges 118496 118512 16 0.0
.debug_frame 439532 439624 92 0.0
.debug_info 24436400 24437442 1042 0.0
.debug_line 4627866 4628363 497 0.0
.debug_loc 3098758 3099162 404 0.0
.debug_ranges 326184 326248 64 0.0
.debug_str 3586245 3586499 254 0.0
bl702l lighting-app bl702l .debug_aranges 132456 132472 16 0.0
.debug_frame 486948 487040 92 0.0
.debug_info 41823808 41824850 1042 0.0
.debug_line 5364869 5365366 497 0.0
.debug_loc 3452262 3452666 404 0.0
.debug_ranges 385808 385872 64 0.0
.debug_str 3965285 3965539 254 0.0
cc32xx lock CC3235SF_LAUNCHXL .debug_aranges 106736 106752 16 0.0
.debug_frame 360948 361016 68 0.0
.debug_info 21242272 21243521 1249 0.0
.debug_line 2796051 2796503 452 0.0
.debug_loclists 1566724 1567010 286 0.0
.debug_rnglists 98899 98925 26 0.0
.debug_str 3367779 3368011 232 0.0
esp32 all-clusters-app m5stack (read only) 1214015 1214019 4 0.0
.flash.text 1208631 1208635 4 0.0
linux all-clusters-app debug (read only) 5649097 5649289 192 0.0
(read/write) 420424 420488 64 0.0
.bss 130656 130720 64 0.0
.rodata 339188 339220 32 0.0
.text 4928419 4928579 160 0.0
all-clusters-minimal-app debug (read only) 4915665 4915889 224 0.0
(read/write) 232360 232424 64 0.0
.bss 126336 126400 64 0.1
.rodata 272584 272648 64 0.0
.text 4412307 4412467 160 0.0
bridge-app debug (read only) 2772721 2773153 432 0.0
(read/write) 133144 133304 160 0.1
.bss 51768 51928 160 0.3
.rodata 214536 214600 64 0.0
.text 2380515 2380883 368 0.0
chip-tool debug (read only) 10331993 10332057 64 0.0
.rodata 388785 388849 64 0.0
lighting-app debug+rpc+ui (read only) 5245993 5246185 192 0.0
(read/write) 222504 222536 32 0.0
.bss 118032 118064 32 0.0
.rodata 337268 337332 64 0.0
.text 4666291 4666419 128 0.0
lock-app debug (read only) 4478977 4479153 176 0.0
(read/write) 203096 203128 32 0.0
.bss 113456 113488 32 0.0
.rodata 248488 248520 32 0.0
.text 4020995 4021139 144 0.0
ota-provider-app debug (read only) 4130433 4130625 192 0.0
(read/write) 192032 192064 32 0.0
.bss 113600 113632 32 0.0
.rodata 201160 201224 64 0.0
.text 3738835 3738963 128 0.0
ota-requestor-app debug (read only) 4223897 4224105 208 0.0
(read/write) 196344 196408 64 0.0
.bss 114656 114720 64 0.1
.rodata 204488 204552 64 0.0
.text 3824643 3824787 144 0.0
shell debug (read only) 3050993 3051217 224 0.0
(read/write) 153520 153584 64 0.0
.bss 60808 60872 64 0.1
.rodata 214578 214642 64 0.0
.text 2661922 2662082 160 0.0
thermostat-no-ble arm64 (read only) 4358076 4358220 144 0.0
(read/write) 241896 241944 48 0.0
.bss 122200 122248 48 0.0
.text 3862744 3862888 144 0.0
tv-app debug (read only) 5320665 5321129 464 0.0
(read/write) 350824 350984 160 0.0
.bss 242016 242176 160 0.1
.rodata 272920 272984 64 0.0
.text 4803603 4804003 400 0.0
tv-casting-app debug (read only) 8279433 8279625 192 0.0
(read/write) 211320 211352 32 0.0
.bss 54720 54752 32 0.1
.rodata 338428 338492 64 0.0
.text 7540403 7540531 128 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_aranges 145152 145168 16 0.0
.debug_frame 482876 482948 72 0.0
.debug_info 33508685 33509911 1226 0.0
.debug_line 4234069 4234420 351 0.0
.debug_loclists 2304391 2304645 254 0.0
.debug_rnglists 144560 144599 39 0.0
.debug_str 4529452 4529706 254 0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_aranges 135016 135032 16 0.0
.debug_frame 454352 454424 72 0.0
.debug_info 29288736 29289962 1226 0.0
.debug_line 3947181 3947532 351 0.0
.debug_loclists 2120060 2120314 254 0.0
.debug_rnglists 133952 133991 39 0.0
.debug_str 3922029 3922283 254 0.0
light cy8ckit_062s2_43012 .debug_aranges 125112 125128 16 0.0
.debug_frame 417396 417468 72 0.0
.debug_info 24342795 24344021 1226 0.0
.debug_line 3511618 3511969 351 0.0
.debug_loclists 1956844 1957098 254 0.0
.debug_rnglists 123649 123688 39 0.0
.debug_str 3729272 3729526 254 0.0
lock cy8ckit_062s2_43012 .debug_aranges 123920 123936 16 0.0
.debug_frame 413048 413120 72 0.0
.debug_info 24154518 24155744 1226 0.0
.debug_line 3464673 3465024 351 0.0
.debug_loclists 1935363 1935617 254 0.0
.debug_rnglists 121745 121784 39 0.0
.debug_str 3692661 3692915 254 0.0
telink bridge-app tlsr9518adk80d (read/write) 944936 945164 228 0.0
bss 109652 109728 76 0.1
text 647578 647732 154 0.0
ota-requestor-app tlsr9518adk80d text 612952 612954 2 0.0
Decreases (11 builds for bl702, bl702l, cc32xx, efr32, psoc6)
platform target config section 454d7d9 3e2d0cb change % change
bl702 lighting-app bl702 .debug_abbrev 1565740 1565722 -18 -0.0
bl702+rpc .debug_abbrev 1742560 1742542 -18 -0.0
bl706-eth .debug_abbrev 1114776 1114758 -18 -0.0
bl706-wifi .debug_abbrev 1207637 1207619 -18 -0.0
bl702l lighting-app bl702l .debug_abbrev 1568108 1568090 -18 -0.0
cc32xx lock CC3235SF_LAUNCHXL .debug_abbrev 966884 966867 -17 -0.0
efr32 lighting-app BRD4187C (read/write) 1079204 1079196 -8 -0.0
.text 889920 889912 -8 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_abbrev 1418440 1418423 -17 -0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_abbrev 1290847 1290830 -17 -0.0
light cy8ckit_062s2_43012 .debug_abbrev 1130672 1130655 -17 -0.0
lock cy8ckit_062s2_43012 .debug_abbrev 1121636 1121619 -17 -0.0
Full report (62 builds for bl602, bl702, bl702l, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 454d7d9 3e2d0cb change % change
bl602 lighting-app bl602 (read/write) 1365550 1365550 0 0.0
.bss 73446 73446 0 0.0
.data 9600 9600 0 0.0
.text 1058512 1058512 0 0.0
bl602+rpc (read/write) 1412698 1412698 0 0.0
.bss 81486 81486 0 0.0
.data 9952 9952 0 0.0
.text 1090190 1090190 0 0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1168659 1168659 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 41301 41301 0 0.0
.bss_psram 43248 43248 0 0.0
.comment 48 48 0 0.0
.data 3584 3584 0 0.0
.debug_abbrev 1565740 1565722 -18 -0.0
.debug_aranges 137936 137952 16 0.0
.debug_frame 507216 507308 92 0.0
.debug_info 41817003 41818045 1042 0.0
.debug_line 5448662 5449159 497 0.0
.debug_loc 3516494 3516898 404 0.0
.debug_ranges 380488 380552 64 0.0
.debug_str 3952842 3953096 254 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 107136 107136 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 590829 590829 0 0.0
.symtab 176000 176000 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
955668 955668 0 0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1265479 1265479 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 49749 49749 0 0.0
.bss_psram 43248 43248 0 0.0
.comment 48 48 0 0.0
.data 4104 4104 0 0.0
.debug_abbrev 1742560 1742542 -18 -0.0
.debug_aranges 146600 146616 16 0.0
.debug_frame 536468 536560 92 0.0
.debug_info 46720130 46721172 1042 0.0
.debug_line 5857547 5858044 497 0.0
.debug_loc 3721785 3722189 404 0.0
.debug_ranges 406384 406448 64 0.0
.debug_str 4374307 4374561 254 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 122008 122008 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 655000 655000 0 0.0
.symtab 195200 195200 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1028118 1028118 0 0.0
bl706-eth (read/write) 1014792 1014792 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 25586 25586 0 0.0
.bss_psram 94415 94415 0 0.0
.comment 48 48 0 0.0
.data 3304 3304 0 0.0
.debug_abbrev 1114776 1114758 -18 -0.0
.debug_aranges 114232 114248 16 0.0
.debug_frame 424088 424180 92 0.0
.debug_info 23271290 23272332 1042 0.0
.debug_line 4406865 4407362 497 0.0
.debug_loc 3014710 3015114 404 0.0
.debug_ranges 317288 317352 64 0.0
.debug_str 3524844 3525098 254 0.0
.hbn 184 184 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 152 152 0 0.0
.psram 1 1 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 97332 97332 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 455888 455888 0 0.0
.symtab 138032 138032 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3338 3338 0 0.0
.text 0 0 0 0.0
773746 773746 0 0.0
bl706-wifi (read/write) 1086959 1086959 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 9981 9981 0 0.0
.bss_psram 95151 95151 0 0.0
.comment 48 48 0 0.0
.data 3624 3624 0 0.0
.debug_abbrev 1207637 1207619 -18 -0.0
.debug_aranges 118496 118512 16 0.0
.debug_frame 439532 439624 92 0.0
.debug_info 24436400 24437442 1042 0.0
.debug_line 4627866 4628363 497 0.0
.debug_loc 3098758 3099162 404 0.0
.debug_ranges 326184 326248 64 0.0
.debug_str 3586245 3586499 254 0.0
.hbn 468 468 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 156 156 0 0.0
.psram 1 1 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 109608 109608 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 492653 492653 0 0.0
.symtab 150544 150544 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3402 3402 0 0.0
.text 0 0 0 0.0
847452 847452 0 0.0
bl702l lighting-app bl702l (read only) 278 278 0 0.0
(read/write) 1153892 1153892 0 0.0
.boot2 292 292 0 0.0
.bss 16004 16004 0 0.0
.bss_psram 77648 77648 0 0.0
.comment 48 48 0 0.0
.data 4528 4528 0 0.0
.debug_abbrev 1568108 1568090 -18 -0.0
.debug_aranges 132456 132472 16 0.0
.debug_frame 486948 487040 92 0.0
.debug_info 41823808 41824850 1042 0.0
.debug_line 5364869 5365366 497 0.0
.debug_loc 3452262 3452666 404 0.0
.debug_ranges 385808 385872 64 0.0
.debug_str 3965285 3965539 254 0.0
.hbn 3244 3244 0 0.0
.hbn_noinit 308 308 0 0.0
.init 408 408 0 0.0
.init_array 144 144 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 101000 101000 0 0.0
.romdata 3224 3224 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 286 286 0 0.0
.stack 2048 2048 0 0.0
.strtab 591023 591023 0 0.0
.symtab 175536 175536 0 0.0
.tcm_data 692 692 0 0.0
.tcmcode 278 278 0 0.0
.text 0 0 0 0.0
944168 944168 0 0.0
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 617146 617146 0 0.0
(read/write) 207256 207256 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 200696 200696 0 0.0
.comment 206 206 0 0.0
.data 1440 1440 0 0.0
.debug_abbrev 966884 966867 -17 -0.0
.debug_aranges 106736 106752 16 0.0
.debug_frame 360948 361016 68 0.0
.debug_info 21242272 21243521 1249 0.0
.debug_line 2796051 2796503 452 0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1566724 1567010 286 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 98899 98925 26 0.0
.debug_str 3367779 3368011 232 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 106506 106506 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 499911 499911 0 0.0
.symtab 294208 294208 0 0.0
.text 508520 508520 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 553047 553047 0 0.0
.app_xip_area 444065 444065 0 0.0
.bss 63952 63952 0 0.0
.data 664 664 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 539503 539503 0 0.0
.app_xip_area 425585 425585 0 0.0
.bss 68856 68856 0 0.0
.data 692 692 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 574863 574863 0 0.0
.app_xip_area 467081 467081 0 0.0
.bss 62824 62824 0 0.0
.data 592 592 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 559479 559479 0 0.0
.app_xip_area 448473 448473 0 0.0
.bss 65952 65952 0 0.0
.data 688 688 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1026356 1026356 0 0.0
.bss 193028 193028 0 0.0
.data 2668 2668 0 0.0
.text 830640 830640 0 0.0
BRD4187C (read/write) 1079204 1079196 -8 -0.0
.bss 186008 186008 0 0.0
.data 3256 3256 0 0.0
.text 889920 889912 -8 -0.0
lock-app BRD4161A+wf200 (read/write) 1103092 1103092 0 0.0
.bss 186956 186956 0 0.0
.data 2684 2684 0 0.0
.text 913432 913432 0 0.0
window-app BRD4187C (read/write) 1128096 1128096 0 0.0
.bss 168768 168768 0 0.0
.data 3132 3132 0 0.0
.text 956176 956176 0 0.0
esp32 all-clusters-app c3devkit (read only) 1172990 1172990 0 0.0
(read/write) 1703892 1703892 0 0.0
.dram0.bss 79056 79056 0 0.0
.dram0.data 13084 13084 0 0.0
.flash.rodata 268840 268840 0 0.0
.flash.text 1172990 1172990 0 0.0
.iram0.text 75244 75244 0 0.0
m5stack (read only) 1214015 1214019 4 0.0
(read/write) 553370 553370 0 0.0
.dram0.bss 85672 85672 0 0.0
.dram0.data 34036 34036 0 0.0
.flash.rodata 300044 300044 0 0.0
.flash.text 1208631 1208635 4 0.0
.iram0.text 123287 123287 0 0.0
k32w contact k32w0+release (read only) 591052 591052 0 0.0
(read/write) 87944 87944 0 0.0
.bss 71192 71192 0 0.0
.data 2128 2128 0 0.0
.text 590516 590516 0 0.0
light k32w0+release (read only) 589836 589836 0 0.0
(read/write) 87596 87596 0 0.0
.bss 70856 70856 0 0.0
.data 2116 2116 0 0.0
.text 589300 589300 0 0.0
lock k32w0+release (read only) 562196 562196 0 0.0
(read/write) 85396 85396 0 0.0
.bss 68712 68712 0 0.0
.data 2060 2060 0 0.0
.text 561660 561660 0 0.0
linux all-clusters-app debug (read only) 5649097 5649289 192 0.0
(read/write) 420424 420488 64 0.0
.bss 130656 130720 64 0.0
.data 4016 4016 0 0.0
.data.rel.ro 278376 278376 0 0.0
.dynamic 624 624 0 0.0
.got 5384 5384 0 0.0
.init 27 27 0 0.0
.init_array 1344 1344 0 0.0
.rodata 339188 339220 32 0.0
.text 4928419 4928579 160 0.0
all-clusters-minimal-app debug (read only) 4915665 4915889 224 0.0
(read/write) 232360 232424 64 0.0
.bss 126336 126400 64 0.1
.data 3856 3856 0 0.0
.data.rel.ro 95024 95024 0 0.0
.dynamic 624 624 0 0.0
.got 5344 5344 0 0.0
.init 27 27 0 0.0
.init_array 1152 1152 0 0.0
.rodata 272584 272648 64 0.0
.text 4412307 4412467 160 0.0
bridge-app debug (read only) 2772721 2773153 432 0.0
(read/write) 133144 133304 160 0.1
.bss 51768 51928 160 0.3
.data 3824 3824 0 0.0
.data.rel.ro 71440 71440 0 0.0
.dynamic 624 624 0 0.0
.got 4640 4640 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 214536 214600 64 0.0
.text 2380515 2380883 368 0.0
chip-tool debug (read only) 10331993 10332057 64 0.0
(read/write) 441688 441688 0 0.0
.bss 93688 93688 0 0.0
.data 5090 5090 0 0.0
.data.rel.ro 335664 335664 0 0.0
.dynamic 624 624 0 0.0
.got 5816 5816 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 388785 388849 64 0.0
.text 9347731 9347731 0 0.0
chip-tool-ipv6only arm64 (read only) 10173388 10173388 0 0.0
(read/write) 504136 504136 0 0.0
.bss 103064 103064 0 0.0
.data 4392 4392 0 0.0
.data.rel.ro 373032 373032 0 0.0
.dynamic 512 512 0 0.0
.got 18192 18192 0 0.0
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 316168 316168 0 0.0
.text 9093272 9093272 0 0.0
lighting-app debug+rpc+ui (read only) 5245993 5246185 192 0.0
(read/write) 222504 222536 32 0.0
.bss 118032 118064 32 0.0
.data 4528 4528 0 0.0
.data.rel.ro 92376 92376 0 0.0
.dynamic 672 672 0 0.0
.got 5928 5928 0 0.0
.init 27 27 0 0.0
.init_array 944 944 0 0.0
.rodata 337268 337332 64 0.0
.text 4666291 4666419 128 0.0
lock-app debug (read only) 4478977 4479153 176 0.0
(read/write) 203096 203128 32 0.0
.bss 113456 113488 32 0.0
.data 3760 3760 0 0.0
.data.rel.ro 79080 79080 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 248488 248520 32 0.0
.text 4020995 4021139 144 0.0
ota-provider-app debug (read only) 4130433 4130625 192 0.0
(read/write) 192032 192064 32 0.0
.bss 113600 113632 32 0.0
.data 4032 4032 0 0.0
.data.rel.ro 68480 68480 0 0.0
.dynamic 624 624 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 201160 201224 64 0.0
.text 3738835 3738963 128 0.0
ota-requestor-app debug (read only) 4223897 4224105 208 0.0
(read/write) 196344 196408 64 0.0
.bss 114656 114720 64 0.1
.data 4272 4272 0 0.0
.data.rel.ro 71480 71480 0 0.0
.dynamic 624 624 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 204488 204552 64 0.0
.text 3824643 3824787 144 0.0
shell debug (read only) 3050993 3051217 224 0.0
(read/write) 153520 153584 64 0.0
.bss 60808 60872 64 0.1
.data 784 784 0 0.0
.data.rel.ro 85992 85992 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 1184 1184 0 0.0
.rodata 214578 214642 64 0.0
.text 2661922 2662082 160 0.0
thermostat-no-ble arm64 (read only) 4358076 4358220 144 0.0
(read/write) 241896 241944 48 0.0
.bss 122200 122248 48 0.0
.data 2896 2896 0 0.0
.data.rel.ro 100512 100512 0 0.0
.dynamic 512 512 0 0.0
.got 11824 11824 0 0.0
.init 24 24 0 0.0
.init_array 424 424 0 0.0
.rodata 161268 161268 0 0.0
.text 3862744 3862888 144 0.0
tv-app debug (read only) 5320665 5321129 464 0.0
(read/write) 350824 350984 160 0.0
.bss 242016 242176 160 0.1
.data 5136 5136 0 0.0
.data.rel.ro 96256 96256 0 0.0
.dynamic 624 624 0 0.0
.got 5616 5616 0 0.0
.init 27 27 0 0.0
.init_array 1152 1152 0 0.0
.rodata 272920 272984 64 0.0
.text 4803603 4804003 400 0.0
tv-casting-app debug (read only) 8279433 8279625 192 0.0
(read/write) 211320 211352 32 0.0
.bss 54720 54752 32 0.1
.data 2544 2544 0 0.0
.data.rel.ro 147224 147224 0 0.0
.dynamic 624 624 0 0.0
.got 5088 5088 0 0.0
.init 27 27 0 0.0
.init_array 1072 1072 0 0.0
.rodata 338428 338492 64 0.0
.text 7540403 7540531 128 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2523272 2523272 0 0.0
.bss 219416 219416 0 0.0
.data 5128 5128 0 0.0
.text 1485956 1485956 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1240900 1240900 0 0.0
bss 155466 155466 0 0.0
rodata 143176 143176 0 0.0
text 863236 863236 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1359248 1359248 0 0.0
bss 140932 140932 0 0.0
rodata 137080 137080 0 0.0
text 790528 790528 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1160824 1160824 0 0.0
bss 154836 154836 0 0.0
rodata 113748 113748 0 0.0
text 813300 813300 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 837160 837160 0 0.0
(read/write) 1793916 1793916 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 193628 193628 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2552 2552 0 0.0
.debug_abbrev 1418440 1418423 -17 -0.0
.debug_aranges 145152 145168 16 0.0
.debug_frame 482876 482948 72 0.0
.debug_info 33508685 33509911 1226 0.0
.debug_line 4234069 4234420 351 0.0
.debug_line_str 957 957 0 0.0
.debug_loclists 2304391 2304645 254 0.0
.debug_rnglists 144560 144599 39 0.0
.debug_str 4529452 4529706 254 0.0
.heap 837160 837160 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 850431 850431 0 0.0
.symtab 515376 515376 0 0.0
.text 1589348 1589348 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 839944 839944 0 0.0
(read/write) 1678740 1678740 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 190932 190932 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2464 2464 0 0.0
.debug_abbrev 1290847 1290830 -17 -0.0
.debug_aranges 135016 135032 16 0.0
.debug_frame 454352 454424 72 0.0
.debug_info 29288736 29289962 1226 0.0
.debug_line 3947181 3947532 351 0.0
.debug_line_str 981 981 0 0.0
.debug_loclists 2120060 2120314 254 0.0
.debug_rnglists 133952 133991 39 0.0
.debug_str 3922029 3922283 254 0.0
.heap 839944 839944 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 719966 719966 0 0.0
.symtab 467712 467712 0 0.0
.text 1476956 1476956 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 846280 846280 0 0.0
(read/write) 1607052 1607052 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184708 184708 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2352 2352 0 0.0
.debug_abbrev 1130672 1130655 -17 -0.0
.debug_aranges 125112 125128 16 0.0
.debug_frame 417396 417468 72 0.0
.debug_info 24342795 24344021 1226 0.0
.debug_line 3511618 3511969 351 0.0
.debug_line_str 942 942 0 0.0
.debug_loclists 1956844 1957098 254 0.0
.debug_rnglists 123649 123688 39 0.0
.debug_str 3729272 3729526 254 0.0
.heap 846280 846280 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 637531 637531 0 0.0
.symtab 431248 431248 0 0.0
.text 1411604 1411604 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 818880 818880 0 0.0
(read/write) 1640324 1640324 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 212092 212092 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2368 2368 0 0.0
.debug_abbrev 1121636 1121619 -17 -0.0
.debug_aranges 123920 123936 16 0.0
.debug_frame 413048 413120 72 0.0
.debug_info 24154518 24155744 1226 0.0
.debug_line 3464673 3465024 351 0.0
.debug_line_str 933 933 0 0.0
.debug_loclists 1935363 1935617 254 0.0
.debug_rnglists 121745 121784 39 0.0
.debug_str 3692661 3692915 254 0.0
.heap 818880 818880 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 611606 611606 0 0.0
.symtab 423296 423296 0 0.0
.text 1417476 1417476 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1177900 1177900 0 0.0
.bss 101024 101024 0 0.0
.data 744 744 0 0.0
.text 624744 624744 0 0.0
lock-app qpg6105+debug (read/write) 1135388 1135388 0 0.0
.bss 95744 95744 0 0.0
.data 748 748 0 0.0
.text 582228 582228 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1096064 1096064 0 0.0
bss 108180 108180 0 0.0
text 752066 752066 0 0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 981688 981688 0 0.0
bss 105332 105332 0 0.0
text 673680 673680 0 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 944936 945164 228 0.0
bss 109652 109728 76 0.1
text 647578 647732 154 0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 876892 876892 0 0.0
bss 98696 98696 0 0.0
text 591100 591100 0 0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 923228 923228 0 0.0
bss 99536 99536 0 0.0
text 632786 632786 0 0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 984148 984148 0 0.0
bss 107504 107504 0 0.0
text 687248 687248 0 0.0
lighting-app-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 995512 995512 0 0.0
bss 111752 111752 0 0.0
text 694764 694764 0 0.0
lighting-app-rpc tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1053744 1053744 0 0.0
bss 109076 109076 0 0.0
text 732244 732244 0 0.0
lighting-app-shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1086128 1086128 0 0.0
bss 120412 120412 0 0.0
text 752748 752748 0 0.0
lock-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 934948 934948 0 0.0
bss 99424 99424 0 0.0
text 622228 622228 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 899488 899488 0 0.0
bss 100012 100012 0 0.0
text 612952 612954 2 0.0
pump-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 882308 882308 0 0.0
bss 98828 98828 0 0.0
text 596726 596726 0 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 869448 869448 0 0.0
bss 98628 98628 0 0.0
text 587148 587148 0 0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 745020 745020 0 0.0
bss 97468 97468 0 0.0
text 478820 478820 0 0.0
smoke_co_alarm-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 880384 880384 0 0.0
bss 98816 98816 0 0.0
text 595458 595458 0 0.0
temperature-measurement-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 865628 865628 0 0.0
bss 98536 98536 0 0.0
text 582794 582794 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 890904 890904 0 0.0
bss 98928 98928 0 0.0
text 602876 602876 0 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 886528 886528 0 0.0
bss 99252 99252 0 0.0
text 598200 598200 0 0.0

@plan44
Copy link
Contributor Author

plan44 commented Aug 29, 2023

I now moved the inclusion

Isn't the right fix for af-types.h to include config headers if it depends on config, instead of doing weird header ordering things?

Yes, indeed.

@pullapprove pullapprove bot requested a review from andy31415 August 30, 2023 09:23
@andy31415
Copy link
Contributor

@plan44 this needs then merging to master so I can take a look. Right now the diff shows unrelated files.

@andy31415
Copy link
Contributor

For what its worth, large changes that use https://github.com/project-chip/connectedhomeip/blob/master/src/app/data-model-provider/Provider.h#L45 are already merged so one could potentially build a fully dynamic data model.

However that is somewhat blocked on flash increases as well as difficulty from having the root endpoint populated in a fully code driven fashion.

@plan44 plan44 force-pushed the PR/better-dynamic-ep-support branch from c410a81 to 423b4fd Compare October 11, 2024 19:12
@mergify mergify bot removed the conflict label Oct 11, 2024
@plan44
Copy link
Contributor Author

plan44 commented Oct 11, 2024

@andy31415:

this needs then merging to master so I can take a look.

Done.

Right now the diff shows unrelated files.

Oh, I see the previous version was based on v1.3-branch rather than master, that explains why there were unrelated files…

…ints

Dynamically defined endpoints can now have their own block of storage
(to be provided by the caller of emberAfSetDynamicEndpoint()).

If no storage is set for a dynamic endpoint, it behaves exactly as before,
which is treating all attributes as "external", regardless of the respective
bit in the attribute's metadata.

With a storage provided, attributes behave the same way as static endpoint's
do, that is, only those marked "external" need to be handled programmatically
in the respective callbacks, other attributes' storage is automatic.
Instead of re-creating dynamic endpoint's cluster declarations
using the DECLARE_DYNAMIC_xxx macros, the new
`setupDynamicEndpointDeclaration()` function allows setting
up a dynamic endpoint by using clusters defined in another
endpoint as templates. Usually that is a disabled endpoint created
in ZAP with all possibly dynamically used clusters assigned.

In combination with dynamic endpoint attribute storage, this
greatly simplifies implementing dynamic endpoints and allows
configuring them using the ZAP tool to ensure specs conformance,
much the same way as with statically defined endpoints.
@plan44 plan44 force-pushed the PR/better-dynamic-ep-support branch from 423b4fd to 87259f0 Compare October 11, 2024 19:28
Copy link

github-actions bot commented Oct 11, 2024

PR #28372: Size comparison from d2d06b3 to 87259f0

Full report (82 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section d2d06b3 87259f0 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1349682 1349682 0 0.0
RAM 104120 104120 0 0.0
bl702 lighting-app bl702+eth FLASH 647718 647718 0 0.0
RAM 25233 25233 0 0.0
bl702+wifi FLASH 825204 825204 0 0.0
RAM 13965 13965 0 0.0
bl706+mfd+rpc+littlefs FLASH 1053834 1053834 0 0.0
RAM 23821 23821 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 974974 974974 0 0.0
RAM 16468 16468 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 829492 829492 0 0.0
RAM 123452 123452 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 814832 814832 0 0.0
RAM 125332 125332 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 761396 761396 0 0.0
RAM 113824 113824 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 745624 745624 0 0.0
RAM 114016 114016 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 617154 617154 0 0.0
RAM 205908 205908 0 0.0
lock CC3235SF_LAUNCHXL FLASH 657258 657258 0 0.0
RAM 206060 206060 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 678477 678477 0 0.0
RAM 78668 78668 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 698321 698321 0 0.0
RAM 81300 81300 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 698321 698321 0 0.0
RAM 81300 81300 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 655257 655257 0 0.0
RAM 73736 73736 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 614805 614805 0 0.0
RAM 71628 71628 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 634433 634433 0 0.0
RAM 74180 74180 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 634433 634433 0 0.0
RAM 74180 74180 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 634125 634125 0 0.0
RAM 74676 74676 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 653833 653833 0 0.0
RAM 77228 77228 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 653833 653833 0 0.0
RAM 77228 77228 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 609429 609429 0 0.0
RAM 68764 68764 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 629289 629289 0 0.0
RAM 71396 71396 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 629289 629289 0 0.0
RAM 71396 71396 0 0.0
efr32 lock-app BRD4187C FLASH 924824 924824 0 0.0
RAM 159708 159708 0 0.0
BRD4338a FLASH 741352 741344 -8 -0.0
RAM 231008 231008 0 0.0
window-app BRD4187C FLASH 1018140 1018140 0 0.0
RAM 128052 128052 0 0.0
esp32 all-clusters-app c3devkit DRAM 94248 94248 0 0.0
FLASH 1538700 1538700 0 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115192 115192 0 0.0
FLASH 1549010 1549014 4 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4688 4688 0 0.0
FLASH 2781021 2781175 154 0.0
RAM 129520 129616 96 0.1
all-clusters-app debug unknown 5528 5528 0 0.0
FLASH 6085626 6085810 184 0.0
RAM 514752 514816 64 0.0
all-clusters-minimal-app debug unknown 5424 5424 0 0.0
FLASH 5418300 5418486 186 0.0
RAM 241200 241264 64 0.0
bridge-app debug unknown 5408 5408 0 0.0
FLASH 4751772 4752188 416 0.0
RAM 218384 218544 160 0.1
chip-tool debug unknown 5960 5960 0 0.0
FLASH 12780298 12780330 32 0.0
RAM 567890 567890 0 0.0
chip-tool-ipv6only arm64 unknown 20880 20880 0 0.0
FLASH 11396576 11396576 0 0.0
RAM 618432 618432 0 0.0
fabric-admin debug unknown 5792 5792 0 0.0
FLASH 11091169 11091233 64 0.0
RAM 567578 567578 0 0.0
fabric-bridge-app debug unknown 4632 4632 0 0.0
FLASH 4575402 4575792 390 0.0
RAM 205048 205208 160 0.1
lighting-app debug+rpc+ui unknown 6056 6056 0 0.0
FLASH 5692353 5692513 160 0.0
RAM 228488 228520 32 0.0
lock-app debug unknown 5344 5344 0 0.0
FLASH 4801336 4801522 186 0.0
RAM 204472 204504 32 0.0
ota-provider-app debug unknown 4720 4720 0 0.0
FLASH 4430760 4430914 154 0.0
RAM 198192 198224 32 0.0
ota-requestor-app debug unknown 4656 4656 0 0.0
FLASH 4569574 4569788 214 0.0
RAM 202760 202824 64 0.0
shell debug unknown 4216 4216 0 0.0
FLASH 3111085 3111261 176 0.0
RAM 159280 159376 96 0.1
thermostat-no-ble arm64 unknown 9448 9448 0 0.0
FLASH 4319488 4319616 128 0.0
RAM 242888 242936 48 0.0
tv-app debug unknown 5624 5624 0 0.0
FLASH 6029685 6030085 400 0.0
RAM 588256 588416 160 0.0
tv-casting-app debug unknown 5208 5208 0 0.0
FLASH 10979373 10979549 176 0.0
RAM 656960 656992 32 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 914460 914460 0 0.0
RAM 142359 142359 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 885276 885276 0 0.0
RAM 140498 140498 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 847880 847880 0 0.0
RAM 141261 141261 0 0.0
nxp contact k32w0+release FLASH 582216 582216 0 0.0
RAM 70952 70952 0 0.0
k32w1+release FLASH 597048 597048 0 0.0
RAM 63176 63176 0 0.0
mcxw71+release FLASH 596808 596808 0 0.0
RAM 63176 63176 0 0.0
light k32w0+release FLASH 618732 618732 0 0.0
RAM 70416 70416 0 0.0
k32w1+release FLASH 683040 683040 0 0.0
RAM 48808 48808 0 0.0
mcxw71+release FLASH 683040 683040 0 0.0
RAM 48808 48808 0 0.0
lock k32w1+release FLASH 705408 705408 0 0.0
RAM 67316 67316 0 0.0
mcxw71+release FLASH 705416 705416 0 0.0
RAM 67316 67316 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1646340 1646340 0 0.0
RAM 211400 211400 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1552388 1552388 0 0.0
RAM 208200 208200 0 0.0
light cy8ckit_062s2_43012 FLASH 1467860 1467860 0 0.0
RAM 201200 201200 0 0.0
lock cy8ckit_062s2_43012 FLASH 1464932 1464932 0 0.0
RAM 225560 225560 0 0.0
qpg lighting-app qpg6105+debug FLASH 660528 660528 0 0.0
RAM 105396 105396 0 0.0
lock-app qpg6105+debug FLASH 618548 618548 0 0.0
RAM 99864 99864 0 0.0
stm32 light STM32WB5MM-DK FLASH 481824 481824 0 0.0
RAM 144844 144844 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 620986 620986 0 0.0
RAM 50648 50648 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 688188 688188 0 0.0
RAM 148488 148488 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 781180 781180 0 0.0
RAM 110440 110440 0 0.0
bridge-app tlsr9258a FLASH 681086 681086 0 0.0
RAM 91304 91304 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 620750 620750 0 0.0
RAM 50600 50600 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 708692 708692 0 0.0
RAM 73940 73940 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 625692 625692 0 0.0
RAM 144468 144468 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 811452 811452 0 0.0
RAM 99100 99100 0 0.0
lock-app-dfu tlsr9528a FLASH 656656 656656 0 0.0
RAM 66660 66660 0 0.0
ota-requestor-app tlsr9258a FLASH 697064 697064 0 0.0
RAM 90896 90896 0 0.0
pump-app-usb tlsr9518adk80d FLASH 634384 634384 0 0.0
RAM 55476 55476 0 0.0
pump-controller-app tlsr9518adk80d FLASH 611574 611574 0 0.0
RAM 52720 52720 0 0.0
shell tlsr9518adk80d FLASH 467872 467872 0 0.0
RAM 68168 68168 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 627900 627900 0 0.0
RAM 52320 52320 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 653706 653706 0 0.0
RAM 56268 56268 0 0.0
thermostat tlsr9518adk80d FLASH 638306 638306 0 0.0
RAM 53112 53112 0 0.0
window-covering tlsr9118bdk40d FLASH 524444 524444 0 0.0
RAM 97444 97444 0 0.0
tizen all-clusters-app arm unknown 4904 4904 0 0.0
FLASH 1726772 1726908 136 0.0
RAM 89084 89124 40 0.0
chip-tool-ubsan arm unknown 10528 10528 0 0.0
FLASH 17718602 17718658 56 0.0
RAM 7714800 7714800 0 0.0

@@ -24,6 +24,8 @@
*/

#include "att-storage.h"
#include <platform/CHIPDeviceConfig.h> // For CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT
Copy link
Contributor

Choose a reason for hiding this comment

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

please include an extra dependency on src/platform:platform_buildconfig in https://github.com/project-chip/connectedhomeip/blob/master/src/app/util/BUILD.gn#L58 (so that the dependency is direct rather than indirect)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

tried, but failed:

ERROR at //src/app/util/BUILD.gn:56:1: Dependency not allowed.
source_set("af-types") {
^-----------------------
The item //src/app/util:af-types
can not depend on //src/platform:platform_buildconfig
because it is not in //src/platform:platform_buildconfig's visibility list: [
  //src/platform:platform_config_header
  //src/ble:ble_config_header
  //src/system:system_config_header
]

I don't see enough through the gn complexity to see what would be needed to make it work

Copy link
Contributor

Choose a reason for hiding this comment

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

{
// allocate cluster list
endpointType.clusterCount = static_cast<uint8_t>(templateClusterIds.size());
endpointType.cluster = new EmberAfCluster[endpointType.clusterCount];
Copy link
Contributor

Choose a reason for hiding this comment

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

where is the corresponding delete[] for this new? Please add a comment about lifetime and ownership of these.

Copy link
Contributor

Choose a reason for hiding this comment

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

Also wondering if heap or PlatformNew is the correct path here. Ideally there would be a way to have some std::unique_ptr for auto memory management if we find a way to do that.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There was no matching delete[]. Now I added emberAfResetDynamicEndpointDeclaration as a proper counterpart to emberAfSetupDynamicEndpointDeclaration.

I omitted that initially, because I see no real use case, and the implications of actually getting rid of a dynamic endpoint in the rest of the code seemed so far reaching that it did not seem worthwhile to consider at all.

const Span<const ClusterId> & templateClusterIds)
{
// allocate cluster list
endpointType.clusterCount = static_cast<uint8_t>(templateClusterIds.size());
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add a check that template is smaller than 256 entries?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

return nullptr;
}

CHIP_ERROR setupDynamicEndpointDeclaration(EmberAfEndpointType & endpointType, EndpointId templateEndpointId,
Copy link
Contributor

Choose a reason for hiding this comment

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

This does not seem to ever return anything except CHIP_NO_ERROR (it verifies or dies). Should we change this to return instead of VerifyOrDie? Or alternatively we should make this void and document that it crashes on invalid data or internal failures.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for pointing out. I inititially thought of handling this at runtime, so prepared for returning an error. But later I realized trying to instantiate non-existing clusters means that the app is severely broken and there's no good runtime action one could take.

So I stayed with VerifyOrDie and void and documented that.

// get the actual cluster pointers and sum up memory size
for (size_t i = 0; i < templateClusterIds.size(); i++)
{
auto cluster = getClusterTypeDefinition(templateEndpointId, templateClusterIds.data()[i], 0);
Copy link
Contributor

@andy31415 andy31415 Oct 11, 2024

Choose a reason for hiding this comment

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

Does just operator[] work?

Suggested change
auto cluster = getClusterTypeDefinition(templateEndpointId, templateClusterIds.data()[i], 0);
auto cluster = getClusterTypeDefinition(templateEndpointId, templateClusterIds[i], 0);

Copy link
Contributor

Choose a reason for hiding this comment

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

Needs a comment of what 0 is. If we always pass in the same value to the method call, maybe the parameter should not exist.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

  • []: yes, corrected.
  • the mask parameter is an option for subselecting clusters in the underlying emberAfFindClusterInType, so I kept that option in the new utility function, altough there's no immediate need for having it now.

// metadata including all attributes already exists and can be re-used this way,
// without error prone manual duplicating with DECLARE_DYNAMIC_*
//
CHIP_ERROR setupDynamicEndpointDeclaration(EmberAfEndpointType & endpointType, chip::EndpointId templateEndpointId,
Copy link
Contributor

Choose a reason for hiding this comment

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

public methods should be emberAf prefixed for easy identification (since we are in C land rather than C++ namespaces)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

// instead of duplicating them here once for every instance.
memcpy((void *) &endpointType.cluster[i], cluster, sizeof(EmberAfCluster));
// sum up the needed storage
endpointType.endpointSize = (uint16_t) (endpointType.endpointSize + cluster->clusterSize);
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
endpointType.endpointSize = (uint16_t) (endpointType.endpointSize + cluster->clusterSize);
endpointType.endpointSize += cluster->clusterSize;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Contributor

Choose a reason for hiding this comment

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

Seems not changed. If you cannot use operator+= please at least use C++ static_cast here instead of C-style cast.

Copy link

github-actions bot commented Oct 14, 2024

PR #28372: Size comparison from d2d06b3 to 40c48f2

Increases above 0.2%:

platform target config section d2d06b3 40c48f2 change % change
linux all-clusters-app debug RAM 514752 522976 8224 1.6
chip-tool debug FLASH 12780298 13162288 381990 3.0
RAM 567890 584562 16672 2.9
chip-tool-ipv6only arm64 unknown 20880 21408 528 2.5
FLASH 11396576 11720768 324192 2.8
RAM 618432 635480 17048 2.8
fabric-admin debug FLASH 11091169 11377371 286202 2.6
RAM 567578 584218 16640 2.9
tv-app debug RAM 588256 596576 8320 1.4
tv-casting-app debug FLASH 10979373 11368253 388880 3.5
RAM 656960 675968 19008 2.9
tizen chip-tool-ubsan arm unknown 10528 10792 264 2.5
FLASH 17718602 18327858 609256 3.4
RAM 7714800 7969632 254832 3.3
Full report (82 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section d2d06b3 40c48f2 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1349682 1349682 0 0.0
RAM 104120 104120 0 0.0
bl702 lighting-app bl702+eth FLASH 647718 647742 24 0.0
RAM 25233 25233 0 0.0
bl702+wifi FLASH 825204 825228 24 0.0
RAM 13965 13965 0 0.0
bl706+mfd+rpc+littlefs FLASH 1053834 1053858 24 0.0
RAM 23821 23821 0 0.0
bl702l lighting-app bl702l+mfd+littlefs FLASH 974974 974998 24 0.0
RAM 16468 16468 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 829492 829532 40 0.0
RAM 123452 123452 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 814832 814872 40 0.0
RAM 125332 125332 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 761396 761436 40 0.0
RAM 113824 113824 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 745624 745664 40 0.0
RAM 114016 114016 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 617154 617154 0 0.0
RAM 205908 205908 0 0.0
lock CC3235SF_LAUNCHXL FLASH 657258 657258 0 0.0
RAM 206060 206060 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 678477 678517 40 0.0
RAM 78668 78668 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 698321 698361 40 0.0
RAM 81300 81300 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 698321 698361 40 0.0
RAM 81300 81300 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 655257 655297 40 0.0
RAM 73736 73736 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 614805 614845 40 0.0
RAM 71628 71628 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 634433 634473 40 0.0
RAM 74180 74180 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 634433 634473 40 0.0
RAM 74180 74180 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 634125 634165 40 0.0
RAM 74676 74676 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 653833 653873 40 0.0
RAM 77228 77228 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 653833 653873 40 0.0
RAM 77228 77228 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 609429 609469 40 0.0
RAM 68764 68764 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 629289 629329 40 0.0
RAM 71396 71396 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 629289 629329 40 0.0
RAM 71396 71396 0 0.0
efr32 lock-app BRD4187C FLASH 924824 924856 32 0.0
RAM 159708 159708 0 0.0
BRD4338a FLASH 741352 741344 -8 -0.0
RAM 231008 231008 0 0.0
window-app BRD4187C FLASH 1018140 1018140 0 0.0
RAM 128052 128052 0 0.0
esp32 all-clusters-app c3devkit DRAM 94248 94248 0 0.0
FLASH 1538700 1538720 20 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115192 115192 0 0.0
FLASH 1549010 1549074 64 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4688 4688 0 0.0
FLASH 2781021 2781213 192 0.0
RAM 129520 129616 96 0.1
all-clusters-app debug unknown 5528 5528 0 0.0
FLASH 6085626 6087866 2240 0.0
RAM 514752 522976 8224 1.6
all-clusters-minimal-app debug unknown 5424 5424 0 0.0
FLASH 5418300 5418524 224 0.0
RAM 241200 241264 64 0.0
bridge-app debug unknown 5408 5408 0 0.0
FLASH 4751772 4752216 444 0.0
RAM 218384 218544 160 0.1
chip-tool debug unknown 5960 5960 0 0.0
FLASH 12780298 13162288 381990 3.0
RAM 567890 584562 16672 2.9
chip-tool-ipv6only arm64 unknown 20880 21408 528 2.5
FLASH 11396576 11720768 324192 2.8
RAM 618432 635480 17048 2.8
fabric-admin debug unknown 5792 5792 0 0.0
FLASH 11091169 11377371 286202 2.6
RAM 567578 584218 16640 2.9
fabric-bridge-app debug unknown 4632 4632 0 0.0
FLASH 4575402 4575822 420 0.0
RAM 205048 205208 160 0.1
lighting-app debug+rpc+ui unknown 6056 6056 0 0.0
FLASH 5692353 5692545 192 0.0
RAM 228488 228520 32 0.0
lock-app debug unknown 5344 5344 0 0.0
FLASH 4801336 4801562 226 0.0
RAM 204472 204504 32 0.0
ota-provider-app debug unknown 4720 4720 0 0.0
FLASH 4430760 4430954 194 0.0
RAM 198192 198224 32 0.0
ota-requestor-app debug unknown 4656 4656 0 0.0
FLASH 4569574 4569828 254 0.0
RAM 202760 202824 64 0.0
shell debug unknown 4216 4216 0 0.0
FLASH 3111085 3111309 224 0.0
RAM 159280 159376 96 0.1
thermostat-no-ble arm64 unknown 9448 9448 0 0.0
FLASH 4319488 4319664 176 0.0
RAM 242888 242936 48 0.0
tv-app debug unknown 5624 5624 0 0.0
FLASH 6029685 6032117 2432 0.0
RAM 588256 596576 8320 1.4
tv-casting-app debug unknown 5208 5208 0 0.0
FLASH 10979373 11368253 388880 3.5
RAM 656960 675968 19008 2.9
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 914460 914492 32 0.0
RAM 142359 142359 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 885276 885276 0 0.0
RAM 140498 140498 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 847880 847912 32 0.0
RAM 141261 141261 0 0.0
nxp contact k32w0+release FLASH 582216 582248 32 0.0
RAM 70952 70952 0 0.0
k32w1+release FLASH 597048 597088 40 0.0
RAM 63176 63176 0 0.0
mcxw71+release FLASH 596808 596848 40 0.0
RAM 63176 63176 0 0.0
light k32w0+release FLASH 618732 618764 32 0.0
RAM 70416 70416 0 0.0
k32w1+release FLASH 683040 683080 40 0.0
RAM 48808 48808 0 0.0
mcxw71+release FLASH 683040 683080 40 0.0
RAM 48808 48808 0 0.0
lock k32w1+release FLASH 705408 705448 40 0.0
RAM 67316 67316 0 0.0
mcxw71+release FLASH 705416 705456 40 0.0
RAM 67316 67316 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1646340 1646340 0 0.0
RAM 211400 211400 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1552388 1552388 0 0.0
RAM 208200 208200 0 0.0
light cy8ckit_062s2_43012 FLASH 1467860 1467860 0 0.0
RAM 201200 201200 0 0.0
lock cy8ckit_062s2_43012 FLASH 1464932 1464932 0 0.0
RAM 225560 225560 0 0.0
qpg lighting-app qpg6105+debug FLASH 660528 660560 32 0.0
RAM 105396 105396 0 0.0
lock-app qpg6105+debug FLASH 618548 618580 32 0.0
RAM 99864 99864 0 0.0
stm32 light STM32WB5MM-DK FLASH 481824 481864 40 0.0
RAM 144844 144844 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 620986 620998 12 0.0
RAM 50648 50648 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 688188 688212 24 0.0
RAM 148488 148488 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 781180 781204 24 0.0
RAM 110440 110440 0 0.0
bridge-app tlsr9258a FLASH 681086 681098 12 0.0
RAM 91304 91304 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 620750 620762 12 0.0
RAM 50600 50600 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 708692 708716 24 0.0
RAM 73940 73940 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 625692 625716 24 0.0
RAM 144468 144468 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 811452 811476 24 0.0
RAM 99100 99100 0 0.0
lock-app-dfu tlsr9528a FLASH 656656 656668 12 0.0
RAM 66660 66660 0 0.0
ota-requestor-app tlsr9258a FLASH 697064 697076 12 0.0
RAM 90896 90896 0 0.0
pump-app-usb tlsr9518adk80d FLASH 634384 634408 24 0.0
RAM 55476 55476 0 0.0
pump-controller-app tlsr9518adk80d FLASH 611574 611598 24 0.0
RAM 52720 52720 0 0.0
shell tlsr9518adk80d FLASH 467872 467872 0 0.0
RAM 68168 68168 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 627900 627912 12 0.0
RAM 52320 52320 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 653706 653730 24 0.0
RAM 56268 56268 0 0.0
thermostat tlsr9518adk80d FLASH 638306 638330 24 0.0
RAM 53112 53112 0 0.0
window-covering tlsr9118bdk40d FLASH 524444 524456 12 0.0
RAM 97444 97444 0 0.0
tizen all-clusters-app arm unknown 4904 4904 0 0.0
FLASH 1726772 1726940 168 0.0
RAM 89084 89124 40 0.0
chip-tool-ubsan arm unknown 10528 10792 264 2.5
FLASH 17718602 18327858 609256 3.4
RAM 7714800 7969632 254832 3.3

src/app/util/af-types.h Outdated Show resolved Hide resolved
@@ -261,9 +261,62 @@ uint16_t emberAfGetDynamicIndexFromEndpoint(EndpointId id)
return kEmberInvalidEndpointIndex;
}

namespace {

const EmberAfCluster * getClusterTypeDefinition(EndpointId endpointId, ClusterId clusterId, EmberAfClusterMask mask)
Copy link
Contributor

@andy31415 andy31415 Oct 15, 2024

Choose a reason for hiding this comment

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

This is called in a single place with mask 0.

Please apply YAGNI here and drop the mask parameter, assume mask is always 0 since this is the usage. We should also explain why mask 0 is used here given the above ... if clusters can be both server and client, we seem to not be able to differentiate between them.

Copy link
Contributor

Choose a reason for hiding this comment

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

I am not sure that structure of clusters will be identical between client and server (i.e. attributes may differ).

//
// Note: function may allocate memory for the endpoint declaration.
// Use emberAfResetEndpointDeclaration to properly dispose of an endpoint declaration.
void emberAfSetupDynamicEndpointDeclaration(EmberAfEndpointType & endpointType, chip::EndpointId templateEndpointId,
Copy link
Contributor

Choose a reason for hiding this comment

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

should we make endpointType be verifiable empty so that we avoid memory leaks if I do emberAfSetupDynamicEndpointDeclaration twice on the same endpoint without a reset?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

How could that be done? We'd need a flag differentiating dynamically set up endpoint types from those generated via ZAP/codegen. And as long as EmberAfEndpointType is a simple struct, any members, including a potential flag, are undefined before the endpoint is passed to a initializer function such as emberAfSetupDynamicEndpointDeclaration.

if (!isDynamicEndpoint)
// and dynamic ones with dynamicAttributeStorage assigned.
if (!isDynamicEndpoint
#if CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT > 0
Copy link
Contributor

Choose a reason for hiding this comment

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

how about having hasDynamicAttributeStorage always exist and have a single ifdef (and if the count is 0, then it will always be false? ifdefs inside if clauses are hard to maintain.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My goal was not to cause any code or storage size increase for the (majority) of non-dynamic use cases of this code.

We can of course drop that goal, and remove all the CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT ifdefs. But that would mean even static-only builds would have the dynamicAttributeStorage field (now a span, 2size_t) so a RAM increase of 2size_t*MAX_ENDPOINT_COUNT.

...to allow differentiating server and client sides of the same cluster type
to allow checking that it has sufficient size
more readable attributeLocation calculation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

5 participants