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

Update Door Lock Cluster definitions #12289

Conversation

Morozov-5F
Copy link
Contributor

Problem

Update Door Lock Cluster definitions.

Change overview

  • Moved Door Lock Cluster definitions to the separate XML file and updated them according to the spec. I tried to be as close to the spec as I could hence the command renames.
  • Tweaked the current door lock cluster implementation so it actually builds and runs. There were no functional changes to the Door Lock Plugin yet -- they should be addressed later.
  • Fixed ZAP files that were referencing Door Lock Cluster.
  • Small generator fixes because it was confused by some of the Door Lock Cluster definitions (for example, it did not expect Nullable in the command response arguments).

NOTE: I did not include auto-generated files on purpose because they are constantly changing in the upstream. I would prefer to upload them once the main code review is complete but I can upload then whenever they needed.

Testing

  • Manual testing of the All-Clusters-App with Chip-Tool (both on macOS 12.0.1 and Ubuntu 21.04 on RPI 4 8GB RAM). I've tried to lock/unlock the door, set/get PIN Code and user.
  • Ran tests for Mac (basically ran Darwin CI Workflow locally)
  • Ran through CI in my fork in a separate branch: Actions Report.

@CLAassistant
Copy link

CLAassistant commented Nov 26, 2021

CLA assistant check
All committers have signed the CLA.

@woody-apple
Copy link
Contributor

Fast tracking given this has been in review for a while, and has had enough time for comment.

@woody-apple
Copy link
Contributor

/rebase

@boring-cyborg boring-cyborg bot added the darwin label Dec 2, 2021
@github-actions
Copy link

github-actions bot commented Dec 2, 2021

PR #12289: Size comparison from dc10c82 to fcb676c

