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

Remove config CHIP_DEVICE_CONFIG_ENABLE_DNSSD #15733

Merged
merged 5 commits into from
Mar 3, 2022

Conversation

andy31415
Copy link
Contributor

Problem

DNSSD is required by chip spec. Having an extra config seems to just add complexity to the code.

Change overview

Remove all use of CHIP_DEVICE_CONFIG_ENABLE_DNSSD.

Testing

CI will validate that things still compile and pass.

@github-actions
Copy link

github-actions bot commented Mar 2, 2022

PR #15733: Size comparison from 1ccc2af to 2baeea6

Increases above 0.2%:

platform target config section 1ccc2af 2baeea6 change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1039967 1076235 36268 3.5
bss 125828 127680 1852 1.5
rodata 135736 141636 5900 4.3
text 701156 729516 28360 4.0
Increases (11 builds for esp32, linux, nrfconnect)
platform target config section 1ccc2af 2baeea6 change % change
esp32 all-clusters-app m5stack (read only) 1005951 1005959 8 0.0
.flash.text 1000567 1000575 8 0.0
linux all-clusters-app debug (read only) 2402593 2402689 96 0.0
.text 2034914 2035010 96 0.0
bridge-app debug+rpc (read only) 1728045 1728141 96 0.0
.text 1470709 1470805 96 0.0
door-lock-app debug (read only) 1943177 1943257 80 0.0
.text 1621154 1621234 80 0.0
lighting-app debug+rpc (read only) 2079025 2079121 96 0.0
.text 1757234 1757330 96 0.0
ota-provider-app debug (read only) 1875329 1875425 96 0.0
.text 1565986 1566082 96 0.0
ota-requestor-app debug (read only) 1886305 1886401 96 0.0
.text 1584978 1585074 96 0.0
shell debug (read only) 2370985 2371081 96 0.0
.text 2009570 2009666 96 0.0
thermostat-no-ble arm64 (read only) 2169364 2169412 48 0.0
.text 1818112 1818160 48 0.0
tv-app debug (read only) 2607609 2607705 96 0.0
.text 2234754 2234850 96 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1039967 1076235 36268 3.5
bss 125828 127680 1852 1.5
rodata 135736 141636 5900 4.3
text 701156 729516 28360 4.0
Decreases (4 builds for cyw30739, efr32)
platform target config section 1ccc2af 2baeea6 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 600598 600590 -8 -0.0
.app_xip_area 505372 505364 -8 -0.0
lock cyw930739m2evb_01 (read/write) 558594 558586 -8 -0.0
.app_xip_area 464904 464896 -8 -0.0
ota-requestor cyw930739m2evb_01 (read/write) 579006 578998 -8 -0.0
.app_xip_area 475884 475876 -8 -0.0
efr32 lighting-app BRD4161A (read only) 917712 917696 -16 -0.0
.text 917704 917688 -16 -0.0
Full report (29 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg)
platform target config section 1ccc2af 2baeea6 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 600598 600590 -8 -0.0
.app_xip_area 505372 505364 -8 -0.0
.bss 77908 77908 0 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 558594 558586 -8 -0.0
.app_xip_area 464904 464896 -8 -0.0
.bss 76412 76412 0 0.0
.data 624 624 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 579006 578998 -8 -0.0
.app_xip_area 475884 475876 -8 -0.0
.bss 85516 85516 0 0.0
.data 568 568 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 917712 917696 -16 -0.0
(read/write) 128672 128672 0 0.0
.bss 126616 126616 0 0.0
.data 2056 2056 0 0.0
.text 917704 917688 -16 -0.0
BRD4161A+rpc (read only) 947788 947788 0 0.0
(read/write) 145612 145612 0 0.0
.bss 143392 143392 0 0.0
.data 2220 2220 0 0.0
.text 947780 947780 0 0.0
lock-app BRD4161A+wf200 (read only) 987536 987536 0 0.0
(read/write) 120436 120436 0 0.0
.bss 118500 118500 0 0.0
.data 1932 1932 0 0.0
.text 987528 987528 0 0.0
window-app BRD4161A (read only) 851648 851648 0 0.0
(read/write) 126912 126912 0 0.0
.bss 124984 124984 0 0.0
.data 1924 1924 0 0.0
.text 851640 851640 0 0.0
esp32 all-clusters-app m5stack (read only) 1005951 1005959 8 0.0
(read/write) 458176 458176 0 0.0
.dram0.bss 68168 68168 0 0.0
.dram0.data 34080 34080 0 0.0
.flash.rodata 224432 224432 0 0.0
.flash.text 1000567 1000575 8 0.0
.iram0.text 122767 122767 0 0.0
k32w light k32w061+release (read/write) 692704 692704 0 0.0
.bss 77544 77544 0 0.0
.data 1932 1932 0 0.0
.text 607428 607428 0 0.0
lock k32w061+release (read/write) 696048 696048 0 0.0
.bss 77744 77744 0 0.0
.data 1972 1972 0 0.0
.text 610532 610532 0 0.0
linux all-clusters-app debug (read only) 2402593 2402689 96 0.0
(read/write) 144824 144824 0 0.0
.bss 59328 59328 0 0.0
.data 1392 1392 0 0.0
.data.rel.ro 78392 78392 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 912 912 0 0.0
.rodata 204933 204933 0 0.0
.text 2034914 2035010 96 0.0
bridge-app debug+rpc (read only) 1728045 1728141 96 0.0
(read/write) 92784 92784 0 0.0
.bss 47624 47624 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 38040 38040 0 0.0
.dynamic 592 592 0 0.0
.got 3912 3912 0 0.0
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 141556 141556 0 0.0
.text 1470709 1470805 96 0.0
chip-tool debug (read only) 8991165 8991165 0 0.0
(read/write) 283328 283328 0 0.0
.bss 25248 25248 0 0.0
.data 1136 1136 0 0.0
.data.rel.ro 250912 250912 0 0.0
.dynamic 608 608 0 0.0
.got 4784 4784 0 0.0
.init 27 27 0 0.0
.init_array 600 600 0 0.0
.rodata 479765 479765 0 0.0
.text 7903237 7903237 0 0.0
chip-tool-ipv6only arm64 (read only) 8748580 8748580 0 0.0
(read/write) 396785 396785 0 0.0
.bss 43617 43617 0 0.0
.data 1192 1192 0 0.0
.data.rel.ro 296592 296592 0 0.0
.dynamic 560 560 0 0.0
.got 51608 51608 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 457420 457420 0 0.0
.text 7426452 7426452 0 0.0
door-lock-app debug (read only) 1943177 1943257 80 0.0
(read/write) 119232 119232 0 0.0
.bss 50624 50624 0 0.0
.data 1056 1056 0 0.0
.data.rel.ro 62168 62168 0 0.0
.dynamic 592 592 0 0.0
.got 4096 4096 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 173564 173564 0 0.0
.text 1621154 1621234 80 0.0
lighting-app debug+rpc (read only) 2079025 2079121 96 0.0
(read/write) 124624 124624 0 0.0
.bss 51552 51552 0 0.0
.data 1472 1472 0 0.0
.data.rel.ro 66120 66120 0 0.0
.dynamic 608 608 0 0.0
.got 4128 4128 0 0.0
.init 27 27 0 0.0
.init_array 712 712 0 0.0
.rodata 166364 166364 0 0.0
.text 1757234 1757330 96 0.0
ota-provider-app debug (read only) 1875329 1875425 96 0.0
(read/write) 114864 114864 0 0.0
.bss 50432 50432 0 0.0
.data 1352 1352 0 0.0
.data.rel.ro 57448 57448 0 0.0
.dynamic 608 608 0 0.0
.got 4352 4352 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 158803 158803 0 0.0
.text 1565986 1566082 96 0.0
ota-requestor-app debug (read only) 1886305 1886401 96 0.0
(read/write) 116632 116632 0 0.0
.bss 51296 51296 0 0.0
.data 1224 1224 0 0.0
.data.rel.ro 58696 58696 0 0.0
.dynamic 592 592 0 0.0
.got 4152 4152 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 152516 152516 0 0.0
.text 1584978 1585074 96 0.0
shell debug (read only) 2370985 2371081 96 0.0
(read/write) 147272 147272 0 0.0
.bss 67648 67648 0 0.0
.data 864 864 0 0.0
.data.rel.ro 73112 73112 0 0.0
.dynamic 592 592 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 896 896 0 0.0
.rodata 204882 204882 0 0.0
.text 2009570 2009666 96 0.0
thermostat-no-ble arm64 (read only) 2169364 2169412 48 0.0
(read/write) 148641 148641 0 0.0
.bss 65345 65345 0 0.0
.data 1072 1072 0 0.0
.data.rel.ro 75056 75056 0 0.0
.dynamic 560 560 0 0.0
.got 4216 4216 0 0.0
.init 24 24 0 0.0
.init_array 352 352 0 0.0
.rodata 132996 132996 0 0.0
.text 1818112 1818160 48 0.0
tv-app debug (read only) 2607609 2607705 96 0.0
(read/write) 250904 250904 0 0.0
.bss 168096 168096 0 0.0
.data 3200 3200 0 0.0
.data.rel.ro 73576 73576 0 0.0
.dynamic 592 592 0 0.0
.got 4528 4528 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 199069 199069 0 0.0
.text 2234754 2234850 96 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2350908 2350908 0 0.0
.bss 187156 187156 0 0.0
.data 5784 5784 0 0.0
.text 1313508 1313508 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1039967 1076235 36268 3.5
bss 125828 127680 1852 1.5
rodata 135736 141636 5900 4.3
text 701156 729516 28360 4.0
p6 all-clusters-app default (read/write) 2489400 2489400 0 0.0
.bss 118736 118736 0 0.0
.data 2696 2696 0 0.0
.text 1447664 1447664 0 0.0
light-app default (read/write) 2396568 2396568 0 0.0
.bss 113048 113048 0 0.0
.data 2544 2544 0 0.0
.text 1354832 1354832 0 0.0
lock-app default (read/write) 2360080 2360080 0 0.0
.bss 112792 112792 0 0.0
.data 2504 2504 0 0.0
.text 1318344 1318344 0 0.0
qpg lighting-app qpg6105+debug (read only) 602140 602140 0 0.0
(read/write) 146936 146936 0 0.0
.bss 90928 90928 0 0.0
.data 1132 1132 0 0.0
.text 596820 596820 0 0.0
lock-app qpg6105+debug (read only) 567856 567856 0 0.0
(read/write) 146936 146936 0 0.0
.bss 90936 90936 0 0.0
.data 1084 1084 0 0.0
.text 562536 562536 0 0.0
persistent-storage-app qpg6105+debug (read only) 99520 99520 0 0.0
(read/write) 146940 146940 0 0.0
.bss 24004 24004 0 0.0
.data 176 176 0 0.0
.text 94200 94200 0 0.0

@bzbarsky-apple
Copy link
Contributor

@andy31415 The Telink failure looks like a real build problem?

@andy31415
Copy link
Contributor Author

@andy31415 The Telink failure looks like a real build problem?

I believe it is legit. Updating now. I think telink should have dnssd support but guessing shell app was never updated. Will conditionally take it out for now.

@andy31415
Copy link
Contributor Author

problem seems to be that chip_mdns is set to "none" by telink.

@andy31415 andy31415 merged commit b792463 into project-chip:master Mar 3, 2022
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