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/Add Level control features based on lastest cluster revision #13338

Merged
merged 15 commits into from
Jan 14, 2022

Conversation

jmartinez-silabs
Copy link
Member

Problem

Some level control lighting behaviours were disable by ember and zll non existant defines

Change overview

  • Add runtime attribute metadata checks to validate that the needed attributes exist for that feature. Replace the #ifdef gates to compile that code by default, but still allow toggling it off by defining the right IGNORE_LEVEL_CONTROL_XXX defines
  • Enable Feature map for level control and update cluster revision
  • Fix min and max Level usage considering enabled attributes and level control feature map
  • Add behaviour tied with lighting and on off commands
  • Enable in the level control tests cluster revision and featuremap and update values
  • Change current level and Start up current level to NVM storage to support the startup Level functionnality.
  • Update yaml level control test to support both lighting vs other device type minimal Level values.

*** This PR a redo of my stale/closed PR during the holidays. #13133
In this new one, I applied last PR comments. Rebased, fixed some conflicts and used the new attribute isNonVolatile api instead of the old isTokenized.

Fixes #13168

Testing

Test suite TC_LVL_1_1 to 5_1

Manual testing with chip-tool and lighting app on efr32

@github-actions
Copy link

github-actions bot commented Jan 13, 2022

PR #13338: Size comparison from 536eb42 to a1ee947

Increases above 0.2%:

platform target config section 536eb42 a1ee947 change % change
efr32 lighting-app BRD4161A (read only) 832820 834972 2152 0.3
.text 832812 834964 2152 0.3
BRD4161A+rpc (read only) 820224 822368 2144 0.3
.text 820216 822360 2144 0.3
p6 all-clusters-app default .data 2592 2600 8 0.3
qpg lighting-app qpg6105+debug (read only) 562040 564064 2024 0.4
.data 1044 1048 4 0.4
.text 556720 558744 2024 0.4
telink lighting-app tlsr9518adk80d (read/write) 838494 840834 2340 0.3
text 585654 587812 2158 0.4
Increases (10 builds for efr32, k32w, linux, p6, qpg, telink)
platform target config section 536eb42 a1ee947 change % change
efr32 lighting-app BRD4161A (read only) 832820 834972 2152 0.3
.text 832812 834964 2152 0.3
BRD4161A+rpc (read only) 820224 822368 2144 0.3
.text 820216 822360 2144 0.3
k32w lock k32w061+release (read/write) 661660 661868 208 0.0
.text 576556 576764 208 0.0
linux chip-tool-ipv6only arm64 (read only) 8024884 8028068 3184 0.0
(read/write) 370241 370385 144 0.0
.data.rel.ro 245760 245856 96 0.0
.got 64472 64520 48 0.1
.rodata 417772 417916 144 0.0
.text 6819220 6821924 2704 0.0
p6 all-clusters-app default (read/write) 2401608 2403656 2048 0.1
.bss 117484 117492 8 0.0
.data 2592 2600 8 0.3
.text 1359872 1361920 2048 0.2
light-app default (read/write) 2327600 2329744 2144 0.1
.text 1285864 1288008 2144 0.2
lock-app default (read/write) 2298512 2298768 256 0.0
.text 1256776 1257032 256 0.0
qpg lighting-app qpg6105+debug (read only) 562040 564064 2024 0.4
(read/write) 146936 146940 4 0.0
.bss 89952 89960 8 0.0
.data 1044 1048 4 0.4
.text 556720 558744 2024 0.4
lock-app qpg6105+debug (read only) 515356 515564 208 0.0
.text 510036 510244 208 0.0
telink lighting-app tlsr9518adk80d (read/write) 838494 840834 2340 0.3
bss 87312 87316 4 0.0
text 585654 587812 2158 0.4
Full report (14 builds for efr32, k32w, linux, p6, qpg, telink)
platform target config section 536eb42 a1ee947 change % change
efr32 lighting-app BRD4161A (read only) 832820 834972 2152 0.3
(read/write) 127628 127628 0 0.0
.bss 125744 125744 0 0.0
.data 1884 1884 0 0.0
.text 832812 834964 2152 0.3
BRD4161A+rpc (read only) 820224 822368 2144 0.3
(read/write) 144288 144288 0 0.0
.bss 142304 142304 0 0.0
.data 1984 1984 0 0.0
.text 820216 822360 2144 0.3
window-app BRD4161A (read only) 805448 805448 0 0.0
(read/write) 126320 126320 0 0.0
.bss 124480 124480 0 0.0
.data 1836 1836 0 0.0
.text 805440 805440 0 0.0
k32w light k32w061+release (read/write) 657944 657944 0 0.0
.bss 77136 77136 0 0.0
.data 1852 1852 0 0.0
.text 573156 573156 0 0.0
lock k32w061+release (read/write) 661660 661868 208 0.0
.bss 77432 77432 0 0.0
.data 1872 1872 0 0.0
.text 576556 576764 208 0.0
linux chip-tool-ipv6only arm64 (read only) 8024884 8028068 3184 0.0
(read/write) 370241 370385 144 0.0
.bss 55217 55217 0 0.0
.data 1096 1096 0 0.0
.data.rel.ro 245760 245856 96 0.0
.dynamic 560 560 0 0.0
.got 64472 64520 48 0.1
.init 24 24 0 0.0
.init_array 168 168 0 0.0
.rodata 417772 417916 144 0.0
.text 6819220 6821924 2704 0.0
thermostat-no-ble arm64 (read only) 2042140 2042140 0 0.0
(read/write) 145969 145969 0 0.0
.bss 65089 65089 0 0.0
.data 880 880 0 0.0
.data.rel.ro 73016 73016 0 0.0
.dynamic 560 560 0 0.0
.got 4048 4048 0 0.0
.init 24 24 0 0.0
.init_array 304 304 0 0.0
.rodata 129868 129868 0 0.0
.text 1697680 1697680 0 0.0
p6 all-clusters-app default (read/write) 2401608 2403656 2048 0.1
.bss 117484 117492 8 0.0
.data 2592 2600 8 0.3
.text 1359872 1361920 2048 0.2
light-app default (read/write) 2327600 2329744 2144 0.1
.bss 106064 106064 0 0.0
.data 2392 2392 0 0.0
.text 1285864 1288008 2144 0.2
lock-app default (read/write) 2298512 2298768 256 0.0
.bss 104920 104920 0 0.0
.data 2344 2344 0 0.0
.text 1256776 1257032 256 0.0
qpg lighting-app qpg6105+debug (read only) 562040 564064 2024 0.4
(read/write) 146936 146940 4 0.0
.bss 89952 89960 8 0.0
.data 1044 1048 4 0.4
.text 556720 558744 2024 0.4
lock-app qpg6105+debug (read only) 515356 515564 208 0.0
(read/write) 146936 146936 0 0.0
.bss 88584 88584 0 0.0
.data 972 972 0 0.0
.text 510036 510244 208 0.0
persistent-storage-app qpg6105+debug (read only) 106848 106848 0 0.0
(read/write) 146940 146940 0 0.0
.bss 38512 38512 0 0.0
.data 288 288 0 0.0
.text 101528 101528 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 838494 840834 2340 0.3
bss 87312 87316 4 0.0
noinit 37160 37160 0 0.0
text 585654 587812 2158 0.4