Increases (5 builds for esp32, linux, mbed, p6)
platform target config section dc10c823 fcb676c change % change
esp32 all-clusters-app c3devkit (read/write) 1225090 1225170 80 0.0
.dram0.bss 58824 58832 8 0.0
.flash.rodata 166968 167048 80 0.0
m5stack (read/write) 424312 424400 88 0.0
.dram0.bss 64224 64232 8 0.0
.flash.rodata 194808 194888 80 0.0
linux all-clusters-app debug (read/write) 125992 126088 96 0.1
.data.rel.ro 66128 66224 96 0.1
.rodata 145909 146069 160 0.1
mbed all-clusters-app CY8CPROTO_062_4343W+release .bss 181892 181900 8 0.0
p6 all-clusters-app default .bss 110072 110080 8 0.0
Decreases (6 builds for esp32, linux, mbed, p6)
platform target config section dc10c823 fcb676c change % change
esp32 all-clusters-app c3devkit (read only) 839114 837932 -1182 -0.1
.flash.text 839114 837932 -1182 -0.1
m5stack (read only) 910791 909715 -1076 -0.1
.flash.text 905407 904331 -1076 -0.1
linux all-clusters-app debug (read only) 1797065 1789993 -7072 -0.4
.text 1510818 1503538 -7280 -0.5
chip-tool debug (read only) 6528285 6471629 -56656 -0.9
(read/write) 199760 198576 -1184 -0.6
.data.rel.ro 159432 158248 -1184 -0.7
.rodata 304984 303608 -1376 -0.5
.text 5816693 5764005 -52688 -0.9
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2299376 2295944 -3432 -0.1
.heap 849384 849376 -8 -0.0
.text 1261976 1258544 -3432 -0.3
p6 all-clusters-app default (read/write) 2320840 2319480 -1360 -0.1
.heap 920808 920800 -8 -0.0
.text 1279104 1277744 -1360 -0.1
Full report (39 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section dc10c823 fcb676c change % change
efr32 lighting-app BRD4161A (read only) 730064 730064 0 0.0
(read/write) 119660 119660 0 0.0
.bss 117844 117844 0 0.0
.data 1812 1812 0 0.0
.text 730056 730056 0 0.0
BRD4161A+rpc (read only) 758704 758704 0 0.0
(read/write) 137964 137964 0 0.0
.bss 136044 136044 0 0.0
.data 1920 1920 0 0.0
.text 758696 758696 0 0.0
lock-app BRD4161A (read only) 703924 703924 0 0.0
(read/write) 117364 117364 0 0.0
.bss 115596 115596 0 0.0
.data 1768 1768 0 0.0
.text 703916 703916 0 0.0
window-app BRD4161A (read only) 707020 707020 0 0.0
(read/write) 117788 117788 0 0.0
.bss 116012 116012 0 0.0
.data 1776 1776 0 0.0
.text 707012 707012 0 0.0
esp32 all-clusters-app c3devkit (read only) 839114 837932 -1182 -0.1
(read/write) 1225090 1225170 80 0.0
.dram0.bss 58824 58832 8 0.0
.dram0.data 14036 14036 0 0.0
.flash.rodata 166968 167048 80 0.0
.flash.text 839114 837932 -1182 -0.1
.iram0.text 61394 61394 0 0.0
m5stack (read only) 910791 909715 -1076 -0.1
(read/write) 424312 424400 88 0.0
.dram0.bss 64224 64232 8 0.0
.dram0.data 34000 34000 0 0.0
.flash.rodata 194808 194888 80 0.0
.flash.text 905407 904331 -1076 -0.1
.iram0.text 122943 122943 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 727928 727928 0 0.0
.bss 79012 79012 0 0.0
.data 1844 1844 0 0.0
.text 641272 641272 0 0.0
lock-app k32w061+debug (read/write) 616916 616916 0 0.0
.bss 69452 69452 0 0.0
.data 1808 1808 0 0.0
.text 539856 539856 0 0.0
shell k32w061+debug (read/write) 682804 682804 0 0.0
.bss 81108 81108 0 0.0
.data 1780 1780 0 0.0
.text 594116 594116 0 0.0
linux all-clusters-app debug (read only) 1797065 1789993 -7072 -0.4
(read/write) 125992 126088 96 0.1
.bss 53456 53456 0 0.0
.data 1104 1104 0 0.0
.data.rel.ro 66128 66224 96 0.1
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 560 560 0 0.0
.rodata 145909 146069 160 0.1
.text 1510818 1503538 -7280 -0.5
bridge-app debug+rpc (read only) 1367285 1367285 0 0.0
(read/write) 71920 71920 0 0.0
.bss 35440 35440 0 0.0
.data 1680 1680 0 0.0
.data.rel.ro 29792 29792 0 0.0
.dynamic 592 592 0 0.0
.got 3984 3984 0 0.0
.init 27 27 0 0.0
.init_array 408 408 0 0.0
.rodata 118860 118860 0 0.0
.text 1147589 1147589 0 0.0
chip-tool debug (read only) 6528285 6471629 -56656 -0.9
(read/write) 199760 198576 -1184 -0.6
.bss 33736 33736 0 0.0
.data 1008 1008 0 0.0
.data.rel.ro 159432 158248 -1184 -0.7
.dynamic 592 592 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 480 480 0 0.0
.rodata 304984 303608 -1376 -0.5
.text 5816693 5764005 -52688 -0.9
lighting-app debug+rpc (read only) 1651097 1651097 0 0.0
(read/write) 105008 105008 0 0.0
.bss 41136 41136 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 57296 57296 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 536 536 0 0.0
.rodata 138609 138609 0 0.0
.text 1373906 1373906 0 0.0
ota-provider-app debug (read only) 1327881 1327881 0 0.0
(read/write) 70376 70376 0 0.0
.bss 38016 38016 0 0.0
.data 912 912 0 0.0
.data.rel.ro 26328 26328 0 0.0
.dynamic 592 592 0 0.0
.got 4048 4048 0 0.0
.init 27 27 0 0.0
.init_array 448 448 0 0.0
.rodata 120296 120296 0 0.0
.text 1106514 1106514 0 0.0
ota-requestor-app debug (read only) 1427937 1427937 0 0.0
(read/write) 74272 74272 0 0.0
.bss 40128 40128 0 0.0
.data 976 976 0 0.0
.data.rel.ro 28040 28040 0 0.0
.dynamic 592 592 0 0.0
.got 4032 4032 0 0.0
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 132240 132240 0 0.0
.text 1191186 1191186 0 0.0
shell debug (read only) 812841 812841 0 0.0
(read/write) 60264 60264 0 0.0
.bss 16904 16904 0 0.0
.data 240 240 0 0.0
.data.rel.ro 38656 38656 0 0.0
.dynamic 592 592 0 0.0
.got 3504 3504 0 0.0
.init 27 27 0 0.0
.init_array 344 344 0 0.0
.rodata 83506 83506 0 0.0
.text 623250 623250 0 0.0
tv-app debug (read only) 1944817 1944817 0 0.0
(read/write) 314640 314640 0 0.0
.bss 245496 245496 0 0.0
.data 1504 1504 0 0.0
.data.rel.ro 61984 61984 0 0.0
.dynamic 592 592 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 168712 168712 0 0.0
.text 1626946 1626946 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2299376 2295944 -3432 -0.1
.bss 181892 181900 8 0.0
.data 5168 5168 0 0.0
.heap 849384 849376 -8 -0.0
.text 1261976 1258544 -3432 -0.3
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2284104 2284104 0 0.0
.bss 172896 172896 0 0.0
.data 5480 5480 0 0.0
.heap 858072 858072 0 0.0
.text 1246704 1246704 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2257200 2257200 0 0.0
.bss 171712 171712 0 0.0
.data 5480 5480 0 0.0
.heap 859256 859256 0 0.0
.text 1219800 1219800 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1140008 1140008 0 0.0
.bss 11756 11756 0 0.0
.data 4376 4376 0 0.0
.heap 1020312 1020312 0 0.0
.text 103392 103392 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2046576 2046576 0 0.0
.bss 156704 156704 0 0.0
.data 4864 4864 0 0.0
.heap 874880 874880 0 0.0
.text 1009176 1009176 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 880507 880507 0 0.0
bss 113396 113396 0 0.0
rodata 98540 98540 0 0.0
text 593036 593036 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 843883 843883 0 0.0
bss 109744 109744 0 0.0
rodata 89900 89900 0 0.0
text 568032 568032 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 806422 806422 0 0.0
bss 114768 114768 0 0.0
rodata 93800 93800 0 0.0
text 523376 523376 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 851335 851335 0 0.0
bss 110432 110432 0 0.0
rodata 94280 94280 0 0.0
text 571288 571288 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 777518 777518 0 0.0
bss 111844 111844 0 0.0
rodata 89568 89568 0 0.0
text 501720 501720 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497463 497463 0 0.0
bss 51820 51820 0 0.0
rodata 45852 45852 0 0.0
text 339492 339492 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 857379 857379 0 0.0
bss 110568 110568 0 0.0
rodata 96012 96012 0 0.0
text 575356 575356 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 850459 850459 0 0.0
bss 110448 110448 0 0.0
rodata 94148 94148 0 0.0
text 570416 570416 0 0.0
shell nrf52840dk_nrf52840 (read/write) 779903 779903 0 0.0
bss 109696 109696 0 0.0
rodata 73796 73796 0 0.0
text 521924 521924 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 694946 694946 0 0.0
bss 110680 110680 0 0.0
rodata 68436 68436 0 0.0
text 442528 442528 0 0.0
p6 all-clusters-app default (read/write) 2320840 2319480 -1360 -0.1
.bss 110072 110080 8 0.0
.data 2464 2464 0 0.0
.heap 920808 920800 -8 -0.0
.text 1279104 1277744 -1360 -0.1
light-app default (read/write) 2256624 2256624 0 0.0
.bss 98112 98112 0 0.0
.data 2328 2328 0 0.0
.heap 932904 932904 0 0.0
.text 1214888 1214888 0 0.0
lock-app default (read/write) 2231984 2231984 0 0.0
.bss 96768 96768 0 0.0
.data 2288 2288 0 0.0
.heap 934288 934288 0 0.0
.text 1190248 1190248 0 0.0
qpg lighting-app qpg6100+debug (read only) 499800 499800 0 0.0
(read/write) 114140 114140 0 0.0
.bss 79904 79904 0 0.0
.data 948 948 0 0.0
.text 494480 494480 0 0.0
lock-app qpg6100+debug (read only) 472612 472612 0 0.0
(read/write) 114140 114140 0 0.0
.bss 78816 78816 0 0.0
.data 900 900 0 0.0
.text 467292 467292 0 0.0
persistent-storage-app qpg6100+debug (read only) 108208 108208 0 0.0
(read/write) 114140 114140 0 0.0
.bss 36696 36696 0 0.0
.data 292 292 0 0.0
.text 102888 102888 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 782734 782734 0 0.0
bss 79976 79976 0 0.0
noinit 37160 37160 0 0.0
text 543976 543976 0 0.0

@bzbarsky-apple
Copy link
Contributor

/rebase

@Morozov-5F Morozov-5F force-pushed the feature/update-door-lock-cluster-definitions branch from fcb676c to ae791d4 Compare December 2, 2021 21:07
@github-actions
Copy link

github-actions bot commented Dec 2, 2021

PR #12289: Size comparison from b6adaf7 to ae791d4

Increases (5 builds for esp32, linux, mbed, p6)
platform target config section b6adaf7 ae791d4 change % change
esp32 all-clusters-app c3devkit (read/write) 1223666 1223746 80 0.0
.dram0.bss 56520 56528 8 0.0
.flash.rodata 167632 167712 80 0.0
m5stack (read/write) 422644 422732 88 0.0
.dram0.bss 61912 61920 8 0.0
.flash.rodata 195436 195516 80 0.0
linux all-clusters-app debug (read/write) 123904 124000 96 0.1
.data.rel.ro 66816 66912 96 0.1
.rodata 146357 146517 160 0.1
mbed all-clusters-app CY8CPROTO_062_4343W+release .bss 179580 179588 8 0.0
p6 all-clusters-app default .bss 107768 107776 8 0.0
Decreases (6 builds for esp32, linux, mbed, p6)
platform target config section b6adaf7 ae791d4 change % change
esp32 all-clusters-app c3devkit (read only) 847418 846236 -1182 -0.1
.flash.text 847418 846236 -1182 -0.1
m5stack (read only) 917967 916983 -984 -0.1
.flash.text 912583 911599 -984 -0.1
linux all-clusters-app debug (read only) 1837041 1829969 -7072 -0.4
.text 1548882 1541602 -7280 -0.5
chip-tool debug (read only) 6613133 6556477 -56656 -0.9
(read/write) 201744 200560 -1184 -0.6
.data.rel.ro 160824 159640 -1184 -0.7
.rodata 307128 305752 -1376 -0.4
.text 5896373 5843685 -52688 -0.9
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2308768 2305280 -3488 -0.2
.heap 851680 851672 -8 -0.0
.text 1271344 1267856 -3488 -0.3
p6 all-clusters-app default (read/write) 2338672 2337312 -1360 -0.1
.heap 923120 923112 -8 -0.0
.text 1296936 1295576 -1360 -0.1
Full report (39 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section b6adaf7 ae791d4 change % change
efr32 lighting-app BRD4161A (read only) 751432 751432 0 0.0
(read/write) 120008 120008 0 0.0
.bss 118176 118176 0 0.0
.data 1828 1828 0 0.0
.text 751424 751424 0 0.0
BRD4161A+rpc (read only) 780080 780080 0 0.0
(read/write) 138312 138312 0 0.0
.bss 136376 136376 0 0.0
.data 1936 1936 0 0.0
.text 780072 780072 0 0.0
lock-app BRD4161A (read only) 725272 725272 0 0.0
(read/write) 117712 117712 0 0.0
.bss 115928 115928 0 0.0
.data 1784 1784 0 0.0
.text 725264 725264 0 0.0
window-app BRD4161A (read only) 728600 728600 0 0.0
(read/write) 118136 118136 0 0.0
.bss 116344 116344 0 0.0
.data 1792 1792 0 0.0
.text 728592 728592 0 0.0
esp32 all-clusters-app c3devkit (read only) 847418 846236 -1182 -0.1
(read/write) 1223666 1223746 80 0.0
.dram0.bss 56520 56528 8 0.0
.dram0.data 14052 14052 0 0.0
.flash.rodata 167632 167712 80 0.0
.flash.text 847418 846236 -1182 -0.1
.iram0.text 61394 61394 0 0.0
m5stack (read only) 917967 916983 -984 -0.1
(read/write) 422644 422732 88 0.0
.dram0.bss 61912 61920 8 0.0
.dram0.data 34016 34016 0 0.0
.flash.rodata 195436 195516 80 0.0
.flash.text 912583 911599 -984 -0.1
.iram0.text 122943 122943 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 728608 728608 0 0.0
.bss 79280 79280 0 0.0
.data 1860 1860 0 0.0
.text 641668 641668 0 0.0
lock-app k32w061+debug (read/write) 617592 617592 0 0.0
.bss 69720 69720 0 0.0
.data 1824 1824 0 0.0
.text 540248 540248 0 0.0
shell k32w061+debug (read/write) 683460 683460 0 0.0
.bss 81376 81376 0 0.0
.data 1796 1796 0 0.0
.text 594488 594488 0 0.0
linux all-clusters-app debug (read only) 1837041 1829969 -7072 -0.4
(read/write) 123904 124000 96 0.1
.bss 50704 50704 0 0.0
.data 1120 1120 0 0.0
.data.rel.ro 66816 66912 96 0.1
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 552 552 0 0.0
.rodata 146357 146517 160 0.1
.text 1548882 1541602 -7280 -0.5
bridge-app debug+rpc (read only) 1417669 1417669 0 0.0
(read/write) 74032 74032 0 0.0
.bss 36048 36048 0 0.0
.data 1728 1728 0 0.0
.data.rel.ro 31248 31248 0 0.0
.dynamic 592 592 0 0.0
.got 3984 3984 0 0.0
.init 27 27 0 0.0
.init_array 408 408 0 0.0
.rodata 119404 119404 0 0.0
.text 1194261 1194261 0 0.0
chip-tool debug (read only) 6613133 6556477 -56656 -0.9
(read/write) 201744 200560 -1184 -0.6
.bss 34344 34344 0 0.0
.data 1024 1024 0 0.0
.data.rel.ro 160824 159640 -1184 -0.7
.dynamic 592 592 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 480 480 0 0.0
.rodata 307128 305752 -1376 -0.4
.text 5896373 5843685 -52688 -0.9
lighting-app debug+rpc (read only) 1701465 1701465 0 0.0
(read/write) 107088 107088 0 0.0
.bss 41744 41744 0 0.0
.data 1280 1280 0 0.0
.data.rel.ro 58752 58752 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 536 536 0 0.0
.rodata 139185 139185 0 0.0
.text 1420530 1420530 0 0.0
ota-provider-app debug (read only) 1378201 1378201 0 0.0
(read/write) 72264 72264 0 0.0
.bss 38624 38624 0 0.0
.data 928 928 0 0.0
.data.rel.ro 27592 27592 0 0.0
.dynamic 592 592 0 0.0
.got 4048 4048 0 0.0
.init 27 27 0 0.0
.init_array 448 448 0 0.0
.rodata 120680 120680 0 0.0
.text 1153714 1153714 0 0.0
ota-requestor-app debug (read only) 1478225 1478225 0 0.0
(read/write) 76160 76160 0 0.0
.bss 40736 40736 0 0.0
.data 992 992 0 0.0
.data.rel.ro 29304 29304 0 0.0
.dynamic 592 592 0 0.0
.got 4032 4032 0 0.0
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 132592 132592 0 0.0
.text 1238386 1238386 0 0.0
shell debug (read only) 813129 813129 0 0.0
(read/write) 60264 60264 0 0.0
.bss 16904 16904 0 0.0
.data 256 256 0 0.0
.data.rel.ro 38656 38656 0 0.0
.dynamic 592 592 0 0.0
.got 3504 3504 0 0.0
.init 27 27 0 0.0
.init_array 344 344 0 0.0
.rodata 83506 83506 0 0.0
.text 623538 623538 0 0.0
tv-app debug (read only) 1995169 1995169 0 0.0
(read/write) 316760 316760 0 0.0
.bss 246112 246112 0 0.0
.data 1520 1520 0 0.0
.data.rel.ro 63440 63440 0 0.0
.dynamic 592 592 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 169224 169224 0 0.0
.text 1673618 1673618 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2308768 2305280 -3488 -0.2
.bss 179580 179588 8 0.0
.data 5184 5184 0 0.0
.heap 851680 851672 -8 -0.0
.text 1271344 1267856 -3488 -0.3
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2295096 2295096 0 0.0
.bss 173224 173224 0 0.0
.data 5496 5496 0 0.0
.heap 857728 857728 0 0.0
.text 1257696 1257696 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2268128 2268128 0 0.0
.bss 172040 172040 0 0.0
.data 5496 5496 0 0.0
.heap 858912 858912 0 0.0
.text 1230728 1230728 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1140008 1140008 0 0.0
.bss 11756 11756 0 0.0
.data 4376 4376 0 0.0
.heap 1020312 1020312 0 0.0
.text 103392 103392 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2046576 2046576 0 0.0
.bss 156704 156704 0 0.0
.data 4872 4872 0 0.0
.heap 874872 874872 0 0.0
.text 1009176 1009176 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 891323 891323 0 0.0
bss 113728 113728 0 0.0
rodata 99372 99372 0 0.0
text 602684 602684 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 854699 854699 0 0.0
bss 110076 110076 0 0.0
rodata 90732 90732 0 0.0
text 577680 577680 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 817234 817234 0 0.0
bss 115100 115100 0 0.0
rodata 94628 94628 0 0.0
text 533024 533024 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 862179 862179 0 0.0
bss 110764 110764 0 0.0
rodata 95108 95108 0 0.0
text 580936 580936 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 788334 788334 0 0.0
bss 112176 112176 0 0.0
rodata 90400 90400 0 0.0
text 511368 511368 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497463 497463 0 0.0
bss 51820 51820 0 0.0
rodata 45852 45852 0 0.0
text 339492 339492 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 868195 868195 0 0.0
bss 110900 110900 0 0.0
rodata 96844 96844 0 0.0
text 585004 585004 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 861275 861275 0 0.0
bss 110780 110780 0 0.0
rodata 94980 94980 0 0.0
text 580064 580064 0 0.0
shell nrf52840dk_nrf52840 (read/write) 779911 779911 0 0.0
bss 109696 109696 0 0.0
rodata 73796 73796 0 0.0
text 521916 521916 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 694938 694938 0 0.0
bss 110680 110680 0 0.0
rodata 68436 68436 0 0.0
text 442520 442520 0 0.0
p6 all-clusters-app default (read/write) 2338672 2337312 -1360 -0.1
.bss 107768 107776 8 0.0
.data 2456 2456 0 0.0
.heap 923120 923112 -8 -0.0
.text 1296936 1295576 -1360 -0.1
light-app default (read/write) 2278016 2278016 0 0.0
.bss 98452 98452 0 0.0
.data 2336 2336 0 0.0
.heap 932552 932552 0 0.0
.text 1236280 1236280 0 0.0
lock-app default (read/write) 2253368 2253368 0 0.0
.bss 97108 97108 0 0.0
.data 2296 2296 0 0.0
.heap 933936 933936 0 0.0
.text 1211632 1211632 0 0.0
qpg lighting-app qpg6100+debug (read only) 510408 510408 0 0.0
(read/write) 122332 122332 0 0.0
.bss 80240 80240 0 0.0
.data 964 964 0 0.0
.text 505088 505088 0 0.0
lock-app qpg6100+debug (read only) 483232 483232 0 0.0
(read/write) 122332 122332 0 0.0
.bss 79152 79152 0 0.0
.data 916 916 0 0.0
.text 477912 477912 0 0.0
persistent-storage-app qpg6100+debug (read only) 108208 108208 0 0.0
(read/write) 122332 122332 0 0.0
.bss 36696 36696 0 0.0
.data 292 292 0 0.0
.text 102888 102888 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 794430 794430 0 0.0
bss 80304 80304 0 0.0
noinit 37160 37160 0 0.0
text 554474 554474 0 0.0

@github-actions
Copy link

github-actions bot commented Dec 3, 2021

PR #12289: Size comparison from 70af2c4 to b61bb8c

Increases (5 builds for esp32, linux, mbed, p6)
platform target config section 70af2c4 b61bb8c change % change
esp32 all-clusters-app c3devkit (read/write) 1224026 1224122 96 0.0
.dram0.bss 56576 56584 8 0.0
.flash.rodata 167944 168024 80 0.0
m5stack (read/write) 422996 423084 88 0.0
.dram0.bss 61960 61968 8 0.0
.flash.rodata 195740 195820 80 0.0
linux all-clusters-app debug (read/write) 124520 124616 96 0.1
.data.rel.ro 67088 67184 96 0.1
.rodata 148725 148917 192 0.1
mbed all-clusters-app CY8CPROTO_062_4343W+release .bss 179636 179644 8 0.0
p6 all-clusters-app default .bss 107820 107828 8 0.0
Decreases (6 builds for esp32, linux, mbed, p6)
platform target config section 70af2c4 b61bb8c change % change
esp32 all-clusters-app c3devkit (read only) 847956 846774 -1182 -0.1
.flash.text 847956 846774 -1182 -0.1
m5stack (read only) 918355 917295 -1060 -0.1
.flash.text 912971 911911 -1060 -0.1
linux all-clusters-app debug (read only) 1848689 1841665 -7024 -0.4
.text 1557074 1549810 -7264 -0.5
chip-tool debug (read only) 6684229 6627557 -56672 -0.8
(read/write) 202376 201192 -1184 -0.6
.data.rel.ro 161208 160024 -1184 -0.7
.rodata 308504 307096 -1408 -0.5
.text 5964965 5912293 -52672 -0.9
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2309544 2306048 -3496 -0.2
.heap 851624 851616 -8 -0.0
.text 1272120 1268624 -3496 -0.3
p6 all-clusters-app default (read/write) 2339800 2338456 -1344 -0.1
.heap 923064 923056 -8 -0.0
.text 1298064 1296720 -1344 -0.1
Full report (39 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 70af2c4 b61bb8c change % change
efr32 lighting-app BRD4161A (read only) 751848 751848 0 0.0
(read/write) 120032 120032 0 0.0
.bss 118200 118200 0 0.0
.data 1828 1828 0 0.0
.text 751840 751840 0 0.0
BRD4161A+rpc (read only) 780512 780512 0 0.0
(read/write) 138336 138336 0 0.0
.bss 136400 136400 0 0.0
.data 1936 1936 0 0.0
.text 780504 780504 0 0.0
lock-app BRD4161A (read only) 725704 725704 0 0.0
(read/write) 117736 117736 0 0.0
.bss 115952 115952 0 0.0
.data 1784 1784 0 0.0
.text 725696 725696 0 0.0
window-app BRD4161A (read only) 729016 729016 0 0.0
(read/write) 118168 118168 0 0.0
.bss 116376 116376 0 0.0
.data 1792 1792 0 0.0
.text 729008 729008 0 0.0
esp32 all-clusters-app c3devkit (read only) 847956 846774 -1182 -0.1
(read/write) 1224026 1224122 96 0.0
.dram0.bss 56576 56584 8 0.0
.dram0.data 14052 14052 0 0.0
.flash.rodata 167944 168024 80 0.0
.flash.text 847956 846774 -1182 -0.1
.iram0.text 61394 61394 0 0.0
m5stack (read only) 918355 917295 -1060 -0.1
(read/write) 422996 423084 88 0.0
.dram0.bss 61960 61968 8 0.0
.dram0.data 34016 34016 0 0.0
.flash.rodata 195740 195820 80 0.0
.flash.text 912971 911911 -1060 -0.1
.iram0.text 122943 122943 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 728748 728748 0 0.0
.bss 79312 79312 0 0.0
.data 1860 1860 0 0.0
.text 641776 641776 0 0.0
lock-app k32w061+debug (read/write) 617700 617700 0 0.0
.bss 69752 69752 0 0.0
.data 1824 1824 0 0.0
.text 540324 540324 0 0.0
shell k32w061+debug (read/write) 683608 683608 0 0.0
.bss 81400 81400 0 0.0
.data 1796 1796 0 0.0
.text 594612 594612 0 0.0
linux all-clusters-app debug (read only) 1848689 1841665 -7024 -0.4
(read/write) 124520 124616 96 0.1
.bss 50896 50896 0 0.0
.data 1120 1120 0 0.0
.data.rel.ro 67088 67184 96 0.1
.dynamic 592 592 0 0.0
.got 4120 4120 0 0.0
.init 27 27 0 0.0
.init_array 688 688 0 0.0
.rodata 148725 148917 192 0.1
.text 1557074 1549810 -7264 -0.5
bridge-app debug+rpc (read only) 1426837 1426837 0 0.0
(read/write) 74616 74616 0 0.0
.bss 36240 36240 0 0.0
.data 1728 1728 0 0.0
.data.rel.ro 31560 31560 0 0.0
.dynamic 592 592 0 0.0
.got 3992 3992 0 0.0
.init 27 27 0 0.0
.init_array 480 480 0 0.0
.rodata 120844 120844 0 0.0
.text 1201093 1201093 0 0.0
chip-tool debug (read only) 6684229 6627557 -56672 -0.8
(read/write) 202376 201192 -1184 -0.6
.bss 34504 34504 0 0.0
.data 1024 1024 0 0.0
.data.rel.ro 161208 160024 -1184 -0.7
.dynamic 592 592 0 0.0
.got 4472 4472 0 0.0
.init 27 27 0 0.0
.init_array 568 568 0 0.0
.rodata 308504 307096 -1408 -0.5
.text 5964965 5912293 -52672 -0.9
lighting-app debug+rpc (read only) 1711985 1711985 0 0.0
(read/write) 107648 107648 0 0.0
.bss 41936 41936 0 0.0
.data 1280 1280 0 0.0
.data.rel.ro 59056 59056 0 0.0
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 141521 141521 0 0.0
.text 1427794 1427794 0 0.0
ota-provider-app debug (read only) 1386889 1386889 0 0.0
(read/write) 72816 72816 0 0.0
.bss 38816 38816 0 0.0
.data 928 928 0 0.0
.data.rel.ro 27880 27880 0 0.0
.dynamic 592 592 0 0.0
.got 4056 4056 0 0.0
.init 27 27 0 0.0
.init_array 520 520 0 0.0
.rodata 121608 121608 0 0.0
.text 1160594 1160594 0 0.0
ota-requestor-app debug (read only) 1493337 1493337 0 0.0
(read/write) 76784 76784 0 0.0
.bss 40960 40960 0 0.0
.data 992 992 0 0.0
.data.rel.ro 29592 29592 0 0.0
.dynamic 592 592 0 0.0
.got 4072 4072 0 0.0
.init 27 27 0 0.0
.init_array 552 552 0 0.0
.rodata 134096 134096 0 0.0
.text 1250546 1250546 0 0.0
shell debug (read only) 819625 819625 0 0.0
(read/write) 60584 60584 0 0.0
.bss 16936 16936 0 0.0
.data 256 256 0 0.0
.data.rel.ro 38936 38936 0 0.0
.dynamic 592 592 0 0.0
.got 3512 3512 0 0.0
.init 27 27 0 0.0
.init_array 344 344 0 0.0
.rodata 83570 83570 0 0.0
.text 629314 629314 0 0.0
tv-app debug (read only) 2022841 2022841 0 0.0
(read/write) 320000 320000 0 0.0
.bss 247224 247224 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 64200 64200 0 0.0
.dynamic 592 592 0 0.0
.got 4432 4432 0 0.0
.init 27 27 0 0.0
.init_array 736 736 0 0.0
.rodata 173960 173960 0 0.0
.text 1694402 1694402 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2309544 2306048 -3496 -0.2
.bss 179636 179644 8 0.0
.data 5184 5184 0 0.0
.heap 851624 851616 -8 -0.0
.text 1272120 1268624 -3496 -0.3
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2295872 2295872 0 0.0
.bss 173272 173272 0 0.0
.data 5496 5496 0 0.0
.heap 857680 857680 0 0.0
.text 1258472 1258472 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2268904 2268904 0 0.0
.bss 172088 172088 0 0.0
.data 5496 5496 0 0.0
.heap 858864 858864 0 0.0
.text 1231504 1231504 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1140008 1140008 0 0.0
.bss 11756 11756 0 0.0
.data 4376 4376 0 0.0
.heap 1020312 1020312 0 0.0
.text 103392 103392 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2046960 2046960 0 0.0
.bss 156732 156732 0 0.0
.data 4872 4872 0 0.0
.heap 874840 874840 0 0.0
.text 1009560 1009560 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 891767 891767 0 0.0
bss 113756 113756 0 0.0
rodata 99608 99608 0 0.0
text 602860 602860 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 855143 855143 0 0.0
bss 110104 110104 0 0.0
rodata 90968 90968 0 0.0
text 577856 577856 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 817678 817678 0 0.0
bss 115128 115128 0 0.0
rodata 94864 94864 0 0.0
text 533196 533196 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 862591 862591 0 0.0
bss 110792 110792 0 0.0
rodata 95344 95344 0 0.0
text 581080 581080 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 788746 788746 0 0.0
bss 112204 112204 0 0.0
rodata 90636 90636 0 0.0
text 511508 511508 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497463 497463 0 0.0
bss 51820 51820 0 0.0
rodata 45852 45852 0 0.0
text 339492 339492 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 868607 868607 0 0.0
bss 110928 110928 0 0.0
rodata 97080 97080 0 0.0
text 585144 585144 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 861671 861671 0 0.0
bss 110808 110808 0 0.0
rodata 95216 95216 0 0.0
text 580204 580204 0 0.0
shell nrf52840dk_nrf52840 (read/write) 779891 779891 0 0.0
bss 109696 109696 0 0.0
rodata 73792 73792 0 0.0
text 521908 521908 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 694934 694934 0 0.0
bss 110680 110680 0 0.0
rodata 68432 68432 0 0.0
text 442512 442512 0 0.0
p6 all-clusters-app default (read/write) 2339800 2338456 -1344 -0.1
.bss 107820 107828 8 0.0
.data 2456 2456 0 0.0
.heap 923064 923056 -8 -0.0
.text 1298064 1296720 -1344 -0.1
light-app default (read/write) 2279168 2279168 0 0.0
.bss 98504 98504 0 0.0
.data 2336 2336 0 0.0
.heap 932504 932504 0 0.0
.text 1237432 1237432 0 0.0
lock-app default (read/write) 2254504 2254504 0 0.0
.bss 97160 97160 0 0.0
.data 2296 2296 0 0.0
.heap 933888 933888 0 0.0
.text 1212768 1212768 0 0.0
qpg lighting-app qpg6100+debug (read only) 510540 510540 0 0.0
(read/write) 122332 122332 0 0.0
.bss 80272 80272 0 0.0
.data 964 964 0 0.0
.text 505220 505220 0 0.0
lock-app qpg6100+debug (read only) 483308 483308 0 0.0
(read/write) 122332 122332 0 0.0
.bss 79184 79184 0 0.0
.data 916 916 0 0.0
.text 477988 477988 0 0.0
persistent-storage-app qpg6100+debug (read only) 108208 108208 0 0.0
(read/write) 122332 122332 0 0.0
.bss 36696 36696 0 0.0
.data 292 292 0 0.0
.text 102888 102888 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 794862 794862 0 0.0
bss 80332 80332 0 0.0
noinit 37160 37160 0 0.0
text 554638 554638 0 0.0

@woody-apple
Copy link
Contributor

Fast tracking this given this has been in review for > 3 days

@woody-apple woody-apple merged commit 8cf0439 into project-chip:master Dec 3, 2021
billwatersiii pushed a commit to billwatersiii/connectedhomeip that referenced this pull request Dec 3, 2021
* Add new cluster definition for a door lock

* Remove door lock cluster definition from silabs XML
- It was moved into matter data model directory

* Update zap files for all the examples to reflect door lock changes

* Tweak the door lock cluster so it uses new definitions

* Fix java ZAP templates to support nullables and bitmaps

* Fix style issues

* Use proper types in the attribute definitions of the Door Lock Cluster

* Update auto-generated files
@Morozov-5F Morozov-5F deleted the feature/update-door-lock-cluster-definitions branch December 8, 2021 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants