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

Changed the lower limit of the deadband to 0 to match the spec #17075

Merged
merged 2 commits into from
Apr 6, 2022

Conversation

drempelg
Copy link
Contributor

@drempelg drempelg commented Apr 5, 2022

Problem

The dead band hand a lower limit that didn't match the spec. Spec says it should be 0. Fixed

Change overview

modified the xml to reflect it's true limits.

Regenerated all the pre-generated stuff in the repo.

Testing

Tested on our DUT, was able to set the dead band attribute to 0.

@github-actions
Copy link

github-actions bot commented Apr 5, 2022

PR #17075: Size comparison from bc01144 to 456eb45

Full report (26 builds for cc13x2_26x2, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section bc01144 456eb45 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 670911 670911 0 0.0
(read/write) 180808 180808 0 0.0
.bss 81760 81760 0 0.0
.data 3164 3164 0 0.0
.rodata 80039 80039 0 0.0
.text 590392 590392 0 0.0
lock-mtd LP_CC2652R7 (read only) 620039 620039 0 0.0
(read/write) 154508 154508 0 0.0
.bss 77488 77488 0 0.0
.data 3164 3164 0 0.0
.rodata 79927 79927 0 0.0
.text 539624 539624 0 0.0
pump-app LP_CC2652R7 (read only) 690327 690327 0 0.0
(read/write) 162568 162568 0 0.0
.bss 82168 82168 0 0.0
.data 3196 3196 0 0.0
.rodata 82127 82127 0 0.0
.text 607716 607716 0 0.0
pump-controller-app LP_CC2652R7 (read only) 672567 672567 0 0.0
(read/write) 180056 180056 0 0.0
.bss 81896 81896 0 0.0
.data 3160 3160 0 0.0
.rodata 78463 78463 0 0.0
.text 593620 593620 0 0.0
efr32 lighting-app BRD4161A (read only) 919692 919692 0 0.0
(read/write) 129792 129792 0 0.0
.bss 127800 127800 0 0.0
.data 1992 1992 0 0.0
.text 919684 919684 0 0.0
BRD4161A+rpc (read only) 947604 947604 0 0.0
(read/write) 145740 145740 0 0.0
.bss 143568 143568 0 0.0
.data 2172 2172 0 0.0
.text 947596 947596 0 0.0
window-app BRD4161A (read only) 854860 854860 0 0.0
(read/write) 127816 127816 0 0.0
.bss 125944 125944 0 0.0
.data 1872 1872 0 0.0
.text 854852 854852 0 0.0
esp32 all-clusters-app c3devkit (read only) 988422 988422 0 0.0
(read/write) 1460922 1460922 0 0.0
.dram0.bss 62952 62952 0 0.0
.dram0.data 14196 14196 0 0.0
.flash.rodata 198288 198288 0 0.0
.flash.text 988422 988422 0 0.0
.iram0.text 62572 62572 0 0.0
m5stack (read only) 1040787 1040787 0 0.0
(read/write) 461912 461912 0 0.0
.dram0.bss 68480 68480 0 0.0
.dram0.data 34056 34056 0 0.0
.flash.rodata 227232 227232 0 0.0
.flash.text 1035403 1035403 0 0.0
.iram0.text 123415 123415 0 0.0
k32w light k32w061+release (read/write) 681992 681992 0 0.0
.bss 78448 78448 0 0.0
.data 1984 1984 0 0.0
.text 595760 595760 0 0.0
lock k32w061+release (read/write) 686488 686488 0 0.0
.bss 79032 79032 0 0.0
.data 1944 1944 0 0.0
.text 599712 599712 0 0.0
linux all-clusters-app debug (read only) 2595705 2595705 0 0.0
(read/write) 144872 144872 0 0.0
.bss 57664 57664 0 0.0
.data 1440 1440 0 0.0
.data.rel.ro 79880 79880 0 0.0
.dynamic 592 592 0 0.0
.got 4312 4312 0 0.0
.init 27 27 0 0.0
.init_array 960 960 0 0.0
.rodata 221285 221285 0 0.0
.text 2206402 2206402 0 0.0
bridge-app debug+rpc (read only) 1804485 1804485 0 0.0
(read/write) 90296 90296 0 0.0
.bss 44584 44584 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 38584 38584 0 0.0
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 552 552 0 0.0
.rodata 147513 147513 0 0.0
.text 1540341 1540341 0 0.0
chip-tool debug (read only) 10632181 10632181 0 0.0
(read/write) 370520 370520 0 0.0
.bss 22592 22592 0 0.0
.data 1040 1040 0 0.0
.data.rel.ro 340656 340656 0 0.0
.dynamic 624 624 0 0.0
.got 4928 4928 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 535949 535949 0 0.0
.text 9269429 9269429 0 0.0
door-lock-app debug (read only) 2075777 2075777 0 0.0
(read/write) 118320 118320 0 0.0
.bss 47904 47904 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 63704 63704 0 0.0
.dynamic 592 592 0 0.0
.got 4256 4256 0 0.0
.init 27 27 0 0.0
.init_array 680 680 0 0.0
.rodata 185513 185513 0 0.0
.text 1736450 1736450 0 0.0
lighting-app debug+rpc (read only) 2255289 2255289 0 0.0
(read/write) 125312 125312 0 0.0
.bss 49216 49216 0 0.0
.data 1600 1600 0 0.0
.data.rel.ro 68808 68808 0 0.0
.dynamic 608 608 0 0.0
.got 4304 4304 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 179625 179625 0 0.0
.text 1912386 1912386 0 0.0
ota-provider-app debug (read only) 2013697 2013697 0 0.0
(read/write) 113888 113888 0 0.0
.bss 47744 47744 0 0.0
.data 1384 1384 0 0.0
.data.rel.ro 59032 59032 0 0.0
.dynamic 608 608 0 0.0
.got 4456 4456 0 0.0
.init 27 27 0 0.0
.init_array 632 632 0 0.0
.rodata 171403 171403 0 0.0
.text 1687570 1687570 0 0.0
ota-requestor-app debug (read only) 2043289 2043289 0 0.0
(read/write) 117208 117208 0 0.0
.bss 48736 48736 0 0.0
.data 1608 1608 0 0.0
.data.rel.ro 61272 61272 0 0.0
.dynamic 592 592 0 0.0
.got 4296 4296 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 167892 167892 0 0.0
.text 1718898 1718898 0 0.0
shell debug (read only) 2491433 2491433 0 0.0
(read/write) 148336 148336 0 0.0
.bss 67336 67336 0 0.0
.data 848 848 0 0.0
.data.rel.ro 74424 74424 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 212978 212978 0 0.0
.text 2119922 2119922 0 0.0
tv-app debug (read only) 2764905 2764905 0 0.0
(read/write) 249984 249984 0 0.0
.bss 165360 165360 0 0.0
.data 3392 3392 0 0.0
.data.rel.ro 75040 75040 0 0.0
.dynamic 592 592 0 0.0
.got 4672 4672 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 211467 211467 0 0.0
.text 2374610 2374610 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2363084 2363084 0 0.0
.bss 185052 185052 0 0.0
.data 5784 5784 0 0.0
.text 1325684 1325684 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1149847 1149847 0 0.0
bss 135812 135812 0 0.0
rodata 145088 145088 0 0.0
text 790320 790320 0 0.0
p6 all-clusters-app default (read/write) 2507928 2507928 0 0.0
.bss 118480 118480 0 0.0
.data 2672 2672 0 0.0
.text 1466192 1466192 0 0.0
light-app default (read/write) 2409120 2409120 0 0.0
.bss 111944 111944 0 0.0
.data 2528 2528 0 0.0
.text 1367384 1367384 0 0.0
lock-app default (read/write) 2372816 2372816 0 0.0
.bss 111688 111688 0 0.0
.data 2488 2488 0 0.0
.text 1331080 1331080 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 795232 795232 0 0.0
bss 70300 70300 0 0.0
noinit 40416 40416 0 0.0
text 564698 564698 0 0.0

Copy link
Contributor

@bzbarsky-apple bzbarsky-apple left a comment

Choose a reason for hiding this comment

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

Note: this needs restyle run on the generated Commands.h, because local clang-format and restyle disagree on the right style....

@andy31415
Copy link
Contributor

@drempelg - needs zap regeneration

@bzbarsky-apple
Copy link
Contributor

@drempelg - needs zap regeneration

No, needs the restyle thing... We really need to sort out why the pigweed clang-format locally has started producing different results from the restyle job and from whatever clang-format runs in CI.

@mlepage-google
Copy link
Contributor

@drempelg - needs zap regeneration

No, needs the restyle thing... We really need to sort out why the pigweed clang-format locally has started producing different results from the restyle job and from whatever clang-format runs in CI.

Yeah I started getting hit by that too, annoying.

@github-actions
Copy link

github-actions bot commented Apr 5, 2022

PR #17075: Size comparison from bc01144 to 646c33a

Increases (8 builds for linux)
platform target config section bc01144 646c33a change % change
linux all-clusters-app debug (read only) 2595705 2595721 16 0.0
.text 2206402 2206418 16 0.0
chip-tool debug (read only) 10632181 10632245 64 0.0
.text 9269429 9269493 64 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 10242412 10242460 48 0.0
.text 8632244 8632292 48 0.0
door-lock-app debug (read only) 2075777 2075969 192 0.0
.text 1736450 1736642 192 0.0
lighting-app debug+rpc (read only) 2255289 2255481 192 0.0
.text 1912386 1912578 192 0.0
ota-provider-app debug (read only) 2013697 2013889 192 0.0
.text 1687570 1687762 192 0.0
ota-requestor-app debug (read only) 2043289 2043465 176 0.0
.text 1718898 1719074 176 0.0
thermostat-no-ble arm64 (read only) 2326940 2327068 128 0.0
.text 1957760 1957888 128 0.0
Decreases (12 builds for cc13x2_26x2, efr32, k32w, linux, nrfconnect, telink)
platform target config section bc01144 646c33a change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 670911 670815 -96 -0.0
(read/write) 180808 180648 -160 -0.1
.bss 81760 81504 -256 -0.3
.text 590392 590296 -96 -0.0
lock-mtd LP_CC2652R7 (read only) 620039 619943 -96 -0.0
(read/write) 154508 154252 -256 -0.2
.bss 77488 77232 -256 -0.3
.text 539624 539528 -96 -0.0
pump-app LP_CC2652R7 (read only) 690327 690231 -96 -0.0
(read/write) 162568 162408 -160 -0.1
.bss 82168 81912 -256 -0.3
.text 607716 607620 -96 -0.0
pump-controller-app LP_CC2652R7 (read only) 672567 672471 -96 -0.0
(read/write) 180056 179896 -160 -0.1
.bss 81896 81640 -256 -0.3
.text 593620 593524 -96 -0.0
efr32 lighting-app BRD4161A (read only) 919692 919564 -128 -0.0
(read/write) 129792 129536 -256 -0.2
.bss 127800 127544 -256 -0.2
.text 919684 919556 -128 -0.0
BRD4161A+rpc (read only) 947604 947476 -128 -0.0
(read/write) 145740 145484 -256 -0.2
.bss 143568 143312 -256 -0.2
.text 947596 947468 -128 -0.0
window-app BRD4161A (read only) 854860 854732 -128 -0.0
(read/write) 127816 127560 -256 -0.2
.bss 125944 125688 -256 -0.2
.text 854852 854724 -128 -0.0
k32w light k32w061+release (read/write) 681992 681640 -352 -0.1
.bss 78448 78192 -256 -0.3
.text 595760 595664 -96 -0.0
lock k32w061+release (read/write) 686488 686120 -368 -0.1
.bss 79032 78776 -256 -0.3
.text 599712 599600 -112 -0.0
linux tv-app debug (read only) 2764905 2764873 -32 -0.0
.text 2374610 2374578 -32 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1149847 1149495 -352 -0.0
bss 135812 135556 -256 -0.2
text 790320 790228 -92 -0.0
telink lighting-app tlsr9518adk80d (read/write) 795232 794888 -344 -0.0
bss 70300 70044 -256 -0.4
text 564698 564606 -92 -0.0
Full report (28 builds for cc13x2_26x2, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section bc01144 646c33a change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 670911 670815 -96 -0.0
(read/write) 180808 180648 -160 -0.1
.bss 81760 81504 -256 -0.3
.data 3164 3164 0 0.0
.rodata 80039 80039 0 0.0
.text 590392 590296 -96 -0.0
lock-mtd LP_CC2652R7 (read only) 620039 619943 -96 -0.0
(read/write) 154508 154252 -256 -0.2
.bss 77488 77232 -256 -0.3
.data 3164 3164 0 0.0
.rodata 79927 79927 0 0.0
.text 539624 539528 -96 -0.0
pump-app LP_CC2652R7 (read only) 690327 690231 -96 -0.0
(read/write) 162568 162408 -160 -0.1
.bss 82168 81912 -256 -0.3
.data 3196 3196 0 0.0
.rodata 82127 82127 0 0.0
.text 607716 607620 -96 -0.0
pump-controller-app LP_CC2652R7 (read only) 672567 672471 -96 -0.0
(read/write) 180056 179896 -160 -0.1
.bss 81896 81640 -256 -0.3
.data 3160 3160 0 0.0
.rodata 78463 78463 0 0.0
.text 593620 593524 -96 -0.0
efr32 lighting-app BRD4161A (read only) 919692 919564 -128 -0.0
(read/write) 129792 129536 -256 -0.2
.bss 127800 127544 -256 -0.2
.data 1992 1992 0 0.0
.text 919684 919556 -128 -0.0
BRD4161A+rpc (read only) 947604 947476 -128 -0.0
(read/write) 145740 145484 -256 -0.2
.bss 143568 143312 -256 -0.2
.data 2172 2172 0 0.0
.text 947596 947468 -128 -0.0
window-app BRD4161A (read only) 854860 854732 -128 -0.0
(read/write) 127816 127560 -256 -0.2
.bss 125944 125688 -256 -0.2
.data 1872 1872 0 0.0
.text 854852 854724 -128 -0.0
esp32 all-clusters-app c3devkit (read only) 988422 988422 0 0.0
(read/write) 1460922 1460922 0 0.0
.dram0.bss 62952 62952 0 0.0
.dram0.data 14196 14196 0 0.0
.flash.rodata 198288 198288 0 0.0
.flash.text 988422 988422 0 0.0
.iram0.text 62572 62572 0 0.0
m5stack (read only) 1040787 1040787 0 0.0
(read/write) 461912 461912 0 0.0
.dram0.bss 68480 68480 0 0.0
.dram0.data 34056 34056 0 0.0
.flash.rodata 227232 227232 0 0.0
.flash.text 1035403 1035403 0 0.0
.iram0.text 123415 123415 0 0.0
k32w light k32w061+release (read/write) 681992 681640 -352 -0.1
.bss 78448 78192 -256 -0.3
.data 1984 1984 0 0.0
.text 595760 595664 -96 -0.0
lock k32w061+release (read/write) 686488 686120 -368 -0.1
.bss 79032 78776 -256 -0.3
.data 1944 1944 0 0.0
.text 599712 599600 -112 -0.0
linux all-clusters-app debug (read only) 2595705 2595721 16 0.0
(read/write) 144872 144872 0 0.0
.bss 57664 57664 0 0.0
.data 1440 1440 0 0.0
.data.rel.ro 79880 79880 0 0.0
.dynamic 592 592 0 0.0
.got 4312 4312 0 0.0
.init 27 27 0 0.0
.init_array 960 960 0 0.0
.rodata 221285 221285 0 0.0
.text 2206402 2206418 16 0.0
bridge-app debug+rpc (read only) 1804485 1804485 0 0.0
(read/write) 90296 90296 0 0.0
.bss 44584 44584 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 38584 38584 0 0.0
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 552 552 0 0.0
.rodata 147513 147513 0 0.0
.text 1540341 1540341 0 0.0
chip-tool debug (read only) 10632181 10632245 64 0.0
(read/write) 370520 370520 0 0.0
.bss 22592 22592 0 0.0
.data 1040 1040 0 0.0
.data.rel.ro 340656 340656 0 0.0
.dynamic 624 624 0 0.0
.got 4928 4928 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 535949 535949 0 0.0
.text 9269429 9269493 64 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 10242412 10242460 48 0.0
(read/write) 490609 490609 0 0.0
.bss 40897 40897 0 0.0
.data 1128 1128 0 0.0
.data.rel.ro 387648 387648 0 0.0
.dynamic 560 560 0 0.0
.got 57128 57128 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 510412 510412 0 0.0
.text 8632244 8632292 48 0.0
door-lock-app debug (read only) 2075777 2075969 192 0.0
(read/write) 118320 118320 0 0.0
.bss 47904 47904 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 63704 63704 0 0.0
.dynamic 592 592 0 0.0
.got 4256 4256 0 0.0
.init 27 27 0 0.0
.init_array 680 680 0 0.0
.rodata 185513 185513 0 0.0
.text 1736450 1736642 192 0.0
lighting-app debug+rpc (read only) 2255289 2255481 192 0.0
(read/write) 125312 125312 0 0.0
.bss 49216 49216 0 0.0
.data 1600 1600 0 0.0
.data.rel.ro 68808 68808 0 0.0
.dynamic 608 608 0 0.0
.got 4304 4304 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 179625 179625 0 0.0
.text 1912386 1912578 192 0.0
ota-provider-app debug (read only) 2013697 2013889 192 0.0
(read/write) 113888 113888 0 0.0
.bss 47744 47744 0 0.0
.data 1384 1384 0 0.0
.data.rel.ro 59032 59032 0 0.0
.dynamic 608 608 0 0.0
.got 4456 4456 0 0.0
.init 27 27 0 0.0
.init_array 632 632 0 0.0
.rodata 171403 171403 0 0.0
.text 1687570 1687762 192 0.0
ota-requestor-app debug (read only) 2043289 2043465 176 0.0
(read/write) 117208 117208 0 0.0
.bss 48736 48736 0 0.0
.data 1608 1608 0 0.0
.data.rel.ro 61272 61272 0 0.0
.dynamic 592 592 0 0.0
.got 4296 4296 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 167892 167892 0 0.0
.text 1718898 1719074 176 0.0
shell debug (read only) 2491433 2491433 0 0.0
(read/write) 148336 148336 0 0.0
.bss 67336 67336 0 0.0
.data 848 848 0 0.0
.data.rel.ro 74424 74424 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 212978 212978 0 0.0
.text 2119922 2119922 0 0.0
thermostat-no-ble arm64 (read only) 2326940 2327068 128 0.0
(read/write) 149521 149521 0 0.0
.bss 62977 62977 0 0.0
.data 1136 1136 0 0.0
.data.rel.ro 77760 77760 0 0.0
.dynamic 560 560 0 0.0
.got 4632 4632 0 0.0
.init 24 24 0 0.0
.init_array 368 368 0 0.0
.rodata 143340 143340 0 0.0
.text 1957760 1957888 128 0.0
tv-app debug (read only) 2764905 2764873 -32 -0.0
(read/write) 249984 249984 0 0.0
.bss 165360 165360 0 0.0
.data 3392 3392 0 0.0
.data.rel.ro 75040 75040 0 0.0
.dynamic 592 592 0 0.0
.got 4672 4672 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 211467 211467 0 0.0
.text 2374610 2374578 -32 -0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2363084 2363084 0 0.0
.bss 185052 185052 0 0.0
.data 5784 5784 0 0.0
.text 1325684 1325684 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1149847 1149495 -352 -0.0
bss 135812 135556 -256 -0.2
rodata 145088 145088 0 0.0
text 790320 790228 -92 -0.0
p6 all-clusters-app default (read/write) 2507928 2507928 0 0.0
.bss 118480 118480 0 0.0
.data 2672 2672 0 0.0
.text 1466192 1466192 0 0.0
light-app default (read/write) 2409120 2409120 0 0.0
.bss 111944 111944 0 0.0
.data 2528 2528 0 0.0
.text 1367384 1367384 0 0.0
lock-app default (read/write) 2372816 2372816 0 0.0
.bss 111688 111688 0 0.0
.data 2488 2488 0 0.0
.text 1331080 1331080 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 795232 794888 -344 -0.0
bss 70300 70044 -256 -0.4
noinit 40416 40416 0 0.0
text 564698 564606 -92 -0.0

@drempelg
Copy link
Contributor Author

drempelg commented Apr 5, 2022

what is going on with those tests? I don't think the failure has anything to do with my changes....does it? Seems like a multi fabric problem?

@andy31415
Copy link
Contributor

what is going on with those tests? I don't think the failure has anything to do with my changes....does it? Seems like a multi fabric problem?

Looks like passing now. I believe for darwin the theory is that there is crosstalk between CI instances - VMs are supposed to be isolated however they seem not to be. #17087 attempts to fix this.

@drempelg
Copy link
Contributor Author

drempelg commented Apr 6, 2022

what is going on with those tests? I don't think the failure has anything to do with my changes....does it? Seems like a multi fabric problem?

Looks like passing now. I believe for darwin the theory is that there is crosstalk between CI instances - VMs are supposed to be isolated however they seem not to be. #17087 attempts to fix this.

Yeah, noticed it got fixed, at least here.

So I just need some approvals then and I can put this to bed. We good now?

@tcarmelveilleux tcarmelveilleux merged commit 6da0db8 into project-chip:master Apr 6, 2022
andrei-menzopol pushed a commit to andrei-menzopol/connectedhomeip that referenced this pull request Apr 14, 2022
…ct-chip#17075)

* Changed the lower limit of the deadband to 0 to match the spec

* removed the unnessary white space
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.

5 participants