…unused defines. Add runtime attribute metadata checks to validate that the need attributes exist for that code. Replace the #ifdef gates to compiled that code by default but still allow toggling it off by defining the right IGNORE_LEVEL_CONTROL_XXX defines

Fix min and max Level usage and consideing the attributes and featuremap. add behaviour tied with lighting

Enable Feature map for level control and update cluster revision
…h level controll ligthing feature

Set max Level to 254 for all

Set CurrentLevel And StatUpCurrentLevel to NVM storage to support Start up current level behaviour

Change current level and Start up current level to NVM storage for the startup functionnality. Update yaml lvl control test support lighting device using a minimum level of 1 instead of 0

add level control effect on off commmands
rebase and regen, fix conflicts and error
…storage in init callbacks. Rework Levelcontrol StartupCurrentLevel. Workaround zap can't generate default value to null. Use 255 for StartupCurrentLevel
…not match those new feature from this PR. Fix that
… get delayed in Darwin test and reads the value too soon
@github-actions
Copy link

github-actions bot commented Jan 14, 2022

PR #13338: Size comparison from 1feadcf to 4c4a0ad

Increases above 0.2%:

platform target config section 1feadcf 4c4a0ad change % change
efr32 lighting-app BRD4161A (read only) 832764 834884 2120 0.3
.text 832756 834876 2120 0.3
BRD4161A+rpc (read only) 820168 822296 2128 0.3
.text 820160 822288 2128 0.3
esp32 all-clusters-app c3devkit (read only) 910034 912138 2104 0.2
.flash.text 910034 912138 2104 0.2
p6 all-clusters-app default .data 2592 2600 8 0.3
qpg lighting-app qpg6105+debug (read only) 561976 563984 2008 0.4
.data 1044 1048 4 0.4
.text 556656 558664 2008 0.4
telink lighting-app tlsr9518adk80d (read/write) 838462 840802 2340 0.3
text 585618 587772 2154 0.4
Increases (15 builds for efr32, esp32, k32w, linux, mbed, p6, qpg, telink)
platform target config section 1feadcf 4c4a0ad change % change
efr32 lighting-app BRD4161A (read only) 832764 834884 2120 0.3
.text 832756 834876 2120 0.3
BRD4161A+rpc (read only) 820168 822296 2128 0.3
.text 820160 822288 2128 0.3
esp32 all-clusters-app c3devkit (read only) 910034 912138 2104 0.2
(read/write) 1316506 1316682 176 0.0
.dram0.bss 70504 70520 16 0.0
.flash.rodata 178224 178384 160 0.1
.flash.text 910034 912138 2104 0.2
m5stack (read only) 959027 960887 1860 0.2
(read/write) 448672 448840 168 0.0
.flash.rodata 207504 207672 168 0.1
.flash.text 953643 955503 1860 0.2
k32w lock k32w061+release (read/write) 661604 661796 192 0.0
.text 576500 576692 192 0.0
linux chip-tool-ipv6only arm64 (read only) 8038420 8041588 3168 0.0
(read/write) 370497 370641 144 0.0
.data.rel.ro 245760 245856 96 0.0
.got 64728 64776 48 0.1
.rodata 419196 419324 128 0.0
.text 6830564 6833268 2704 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2347832 2349792 1960 0.1
.bss 189204 189220 16 0.0
.text 1310408 1312368 1960 0.1
lighting-app CY8CPROTO_062_4343W+release (read/write) 2332416 2334376 1960 0.1
.bss 180752 180760 8 0.0
.data 5560 5568 8 0.1
.text 1295016 1296976 1960 0.2
lock-app CY8CPROTO_062_4343W+release (read/write) 2304536 2304792 256 0.0
.text 1267136 1267392 256 0.0
p6 all-clusters-app default (read/write) 2402304 2404352 2048 0.1
.bss 117484 117492 8 0.0
.data 2592 2600 8 0.3
.text 1360568 1362616 2048 0.2
light-app default (read/write) 2327544 2329656 2112 0.1
.text 1285808 1287920 2112 0.2
lock-app default (read/write) 2298456 2298696 240 0.0
.text 1256720 1256960 240 0.0
qpg lighting-app qpg6105+debug (read only) 561976 563984 2008 0.4
(read/write) 146936 146940 4 0.0
.bss 89952 89960 8 0.0
.data 1044 1048 4 0.4
.text 556656 558664 2008 0.4
lock-app qpg6105+debug (read only) 515292 515484 192 0.0
.text 509972 510164 192 0.0
telink lighting-app tlsr9518adk80d (read/write) 838462 840802 2340 0.3
bss 87312 87316 4 0.0
text 585618 587772 2154 0.4
Full report (21 builds for efr32, esp32, k32w, linux, mbed, p6, qpg, telink)
platform target config section 1feadcf 4c4a0ad change % change
efr32 lighting-app BRD4161A (read only) 832764 834884 2120 0.3
(read/write) 127628 127628 0 0.0
.bss 125744 125744 0 0.0
.data 1884 1884 0 0.0
.text 832756 834876 2120 0.3
BRD4161A+rpc (read only) 820168 822296 2128 0.3
(read/write) 144288 144288 0 0.0
.bss 142304 142304 0 0.0
.data 1984 1984 0 0.0
.text 820160 822288 2128 0.3
window-app BRD4161A (read only) 805424 805424 0 0.0
(read/write) 126320 126320 0 0.0
.bss 124480 124480 0 0.0
.data 1836 1836 0 0.0
.text 805416 805416 0 0.0
esp32 all-clusters-app c3devkit (read only) 910034 912138 2104 0.2
(read/write) 1316506 1316682 176 0.0
.dram0.bss 70504 70520 16 0.0
.dram0.data 14284 14284 0 0.0
.flash.rodata 178224 178384 160 0.1
.flash.text 910034 912138 2104 0.2
.iram0.text 62056 62056 0 0.0
m5stack (read only) 959027 960887 1860 0.2
(read/write) 448672 448840 168 0.0
.dram0.bss 74976 74976 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 207504 207672 168 0.1
.flash.text 953643 955503 1860 0.2
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 657920 657920 0 0.0
.bss 77136 77136 0 0.0
.data 1852 1852 0 0.0
.text 573132 573132 0 0.0
lock k32w061+release (read/write) 661604 661796 192 0.0
.bss 77432 77432 0 0.0
.data 1872 1872 0 0.0
.text 576500 576692 192 0.0
linux chip-tool-ipv6only arm64 (read only) 8038420 8041588 3168 0.0
(read/write) 370497 370641 144 0.0
.bss 55217 55217 0 0.0
.data 1096 1096 0 0.0
.data.rel.ro 245760 245856 96 0.0
.dynamic 560 560 0 0.0
.got 64728 64776 48 0.1
.init 24 24 0 0.0
.init_array 168 168 0 0.0
.rodata 419196 419324 128 0.0
.text 6830564 6833268 2704 0.0
thermostat-no-ble arm64 (read only) 2041980 2041980 0 0.0
(read/write) 145969 145969 0 0.0
.bss 65089 65089 0 0.0
.data 880 880 0 0.0
.data.rel.ro 73016 73016 0 0.0
.dynamic 560 560 0 0.0
.got 4048 4048 0 0.0
.init 24 24 0 0.0
.init_array 304 304 0 0.0
.rodata 129884 129884 0 0.0
.text 1697504 1697504 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2347832 2349792 1960 0.1
.bss 189204 189220 16 0.0
.data 5320 5320 0 0.0
.text 1310408 1312368 1960 0.1
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2332416 2334376 1960 0.1
.bss 180752 180760 8 0.0
.data 5560 5568 8 0.1
.text 1295016 1296976 1960 0.2
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2304536 2304792 256 0.0
.bss 179768 179768 0 0.0
.data 5544 5544 0 0.0
.text 1267136 1267392 256 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139712 1139712 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.text 103096 103096 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2054464 2054464 0 0.0
.bss 156876 156876 0 0.0
.data 4864 4864 0 0.0
.text 1017064 1017064 0 0.0
p6 all-clusters-app default (read/write) 2402304 2404352 2048 0.1
.bss 117484 117492 8 0.0
.data 2592 2600 8 0.3
.text 1360568 1362616 2048 0.2
light-app default (read/write) 2327544 2329656 2112 0.1
.bss 106064 106064 0 0.0
.data 2392 2392 0 0.0
.text 1285808 1287920 2112 0.2
lock-app default (read/write) 2298456 2298696 240 0.0
.bss 104920 104920 0 0.0
.data 2344 2344 0 0.0
.text 1256720 1256960 240 0.0
qpg lighting-app qpg6105+debug (read only) 561976 563984 2008 0.4
(read/write) 146936 146940 4 0.0
.bss 89952 89960 8 0.0
.data 1044 1048 4 0.4
.text 556656 558664 2008 0.4
lock-app qpg6105+debug (read only) 515292 515484 192 0.0
(read/write) 146936 146936 0 0.0
.bss 88584 88584 0 0.0
.data 972 972 0 0.0
.text 509972 510164 192 0.0
persistent-storage-app qpg6105+debug (read only) 106848 106848 0 0.0
(read/write) 146940 146940 0 0.0
.bss 38512 38512 0 0.0
.data 288 288 0 0.0
.text 101528 101528 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 838462 840802 2340 0.3
bss 87312 87316 4 0.0
noinit 37160 37160 0 0.0
text 585618 587772 2154 0.4

@github-actions
Copy link

github-actions bot commented Jan 14, 2022

PR #13338: Size comparison from 1feadcf to 628dbf7

Increases above 0.2%:

platform target config section 1feadcf 628dbf7 change % change
efr32 lighting-app BRD4161A (read only) 832764 834868 2104 0.3
.text 832756 834860 2104 0.3
BRD4161A+rpc (read only) 820168 822264 2096 0.3
.text 820160 822256 2096 0.3
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 941447 943387 1940 0.2
text 635576 637352 1776 0.3
nrf52840dk_nrf52840+rpc (read/write) 926911 928851 1940 0.2
text 630968 632744 1776 0.3
nrf52840dongle_nrf52840 text 667772 669548 1776 0.3
nrf5340dk_nrf5340_cpuapp (read/write) 851270 853210 1940 0.2
text 552492 554276 1784 0.3
pump-app nrf52840dk_nrf52840 text 613996 615452 1456 0.2
p6 all-clusters-app default .data 2592 2600 8 0.3
qpg lighting-app qpg6105+debug (read only) 561976 563952 1976 0.4
.data 1044 1048 4 0.4
.text 556656 558632 1976 0.4
telink lighting-app tlsr9518adk80d (read/write) 838462 840770 2308 0.3
text 585618 587738 2120 0.4
Increases (22 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 1feadcf 628dbf7 change % change
efr32 lighting-app BRD4161A (read only) 832764 834868 2104 0.3
.text 832756 834860 2104 0.3
BRD4161A+rpc (read only) 820168 822264 2096 0.3
.text 820160 822256 2096 0.3
esp32 all-clusters-app c3devkit (read only) 910034 912104 2070 0.2
(read/write) 1316506 1316682 176 0.0
.dram0.bss 70504 70520 16 0.0
.flash.rodata 178224 178384 160 0.1
.flash.text 910034 912104 2070 0.2
m5stack (read only) 959027 960835 1808 0.2
(read/write) 448672 448840 168 0.0
.flash.rodata 207504 207672 168 0.1
.flash.text 953643 955451 1808 0.2
k32w lock k32w061+release (read/write) 661604 661764 160 0.0
.text 576500 576660 160 0.0
linux chip-tool-ipv6only arm64 (read only) 8038420 8041556 3136 0.0
(read/write) 370497 370641 144 0.0
.data.rel.ro 245760 245856 96 0.0
.got 64728 64776 48 0.1
.rodata 419196 419324 128 0.0
.text 6830564 6833236 2672 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2347832 2349792 1960 0.1
.bss 189204 189220 16 0.0
.text 1310408 1312368 1960 0.1
lighting-app CY8CPROTO_062_4343W+release (read/write) 2332416 2334376 1960 0.1
.bss 180752 180760 8 0.0
.data 5560 5568 8 0.1
.text 1295016 1296976 1960 0.2
lock-app CY8CPROTO_062_4343W+release (read/write) 2304536 2304728 192 0.0
.text 1267136 1267328 192 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 941447 943387 1940 0.2
bss 119624 119628 4 0.0
rodata 108660 108824 164 0.2
text 635576 637352 1776 0.3
nrf52840dk_nrf52840+rpc (read/write) 926911 928851 1940 0.2
bss 116668 116672 4 0.0
rodata 101108 101272 164 0.2
text 630968 632744 1776 0.3
nrf52840dongle_nrf52840 (read/write) 992091 994063 1972 0.2
bss 122464 122472 8 0.0
rodata 113412 113576 164 0.1
text 667772 669548 1776 0.3
nrf5340dk_nrf5340_cpuapp (read/write) 851270 853210 1940 0.2
bss 116412 116416 4 0.0
rodata 101832 101996 164 0.2
text 552492 554276 1784 0.3
lock-app nrf52840dk_nrf52840 (read/write) 912619 912747 128 0.0
text 612672 612800 128 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 822686 822814 128 0.0
text 529632 529760 128 0.0
pump-app nrf52840dk_nrf52840 (read/write) 913991 915595 1604 0.2
bss 118544 118548 4 0.0
rodata 104004 104152 148 0.1
text 613996 615452 1456 0.2
p6 all-clusters-app default (read/write) 2402304 2404336 2032 0.1
.bss 117484 117492 8 0.0
.data 2592 2600 8 0.3
.text 1360568 1362600 2032 0.1
light-app default (read/write) 2327544 2329640 2096 0.1
.text 1285808 1287904 2096 0.2
lock-app default (read/write) 2298456 2298664 208 0.0
.text 1256720 1256928 208 0.0
qpg lighting-app qpg6105+debug (read only) 561976 563952 1976 0.4
(read/write) 146936 146940 4 0.0
.bss 89952 89960 8 0.0
.data 1044 1048 4 0.4
.text 556656 558632 1976 0.4
lock-app qpg6105+debug (read only) 515292 515452 160 0.0
.text 509972 510132 160 0.0
telink lighting-app tlsr9518adk80d (read/write) 838462 840770 2308 0.3
bss 87312 87316 4 0.0
text 585618 587738 2120 0.4
Decreases (4 builds for efr32, k32w, linux, nrfconnect)
platform target config section 1feadcf 628dbf7 change % change
efr32 window-app BRD4161A (read only) 805424 805392 -32 -0.0
.text 805416 805384 -32 -0.0
k32w light k32w061+release (read/write) 657920 657888 -32 -0.0
.text 573132 573100 -32 -0.0
linux thermostat-no-ble arm64 (read only) 2041980 2041932 -48 -0.0
.text 1697504 1697456 -48 -0.0
nrfconnect pump-controller-app nrf52840dk_nrf52840 (read/write) 910747 910683 -64 -0.0
text 611448 611380 -68 -0.0
Full report (32 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 1feadcf 628dbf7 change % change
efr32 lighting-app BRD4161A (read only) 832764 834868 2104 0.3
(read/write) 127628 127628 0 0.0
.bss 125744 125744 0 0.0
.data 1884 1884 0 0.0
.text 832756 834860 2104 0.3
BRD4161A+rpc (read only) 820168 822264 2096 0.3
(read/write) 144288 144288 0 0.0
.bss 142304 142304 0 0.0
.data 1984 1984 0 0.0
.text 820160 822256 2096 0.3
window-app BRD4161A (read only) 805424 805392 -32 -0.0
(read/write) 126320 126320 0 0.0
.bss 124480 124480 0 0.0
.data 1836 1836 0 0.0
.text 805416 805384 -32 -0.0
esp32 all-clusters-app c3devkit (read only) 910034 912104 2070 0.2
(read/write) 1316506 1316682 176 0.0
.dram0.bss 70504 70520 16 0.0
.dram0.data 14284 14284 0 0.0
.flash.rodata 178224 178384 160 0.1
.flash.text 910034 912104 2070 0.2
.iram0.text 62056 62056 0 0.0
m5stack (read only) 959027 960835 1808 0.2
(read/write) 448672 448840 168 0.0
.dram0.bss 74976 74976 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 207504 207672 168 0.1
.flash.text 953643 955451 1808 0.2
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 657920 657888 -32 -0.0
.bss 77136 77136 0 0.0
.data 1852 1852 0 0.0
.text 573132 573100 -32 -0.0
lock k32w061+release (read/write) 661604 661764 160 0.0
.bss 77432 77432 0 0.0
.data 1872 1872 0 0.0
.text 576500 576660 160 0.0
linux chip-tool-ipv6only arm64 (read only) 8038420 8041556 3136 0.0
(read/write) 370497 370641 144 0.0
.bss 55217 55217 0 0.0
.data 1096 1096 0 0.0
.data.rel.ro 245760 245856 96 0.0
.dynamic 560 560 0 0.0
.got 64728 64776 48 0.1
.init 24 24 0 0.0
.init_array 168 168 0 0.0
.rodata 419196 419324 128 0.0
.text 6830564 6833236 2672 0.0
thermostat-no-ble arm64 (read only) 2041980 2041932 -48 -0.0
(read/write) 145969 145969 0 0.0
.bss 65089 65089 0 0.0
.data 880 880 0 0.0
.data.rel.ro 73016 73016 0 0.0
.dynamic 560 560 0 0.0
.got 4048 4048 0 0.0
.init 24 24 0 0.0
.init_array 304 304 0 0.0
.rodata 129884 129884 0 0.0
.text 1697504 1697456 -48 -0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2347832 2349792 1960 0.1
.bss 189204 189220 16 0.0
.data 5320 5320 0 0.0
.text 1310408 1312368 1960 0.1
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2332416 2334376 1960 0.1
.bss 180752 180760 8 0.0
.data 5560 5568 8 0.1
.text 1295016 1296976 1960 0.2
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2304536 2304728 192 0.0
.bss 179768 179768 0 0.0
.data 5544 5544 0 0.0
.text 1267136 1267328 192 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139712 1139712 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.text 103096 103096 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2054464 2054464 0 0.0
.bss 156876 156876 0 0.0
.data 4864 4864 0 0.0
.text 1017064 1017064 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 941447 943387 1940 0.2
bss 119624 119628 4 0.0
rodata 108660 108824 164 0.2
text 635576 637352 1776 0.3
nrf52840dk_nrf52840+rpc (read/write) 926911 928851 1940 0.2
bss 116668 116672 4 0.0
rodata 101108 101272 164 0.2
text 630968 632744 1776 0.3
nrf52840dongle_nrf52840 (read/write) 992091 994063 1972 0.2
bss 122464 122472 8 0.0
rodata 113412 113576 164 0.1
text 667772 669548 1776 0.3
nrf5340dk_nrf5340_cpuapp (read/write) 851270 853210 1940 0.2
bss 116412 116416 4 0.0
rodata 101832 101996 164 0.2
text 552492 554276 1784 0.3
lock-app nrf52840dk_nrf52840 (read/write) 912619 912747 128 0.0
bss 118784 118784 0 0.0
rodata 103792 103792 0 0.0
text 612672 612800 128 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 822686 822814 128 0.0
bss 115600 115600 0 0.0
rodata 97016 97016 0 0.0
text 529632 529760 128 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 541835 541835 0 0.0
bss 52588 52588 0 0.0
rodata 50104 50104 0 0.0
text 376940 376940 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 913991 915595 1604 0.2
bss 118544 118548 4 0.0
rodata 104004 104152 148 0.1
text 613996 615452 1456 0.2
pump-controller-app nrf52840dk_nrf52840 (read/write) 910747 910683 -64 -0.0
bss 118572 118572 0 0.0
rodata 103264 103264 0 0.0
text 611448 611380 -68 -0.0
shell nrf52840dk_nrf52840 (read/write) 798655 798655 0 0.0
bss 109776 109776 0 0.0
rodata 78388 78388 0 0.0
text 533992 533992 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 711470 711470 0 0.0
bss 107664 107664 0 0.0
rodata 72688 72688 0 0.0
text 451672 451672 0 0.0
p6 all-clusters-app default (read/write) 2402304 2404336 2032 0.1
.bss 117484 117492 8 0.0
.data 2592 2600 8 0.3
.text 1360568 1362600 2032 0.1
light-app default (read/write) 2327544 2329640 2096 0.1
.bss 106064 106064 0 0.0
.data 2392 2392 0 0.0
.text 1285808 1287904 2096 0.2
lock-app default (read/write) 2298456 2298664 208 0.0
.bss 104920 104920 0 0.0
.data 2344 2344 0 0.0
.text 1256720 1256928 208 0.0
qpg lighting-app qpg6105+debug (read only) 561976 563952 1976 0.4
(read/write) 146936 146940 4 0.0
.bss 89952 89960 8 0.0
.data 1044 1048 4 0.4
.text 556656 558632 1976 0.4
lock-app qpg6105+debug (read only) 515292 515452 160 0.0
(read/write) 146936 146936 0 0.0
.bss 88584 88584 0 0.0
.data 972 972 0 0.0
.text 509972 510132 160 0.0
persistent-storage-app qpg6105+debug (read only) 106848 106848 0 0.0
(read/write) 146940 146940 0 0.0
.bss 38512 38512 0 0.0
.data 288 288 0 0.0
.text 101528 101528 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 838462 840770 2308 0.3
bss 87312 87316 4 0.0
noinit 37160 37160 0 0.0
text 585618 587738 2120 0.4

@github-actions
Copy link

github-actions bot commented Jan 14, 2022

PR #13338: Size comparison from 1feadcf to 2349b8b

Increases above 0.2%:

platform target config section 1feadcf 2349b8b change % change
efr32 lighting-app BRD4161A (read only) 832764 834868 2104 0.3
.text 832756 834860 2104 0.3
BRD4161A+rpc (read only) 820168 822264 2096 0.3
.text 820160 822256 2096 0.3
esp32 all-clusters-app c3devkit (read only) 910034 912104 2070 0.2
.flash.text 910034 912104 2070 0.2
linux all-clusters-app debug (read only) 2151209 2156321 5112 0.2
.text 1813234 1818386 5152 0.3
bridge-app debug+rpc (read only) 1605125 1609389 4264 0.3
.data 1760 1792 32 1.8
.text 1354917 1359221 4304 0.3
lighting-app debug+rpc (read only) 1884097 1889273 5176 0.3
.data 1280 1312 32 2.5
.text 1574658 1579874 5216 0.3
shell debug (read only) 2160033 2165113 5080 0.2
.text 1825666 1830818 5152 0.3
tv-app debug (read only) 2196713 2201185 4472 0.2
.text 1844866 1849378 4512 0.2
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 941447 943387 1940 0.2
text 635576 637352 1776 0.3
nrf52840dk_nrf52840+rpc (read/write) 926911 928851 1940 0.2
text 630968 632744 1776 0.3
nrf52840dongle_nrf52840 text 667772 669548 1776 0.3
nrf5340dk_nrf5340_cpuapp (read/write) 851270 853210 1940 0.2
text 552492 554276 1784 0.3
pump-app nrf52840dk_nrf52840 text 613996 615452 1456 0.2
p6 all-clusters-app default .data 2592 2600 8 0.3
qpg lighting-app qpg6105+debug (read only) 561976 563952 1976 0.4
.data 1044 1048 4 0.4
.text 556656 558632 1976 0.4
telink lighting-app tlsr9518adk80d (read/write) 838462 840770 2308 0.3
text 585618 587738 2120 0.4
Increases (28 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 1feadcf 2349b8b change % change
efr32 lighting-app BRD4161A (read only) 832764 834868 2104 0.3
.text 832756 834860 2104 0.3
BRD4161A+rpc (read only) 820168 822264 2096 0.3
.text 820160 822256 2096 0.3
esp32 all-clusters-app c3devkit (read only) 910034 912104 2070 0.2
(read/write) 1316506 1316682 176 0.0
.dram0.bss 70504 70520 16 0.0
.flash.rodata 178224 178384 160 0.1
.flash.text 910034 912104 2070 0.2
m5stack (read only) 959027 960835 1808 0.2
(read/write) 448672 448840 168 0.0
.flash.rodata 207504 207672 168 0.1
.flash.text 953643 955451 1808 0.2
k32w lock k32w061+release (read/write) 661604 661764 160 0.0
.text 576500 576660 160 0.0
linux all-clusters-app debug (read only) 2151209 2156321 5112 0.2
(read/write) 145536 145568 32 0.0
.data.rel.ro 75568 75600 32 0.0
.text 1813234 1818386 5152 0.3
bridge-app debug+rpc (read only) 1605125 1609389 4264 0.3
(read/write) 88632 88696 64 0.1
.data 1760 1792 32 1.8
.data.rel.ro 36088 36120 32 0.1
.text 1354917 1359221 4304 0.3
chip-tool debug (read only) 8124613 8127781 3168 0.0
(read/write) 245960 246056 96 0.0
.data.rel.ro 200328 200440 112 0.1
.text 7220581 7223653 3072 0.0
chip-tool-ipv6only arm64 (read only) 8038420 8041556 3136 0.0
(read/write) 370497 370641 144 0.0
.data.rel.ro 245760 245856 96 0.0
.got 64728 64776 48 0.1
.rodata 419196 419324 128 0.0
.text 6830564 6833236 2672 0.0
lighting-app debug+rpc (read only) 1884097 1889273 5176 0.3
(read/write) 121072 121168 96 0.1
.bss 50560 50592 32 0.1
.data 1280 1312 32 2.5
.data.rel.ro 63768 63800 32 0.1
.text 1574658 1579874 5216 0.3
shell debug (read only) 2160033 2165113 5080 0.2
(read/write) 146184 146216 32 0.0
.data.rel.ro 70288 70320 32 0.0
.text 1825666 1830818 5152 0.3
tv-app debug (read only) 2196713 2201185 4472 0.2
(read/write) 373128 373160 32 0.0
.data.rel.ro 69744 69776 32 0.0
.text 1844866 1849378 4512 0.2
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2347832 2349792 1960 0.1
.bss 189204 189220 16 0.0
.text 1310408 1312368 1960 0.1
lighting-app CY8CPROTO_062_4343W+release (read/write) 2332416 2334376 1960 0.1
.bss 180752 180760 8 0.0
.data 5560 5568 8 0.1
.text 1295016 1296976 1960 0.2
lock-app CY8CPROTO_062_4343W+release (read/write) 2304536 2304728 192 0.0
.text 1267136 1267328 192 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 941447 943387 1940 0.2
bss 119624 119628 4 0.0
rodata 108660 108824 164 0.2
text 635576 637352 1776 0.3
nrf52840dk_nrf52840+rpc (read/write) 926911 928851 1940 0.2
bss 116668 116672 4 0.0
rodata 101108 101272 164 0.2
text 630968 632744 1776 0.3
nrf52840dongle_nrf52840 (read/write) 992091 994063 1972 0.2
bss 122464 122472 8 0.0
rodata 113412 113576 164 0.1
text 667772 669548 1776 0.3
nrf5340dk_nrf5340_cpuapp (read/write) 851270 853210 1940 0.2
bss 116412 116416 4 0.0
rodata 101832 101996 164 0.2
text 552492 554276 1784 0.3
lock-app nrf52840dk_nrf52840 (read/write) 912619 912747 128 0.0
text 612672 612800 128 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 822686 822814 128 0.0
text 529632 529760 128 0.0
pump-app nrf52840dk_nrf52840 (read/write) 913991 915595 1604 0.2
bss 118544 118548 4 0.0
rodata 104004 104152 148 0.1
text 613996 615452 1456 0.2
p6 all-clusters-app default (read/write) 2402304 2404336 2032 0.1
.bss 117484 117492 8 0.0
.data 2592 2600 8 0.3
.text 1360568 1362600 2032 0.1
light-app default (read/write) 2327544 2329640 2096 0.1
.text 1285808 1287904 2096 0.2
lock-app default (read/write) 2298456 2298664 208 0.0
.text 1256720 1256928 208 0.0
qpg lighting-app qpg6105+debug (read only) 561976 563952 1976 0.4
(read/write) 146936 146940 4 0.0
.bss 89952 89960 8 0.0
.data 1044 1048 4 0.4
.text 556656 558632 1976 0.4
lock-app qpg6105+debug (read only) 515292 515452 160 0.0
.text 509972 510132 160 0.0
telink lighting-app tlsr9518adk80d (read/write) 838462 840770 2308 0.3
bss 87312 87316 4 0.0
text 585618 587738 2120 0.4
Decreases (13 builds for efr32, k32w, linux, nrfconnect)
platform target config section 1feadcf 2349b8b change % change
efr32 window-app BRD4161A (read only) 805424 805392 -32 -0.0
.text 805416 805384 -32 -0.0
k32w light k32w061+release (read/write) 657920 657888 -32 -0.0
.text 573132 573100 -32 -0.0
linux all-clusters-app debug .rodata 179349 179285 -64 -0.0
bridge-app debug+rpc .rodata 136340 136276 -64 -0.0
chip-tool debug .rodata 407665 407569 -96 -0.0
door-lock-app debug (read only) 1694497 1694145 -352 -0.0
.rodata 145724 145468 -256 -0.2
.text 1403234 1403138 -96 -0.0
lighting-app debug+rpc .rodata 157841 157777 -64 -0.0
ota-provider-app debug (read only) 1512913 1512577 -336 -0.0
.rodata 135950 135694 -256 -0.2
.text 1266066 1265986 -80 -0.0
ota-requestor-app debug (read only) 1590153 1589801 -352 -0.0
.rodata 141399 141143 -256 -0.2
.text 1334978 1334882 -96 -0.0
shell debug .rodata 180850 180754 -96 -0.1
thermostat-no-ble arm64 (read only) 2041980 2041932 -48 -0.0
.text 1697504 1697456 -48 -0.0
tv-app debug .rodata 186044 185980 -64 -0.0
nrfconnect pump-controller-app nrf52840dk_nrf52840 (read/write) 910747 910683 -64 -0.0
text 611448 611380 -68 -0.0
Full report (41 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 1feadcf 2349b8b change % change
efr32 lighting-app BRD4161A (read only) 832764 834868 2104 0.3
(read/write) 127628 127628 0 0.0
.bss 125744 125744 0 0.0
.data 1884 1884 0 0.0
.text 832756 834860 2104 0.3
BRD4161A+rpc (read only) 820168 822264 2096 0.3
(read/write) 144288 144288 0 0.0
.bss 142304 142304 0 0.0
.data 1984 1984 0 0.0
.text 820160 822256 2096 0.3
window-app BRD4161A (read only) 805424 805392 -32 -0.0
(read/write) 126320 126320 0 0.0
.bss 124480 124480 0 0.0
.data 1836 1836 0 0.0
.text 805416 805384 -32 -0.0
esp32 all-clusters-app c3devkit (read only) 910034 912104 2070 0.2
(read/write) 1316506 1316682 176 0.0
.dram0.bss 70504 70520 16 0.0
.dram0.data 14284 14284 0 0.0
.flash.rodata 178224 178384 160 0.1
.flash.text 910034 912104 2070 0.2
.iram0.text 62056 62056 0 0.0
m5stack (read only) 959027 960835 1808 0.2
(read/write) 448672 448840 168 0.0
.dram0.bss 74976 74976 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 207504 207672 168 0.1
.flash.text 953643 955451 1808 0.2
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 657920 657888 -32 -0.0
.bss 77136 77136 0 0.0
.data 1852 1852 0 0.0
.text 573132 573100 -32 -0.0
lock k32w061+release (read/write) 661604 661764 160 0.0
.bss 77432 77432 0 0.0
.data 1872 1872 0 0.0
.text 576500 576660 160 0.0
linux all-clusters-app debug (read only) 2151209 2156321 5112 0.2
(read/write) 145536 145568 32 0.0
.bss 63160 63160 0 0.0
.data 1216 1216 0 0.0
.data.rel.ro 75568 75600 32 0.0
.dynamic 592 592 0 0.0
.got 4128 4128 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 179349 179285 -64 -0.0
.text 1813234 1818386 5152 0.3
bridge-app debug+rpc (read only) 1605125 1609389 4264 0.3
(read/write) 88632 88696 64 0.1
.bss 45664 45664 0 0.0
.data 1760 1792 32 1.8
.data.rel.ro 36088 36120 32 0.1
.dynamic 592 592 0 0.0
.got 3984 3984 0 0.0
.init 27 27 0 0.0
.init_array 528 528 0 0.0
.rodata 136340 136276 -64 -0.0
.text 1354917 1359221 4304 0.3
chip-tool debug (read only) 8124613 8127781 3168 0.0
(read/write) 245960 246056 96 0.0
.bss 38808 38808 0 0.0
.data 1032 1032 0 0.0
.data.rel.ro 200328 200440 112 0.1
.dynamic 592 592 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 584 584 0 0.0
.rodata 407665 407569 -96 -0.0
.text 7220581 7223653 3072 0.0
chip-tool-ipv6only arm64 (read only) 8038420 8041556 3136 0.0
(read/write) 370497 370641 144 0.0
.bss 55217 55217 0 0.0
.data 1096 1096 0 0.0
.data.rel.ro 245760 245856 96 0.0
.dynamic 560 560 0 0.0
.got 64728 64776 48 0.1
.init 24 24 0 0.0
.init_array 168 168 0 0.0
.rodata 419196 419324 128 0.0
.text 6830564 6833236 2672 0.0
door-lock-app debug (read only) 1694497 1694145 -352 -0.0
(read/write) 114976 114976 0 0.0
.bss 48704 48704 0 0.0
.data 896 896 0 0.0
.data.rel.ro 60008 60008 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 632 632 0 0.0
.rodata 145724 145468 -256 -0.2
.text 1403234 1403138 -96 -0.0
lighting-app debug+rpc (read only) 1884097 1889273 5176 0.3
(read/write) 121072 121168 96 0.1
.bss 50560 50592 32 0.1
.data 1280 1312 32 2.5
.data.rel.ro 63768 63800 32 0.1
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 680 680 0 0.0
.rodata 157841 157777 -64 -0.0
.text 1574658 1579874 5216 0.3
ota-provider-app debug (read only) 1512913 1512577 -336 -0.0
(read/write) 84416 84416 0 0.0
.bss 47232 47232 0 0.0
.data 936 936 0 0.0
.data.rel.ro 31000 31000 0 0.0
.dynamic 592 592 0 0.0
.got 4040 4040 0 0.0
.init 27 27 0 0.0
.init_array 568 568 0 0.0
.rodata 135950 135694 -256 -0.2
.text 1266066 1265986 -80 -0.0
ota-requestor-app debug (read only) 1590153 1589801 -352 -0.0
(read/write) 87976 87976 0 0.0
.bss 48960 48960 0 0.0
.data 1032 1032 0 0.0
.data.rel.ro 32712 32712 0 0.0
.dynamic 592 592 0 0.0
.got 4040 4040 0 0.0
.init 27 27 0 0.0
.init_array 608 608 0 0.0
.rodata 141399 141143 -256 -0.2
.text 1334978 1334882 -96 -0.0
shell debug (read only) 2160033 2165113 5080 0.2
(read/write) 146184 146216 32 0.0
.bss 69408 69408 0 0.0
.data 832 832 0 0.0
.data.rel.ro 70288 70320 32 0.0
.dynamic 592 592 0 0.0
.got 4184 4184 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 180850 180754 -96 -0.1
.text 1825666 1830818 5152 0.3
thermostat-no-ble arm64 (read only) 2041980 2041932 -48 -0.0
(read/write) 145969 145969 0 0.0
.bss 65089 65089 0 0.0
.data 880 880 0 0.0
.data.rel.ro 73016 73016 0 0.0
.dynamic 560 560 0 0.0
.got 4048 4048 0 0.0
.init 24 24 0 0.0
.init_array 304 304 0 0.0
.rodata 129884 129884 0 0.0
.text 1697504 1697456 -48 -0.0
tv-app debug (read only) 2196713 2201185 4472 0.2
(read/write) 373128 373160 32 0.0
.bss 294528 294528 0 0.0
.data 2912 2912 0 0.0
.data.rel.ro 69744 69776 32 0.0
.dynamic 592 592 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 832 832 0 0.0
.rodata 186044 185980 -64 -0.0
.text 1844866 1849378 4512 0.2
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2347832 2349792 1960 0.1
.bss 189204 189220 16 0.0
.data 5320 5320 0 0.0
.text 1310408 1312368 1960 0.1
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2332416 2334376 1960 0.1
.bss 180752 180760 8 0.0
.data 5560 5568 8 0.1
.text 1295016 1296976 1960 0.2
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2304536 2304728 192 0.0
.bss 179768 179768 0 0.0
.data 5544 5544 0 0.0
.text 1267136 1267328 192 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139712 1139712 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.text 103096 103096 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2054464 2054464 0 0.0
.bss 156876 156876 0 0.0
.data 4864 4864 0 0.0
.text 1017064 1017064 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 941447 943387 1940 0.2
bss 119624 119628 4 0.0
rodata 108660 108824 164 0.2
text 635576 637352 1776 0.3
nrf52840dk_nrf52840+rpc (read/write) 926911 928851 1940 0.2
bss 116668 116672 4 0.0
rodata 101108 101272 164 0.2
text 630968 632744 1776 0.3
nrf52840dongle_nrf52840 (read/write) 992091 994063 1972 0.2
bss 122464 122472 8 0.0
rodata 113412 113576 164 0.1
text 667772 669548 1776 0.3
nrf5340dk_nrf5340_cpuapp (read/write) 851270 853210 1940 0.2
bss 116412 116416 4 0.0
rodata 101832 101996 164 0.2
text 552492 554276 1784 0.3
lock-app nrf52840dk_nrf52840 (read/write) 912619 912747 128 0.0
bss 118784 118784 0 0.0
rodata 103792 103792 0 0.0
text 612672 612800 128 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 822686 822814 128 0.0
bss 115600 115600 0 0.0
rodata 97016 97016 0 0.0
text 529632 529760 128 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 541835 541835 0 0.0
bss 52588 52588 0 0.0
rodata 50104 50104 0 0.0
text 376940 376940 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 913991 915595 1604 0.2
bss 118544 118548 4 0.0
rodata 104004 104152 148 0.1
text 613996 615452 1456 0.2
pump-controller-app nrf52840dk_nrf52840 (read/write) 910747 910683 -64 -0.0
bss 118572 118572 0 0.0
rodata 103264 103264 0 0.0
text 611448 611380 -68 -0.0
shell nrf52840dk_nrf52840 (read/write) 798655 798655 0 0.0
bss 109776 109776 0 0.0
rodata 78388 78388 0 0.0
text 533992 533992 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 711470 711470 0 0.0
bss 107664 107664 0 0.0
rodata 72688 72688 0 0.0
text 451672 451672 0 0.0
p6 all-clusters-app default (read/write) 2402304 2404336 2032 0.1
.bss 117484 117492 8 0.0
.data 2592 2600 8 0.3
.text 1360568 1362600 2032 0.1
light-app default (read/write) 2327544 2329640 2096 0.1
.bss 106064 106064 0 0.0
.data 2392 2392 0 0.0
.text 1285808 1287904 2096 0.2
lock-app default (read/write) 2298456 2298664 208 0.0
.bss 104920 104920 0 0.0
.data 2344 2344 0 0.0
.text 1256720 1256928 208 0.0
qpg lighting-app qpg6105+debug (read only) 561976 563952 1976 0.4
(read/write) 146936 146940 4 0.0
.bss 89952 89960 8 0.0
.data 1044 1048 4 0.4
.text 556656 558632 1976 0.4
lock-app qpg6105+debug (read only) 515292 515452 160 0.0
(read/write) 146936 146936 0 0.0
.bss 88584 88584 0 0.0
.data 972 972 0 0.0
.text 509972 510132 160 0.0
persistent-storage-app qpg6105+debug (read only) 106848 106848 0 0.0
(read/write) 146940 146940 0 0.0
.bss 38512 38512 0 0.0
.data 288 288 0 0.0
.text 101528 101528 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 838462 840770 2308 0.3
bss 87312 87316 4 0.0
noinit 37160 37160 0 0.0
text 585618 587738 2120 0.4

@jmartinez-silabs jmartinez-silabs merged commit 1a89a84 into project-chip:master Jan 14, 2022
@andy31415 andy31415 mentioned this pull request Jan 14, 2022
@jmartinez-silabs jmartinez-silabs deleted the lvlCtrl branch January 21, 2022 16:23
selissia pushed a commit to selissia/connectedhomeip that referenced this pull request Jan 28, 2022
…roject-chip#13338)

* Some level control lighting behaviours were disable by ember and zll unused defines. Add runtime attribute metadata checks to validate that the need attributes exist for that code. Replace the #ifdef gates to compiled that code by default but still allow toggling it off by defining the right IGNORE_LEVEL_CONTROL_XXX defines

Fix min and max Level usage and consideing the attributes and featuremap. add behaviour tied with lighting

Enable Feature map for level control and update cluster revision

* regen

* enable test lvl control cluster revision and featuremap and update values

* regen

* Fix build for other platforms. Fix test LVL min max level changes with level controll ligthing feature

Set max Level to 254 for all

Set CurrentLevel And StatUpCurrentLevel to NVM storage to support Start up current level behaviour

Change current level and Start up current level to NVM storage for the startup functionnality. Update yaml lvl control test support lighting device using a minimum level of 1 instead of 0

add level control effect on off commmands

* rebase regen

* Use move to handler as precondition level setter as it doesn't depend of the current level

Address PR comments

* Fix conflicts after rebase and use new  nonVolatile method instead of tokenized

* regen & restyle

rebase and regen, fix conflicts and error

* Init persistance storage before InitDatamodel to allow attribute nvm storage in init callbacks. Rework Levelcontrol StartupCurrentLevel. Workaround zap can't generate default value to null. Use 255 for StartupCurrentLevel

* Rebase and regen to fix conflicts. LVL tests changed recently but do not match those new feature from this PR. Fix that

* Rebase and fix conflicts, add some wait time to a test that sometimes get delayed in Darwin test and reads the value too soon

* Update src/app/clusters/level-control/level-control.cpp

Co-authored-by: Marc Lepage <[email protected]>

* Fix Cirque test due to lvl ctrl changes

Co-authored-by: Marc Lepage <[email protected]>
step0035 pushed a commit to hank820/connectedhomeip that referenced this pull request Feb 8, 2022
…roject-chip#13338)

* Some level control lighting behaviours were disable by ember and zll unused defines. Add runtime attribute metadata checks to validate that the need attributes exist for that code. Replace the #ifdef gates to compiled that code by default but still allow toggling it off by defining the right IGNORE_LEVEL_CONTROL_XXX defines

Fix min and max Level usage and consideing the attributes and featuremap. add behaviour tied with lighting

Enable Feature map for level control and update cluster revision

* regen

* enable test lvl control cluster revision and featuremap and update values

* regen

* Fix build for other platforms. Fix test LVL min max level changes with level controll ligthing feature

Set max Level to 254 for all

Set CurrentLevel And StatUpCurrentLevel to NVM storage to support Start up current level behaviour

Change current level and Start up current level to NVM storage for the startup functionnality. Update yaml lvl control test support lighting device using a minimum level of 1 instead of 0

add level control effect on off commmands

* rebase regen

* Use move to handler as precondition level setter as it doesn't depend of the current level

Address PR comments

* Fix conflicts after rebase and use new  nonVolatile method instead of tokenized

* regen & restyle

rebase and regen, fix conflicts and error

* Init persistance storage before InitDatamodel to allow attribute nvm storage in init callbacks. Rework Levelcontrol StartupCurrentLevel. Workaround zap can't generate default value to null. Use 255 for StartupCurrentLevel

* Rebase and regen to fix conflicts. LVL tests changed recently but do not match those new feature from this PR. Fix that

* Rebase and fix conflicts, add some wait time to a test that sometimes get delayed in Darwin test and reads the value too soon

* Update src/app/clusters/level-control/level-control.cpp

Co-authored-by: Marc Lepage <[email protected]>

* Fix Cirque test due to lvl ctrl changes

Co-authored-by: Marc Lepage <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spec-required level control interactions were removed from on/off cluster
4 participants