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

Darwin: Improve CommissioningType naming #35209

Merged
merged 2 commits into from
Aug 28, 2024

Conversation

ksperling-apple
Copy link
Contributor

Follow-up to #35206

Copy link

Review changes with SemanticDiff.

Copy link

github-actions bot commented Aug 27, 2024

PR #35209: Size comparison from 4c78d07 to 7dcda2d

Full report (77 builds for bl602, bl702, bl702l, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 4c78d07 7dcda2d change % change
bl602 lighting-app bl602 FLASH 1278596 1278596 0 0.0
RAM 95880 95880 0 0.0
bl602+mfd FLASH 1292706 1292706 0 0.0
RAM 96024 96024 0 0.0
bl602+rpc FLASH 1317560 1317560 0 0.0
RAM 104304 104304 0 0.0
bl702 lighting-app bl702 FLASH 944224 944224 0 0.0
RAM 15209 15209 0 0.0
bl702+mfd FLASH 946624 946624 0 0.0
RAM 15353 15353 0 0.0
bl702+rpc FLASH 1039536 1039536 0 0.0
RAM 24221 24221 0 0.0
bl706-eth FLASH 647296 647296 0 0.0
RAM 25305 25305 0 0.0
bl706-wifi FLASH 894668 894668 0 0.0
RAM 14525 14525 0 0.0
bl702l lighting-app bl702l FLASH 960884 960884 0 0.0
RAM 16868 16868 0 0.0
bl702l+mfd FLASH 963506 963506 0 0.0
RAM 17012 17012 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 672457 672457 0 0.0
RAM 78300 78300 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 692309 692309 0 0.0
RAM 80932 80932 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 692309 692309 0 0.0
RAM 80932 80932 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 649253 649253 0 0.0
RAM 73368 73368 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 610969 610969 0 0.0
RAM 71292 71292 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 630597 630597 0 0.0
RAM 73844 73844 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 630597 630597 0 0.0
RAM 73844 73844 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 629001 629001 0 0.0
RAM 74308 74308 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 648717 648717 0 0.0
RAM 76860 76860 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 648717 648717 0 0.0
RAM 76860 76860 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 602797 602797 0 0.0
RAM 68348 68348 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 622649 622649 0 0.0
RAM 70980 70980 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 622649 622649 0 0.0
RAM 70980 70980 0 0.0
efr32 lighting-app BRD4187C FLASH 930532 930532 0 0.0
RAM 135096 135096 0 0.0
lock-app BRD4338a FLASH 740604 740596 -8 -0.0
RAM 208492 208492 0 0.0
window-app BRD4187C FLASH 1015656 1015656 0 0.0
RAM 127036 127036 0 0.0
esp32 all-clusters-app c3devkit DRAM 94200 94200 0 0.0
FLASH 1533674 1533674 0 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115136 115136 0 0.0
FLASH 1543650 1543650 0 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4624 4624 0 0.0
FLASH 2758323 2758323 0 0.0
RAM 128472 128472 0 0.0
all-clusters-app debug unknown 5408 5408 0 0.0
FLASH 6045250 6045250 0 0.0
RAM 509992 509992 0 0.0
all-clusters-minimal-app debug unknown 5304 5304 0 0.0
FLASH 5381162 5381162 0 0.0
RAM 240200 240200 0 0.0
bridge-app debug unknown 5288 5288 0 0.0
FLASH 4729896 4729896 0 0.0
RAM 216952 216952 0 0.0
chip-tool debug unknown 5832 5832 0 0.0
FLASH 12647116 12647116 0 0.0
RAM 558290 558290 0 0.0
chip-tool-ipv6only arm64 unknown 20352 20352 0 0.0
FLASH 11319484 11319484 0 0.0
RAM 608336 608336 0 0.0
fabric-admin debug unknown 5664 5664 0 0.0
FLASH 10926467 10926467 0 0.0
RAM 556490 556490 0 0.0
fabric-bridge-app debug unknown 4520 4520 0 0.0
FLASH 4552096 4552096 0 0.0
RAM 203680 203680 0 0.0
lighting-app debug+rpc+ui unknown 5936 5936 0 0.0
FLASH 5665937 5665937 0 0.0
RAM 228008 228008 0 0.0
lock-app debug unknown 5224 5224 0 0.0
FLASH 4785242 4785242 0 0.0
RAM 203736 203736 0 0.0
ota-provider-app debug unknown 4600 4600 0 0.0
FLASH 4424716 4424716 0 0.0
RAM 197720 197720 0 0.0
ota-requestor-app debug unknown 4536 4536 0 0.0
FLASH 4563334 4563334 0 0.0
RAM 202256 202256 0 0.0
shell debug unknown 4176 4176 0 0.0
FLASH 3083581 3083581 0 0.0
RAM 159000 159000 0 0.0
thermostat-no-ble arm64 unknown 9296 9296 0 0.0
FLASH 4321068 4321068 0 0.0
RAM 241848 241848 0 0.0
tv-app debug unknown 5504 5504 0 0.0
FLASH 6009765 6009765 0 0.0
RAM 583192 583192 0 0.0
tv-casting-app debug unknown 5168 5168 0 0.0
FLASH 10851901 10851901 0 0.0
RAM 645720 645720 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 910212 910212 0 0.0
RAM 142219 142219 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 882200 882200 0 0.0
RAM 140358 140358 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 841268 841268 0 0.0
RAM 141038 141038 0 0.0
nxp contact k32w0+release FLASH 577580 577580 0 0.0
RAM 70444 70444 0 0.0
k32w1+release FLASH 590208 590208 0 0.0
RAM 62488 62488 0 0.0
light k32w0+release FLASH 613008 613008 0 0.0
RAM 69916 69916 0 0.0
k32w1+release FLASH 674880 674880 0 0.0
RAM 71472 71472 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1641036 1641036 0 0.0
RAM 210920 210920 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1544732 1544732 0 0.0
RAM 207632 207632 0 0.0
light cy8ckit_062s2_43012 FLASH 1464364 1464364 0 0.0
RAM 200728 200728 0 0.0
lock cy8ckit_062s2_43012 FLASH 1463412 1463412 0 0.0
RAM 225064 225064 0 0.0
qpg lighting-app qpg6105+debug FLASH 656068 656068 0 0.0
RAM 105128 105128 0 0.0
lock-app qpg6105+debug FLASH 613992 613992 0 0.0
RAM 99612 99612 0 0.0
stm32 light STM32WB5MM-DK FLASH 478424 478424 0 0.0
RAM 144716 144716 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 620280 620280 0 0.0
RAM 50932 50932 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 682044 682044 0 0.0
RAM 149552 149552 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 774286 774286 0 0.0
RAM 110712 110712 0 0.0
bridge-app tlsr9258a FLASH 679010 679010 0 0.0
RAM 91588 91588 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 621872 621872 0 0.0
RAM 50972 50972 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 707768 707768 0 0.0
RAM 74312 74312 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 620600 620600 0 0.0
RAM 145532 145532 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 806732 806732 0 0.0
RAM 99456 99456 0 0.0
lock-app-dfu tlsr9528a FLASH 654854 654854 0 0.0
RAM 67008 67008 0 0.0
ota-requestor-app tlsr9258a FLASH 697026 697026 0 0.0
RAM 91272 91272 0 0.0
pump-app-usb tlsr9518adk80d FLASH 631318 631318 0 0.0
RAM 55752 55752 0 0.0
pump-controller-app tlsr9518adk80d FLASH 608828 608828 0 0.0
RAM 52996 52996 0 0.0
shell tlsr9518adk80d FLASH 466816 466816 0 0.0
RAM 68660 68660 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 628662 628662 0 0.0
RAM 52692 52692 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 652698 652698 0 0.0
RAM 56632 56632 0 0.0
thermostat tlsr9518adk80d FLASH 635128 635128 0 0.0
RAM 53400 53400 0 0.0
window-covering tlsr9118bdk40d FLASH 522814 522814 0 0.0
RAM 98532 98532 0 0.0
tizen all-clusters-app arm unknown 4832 4832 0 0.0
FLASH 1706760 1706760 0 0.0
RAM 89340 89340 0 0.0
chip-tool-ubsan arm unknown 10272 10272 0 0.0
FLASH 17492462 17492462 0 0.0
RAM 7599476 7599476 0 0.0

@ksperling-apple ksperling-apple marked this pull request as draft August 27, 2024 09:52
@ksperling-apple
Copy link
Contributor Author

Also need to restore the semantics of WaitForCommissionee, it should only use CASE

@ksperling-apple ksperling-apple marked this pull request as ready for review August 27, 2024 21:18
@ksperling-apple
Copy link
Contributor Author

Fast-tracking Darwin-only change.

Copy link

github-actions bot commented Aug 27, 2024

PR #35209: Size comparison from 4c78d07 to 2d2164c

Increases above 0.2%:

platform target config section 4c78d07 2d2164c change % change
tizen all-clusters-app arm unknown 4832 4848 16 0.3
Full report (77 builds for bl602, bl702, bl702l, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 4c78d07 2d2164c change % change
bl602 lighting-app bl602 FLASH 1278596 1279022 426 0.0
RAM 95880 95880 0 0.0
bl602+mfd FLASH 1292706 1292876 170 0.0
RAM 96024 96024 0 0.0
bl602+rpc FLASH 1317560 1317986 426 0.0
RAM 104304 104304 0 0.0
bl702 lighting-app bl702 FLASH 944224 944636 412 0.0
RAM 15209 15209 0 0.0
bl702+mfd FLASH 946624 947036 412 0.0
RAM 15353 15353 0 0.0
bl702+rpc FLASH 1039536 1039692 156 0.0
RAM 24221 24221 0 0.0
bl706-eth FLASH 647296 647452 156 0.0
RAM 25305 25305 0 0.0
bl706-wifi FLASH 894668 894866 198 0.0
RAM 14525 14525 0 0.0
bl702l lighting-app bl702l FLASH 960884 961040 156 0.0
RAM 16868 16868 0 0.0
bl702l+mfd FLASH 963506 963662 156 0.0
RAM 17012 17012 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 672457 672673 216 0.0
RAM 78300 78300 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 692309 692533 224 0.0
RAM 80932 80932 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 692309 692533 224 0.0
RAM 80932 80932 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 649253 649469 216 0.0
RAM 73368 73368 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 610969 611113 144 0.0
RAM 71292 71292 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 630597 630749 152 0.0
RAM 73844 73844 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 630597 630749 152 0.0
RAM 73844 73844 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 629001 629153 152 0.0
RAM 74308 74308 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 648717 648861 144 0.0
RAM 76860 76860 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 648717 648861 144 0.0
RAM 76860 76860 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 602797 603093 296 0.0
RAM 68348 68348 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 622649 622953 304 0.0
RAM 70980 70980 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 622649 622953 304 0.0
RAM 70980 70980 0 0.0
efr32 lighting-app BRD4187C FLASH 930532 930740 208 0.0
RAM 135096 135096 0 0.0
lock-app BRD4338a FLASH 740604 740724 120 0.0
RAM 208492 208492 0 0.0
window-app BRD4187C FLASH 1015656 1015800 144 0.0
RAM 127036 127036 0 0.0
esp32 all-clusters-app c3devkit DRAM 94200 94200 0 0.0
FLASH 1533674 1534122 448 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115136 115136 0 0.0
FLASH 1543650 1544162 512 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4624 4624 0 0.0
FLASH 2758323 2760195 1872 0.1
RAM 128472 128520 48 0.0
all-clusters-app debug unknown 5408 5408 0 0.0
FLASH 6045250 6047376 2126 0.0
RAM 509992 510088 96 0.0
all-clusters-minimal-app debug unknown 5304 5304 0 0.0
FLASH 5381162 5383170 2008 0.0
RAM 240200 240232 32 0.0
bridge-app debug unknown 5288 5288 0 0.0
FLASH 4729896 4730458 562 0.0
RAM 216952 216952 0 0.0
chip-tool debug unknown 5832 5832 0 0.0
FLASH 12647116 12648900 1784 0.0
RAM 558290 558418 128 0.0
chip-tool-ipv6only arm64 unknown 20352 20352 0 0.0
FLASH 11319484 11321036 1552 0.0
RAM 608336 608488 152 0.0
fabric-admin debug unknown 5664 5664 0 0.0
FLASH 10926467 10926947 480 0.0
RAM 556490 556618 128 0.0
fabric-bridge-app debug unknown 4520 4520 0 0.0
FLASH 4552096 4552130 34 0.0
RAM 203680 203728 48 0.0
lighting-app debug+rpc+ui unknown 5936 5936 0 0.0
FLASH 5665937 5666705 768 0.0
RAM 228008 228056 48 0.0
lock-app debug unknown 5224 5224 0 0.0
FLASH 4785242 4785804 562 0.0
RAM 203736 203768 32 0.0
ota-provider-app debug unknown 4600 4600 0 0.0
FLASH 4424716 4425278 562 0.0
RAM 197720 197752 32 0.0
ota-requestor-app debug unknown 4536 4536 0 0.0
FLASH 4563334 4563896 562 0.0
RAM 202256 202288 32 0.0
shell debug unknown 4176 4176 0 0.0
FLASH 3083581 3085661 2080 0.1
RAM 159000 159040 40 0.0
thermostat-no-ble arm64 unknown 9296 9296 0 0.0
FLASH 4321068 4323356 2288 0.1
RAM 241848 241888 40 0.0
tv-app debug unknown 5504 5504 0 0.0
FLASH 6009765 6010325 560 0.0
RAM 583192 583256 64 0.0
tv-casting-app debug unknown 5168 5168 0 0.0
FLASH 10851901 10853725 1824 0.0
RAM 645720 645832 112 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 910212 910604 392 0.0
RAM 142219 142219 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 882200 882564 364 0.0
RAM 140358 140358 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 841268 841616 348 0.0
RAM 141038 141038 0 0.0
nxp contact k32w0+release FLASH 577580 577732 152 0.0
RAM 70444 70444 0 0.0
k32w1+release FLASH 590208 590352 144 0.0
RAM 62488 62488 0 0.0
light k32w0+release FLASH 613008 613160 152 0.0
RAM 69916 69916 0 0.0
k32w1+release FLASH 674880 675024 144 0.0
RAM 71472 71472 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1641036 1641516 480 0.0
RAM 210920 210920 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1544732 1545132 400 0.0
RAM 207632 207632 0 0.0
light cy8ckit_062s2_43012 FLASH 1464364 1464636 272 0.0
RAM 200728 200728 0 0.0
lock cy8ckit_062s2_43012 FLASH 1463412 1463524 112 0.0
RAM 225064 225064 0 0.0
qpg lighting-app qpg6105+debug FLASH 656068 656300 232 0.0
RAM 105128 105128 0 0.0
lock-app qpg6105+debug FLASH 613992 614144 152 0.0
RAM 99612 99612 0 0.0
stm32 light STM32WB5MM-DK FLASH 478424 478640 216 0.0
RAM 144716 144716 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 620280 620414 134 0.0
RAM 50932 50932 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 682044 682470 426 0.1
RAM 149552 149552 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 774286 774652 366 0.0
RAM 110712 110712 0 0.0
bridge-app tlsr9258a FLASH 679010 679144 134 0.0
RAM 91588 91588 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 621872 622006 134 0.0
RAM 50972 50972 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 707768 708016 248 0.0
RAM 74312 74312 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 620600 620950 350 0.1
RAM 145532 145532 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 806732 807082 350 0.0
RAM 99456 99456 0 0.0
lock-app-dfu tlsr9528a FLASH 654854 654988 134 0.0
RAM 67008 67008 0 0.0
ota-requestor-app tlsr9258a FLASH 697026 697272 246 0.0
RAM 91272 91272 0 0.0
pump-app-usb tlsr9518adk80d FLASH 631318 631452 134 0.0
RAM 55752 55752 0 0.0
pump-controller-app tlsr9518adk80d FLASH 608828 608962 134 0.0
RAM 52996 52996 0 0.0
shell tlsr9518adk80d FLASH 466816 466890 74 0.0
RAM 68660 68660 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 628662 628792 130 0.0
RAM 52692 52692 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 652698 652944 246 0.0
RAM 56632 56632 0 0.0
thermostat tlsr9518adk80d FLASH 635128 635450 322 0.1
RAM 53400 53400 0 0.0
window-covering tlsr9118bdk40d FLASH 522814 522948 134 0.0
RAM 98532 98532 0 0.0
tizen all-clusters-app arm unknown 4832 4848 16 0.3
FLASH 1706760 1710276 3516 0.2
RAM 89340 89376 36 0.0
chip-tool-ubsan arm unknown 10272 10272 0 0.0
FLASH 17492462 17508630 16168 0.1
RAM 7599476 7600684 1208 0.0

@ksperling-apple ksperling-apple merged commit c3a4675 into project-chip:master Aug 28, 2024
65 of 67 checks passed
@ksperling-apple ksperling-apple deleted the 35206-followup branch August 28, 2024 01:43
PeterC1965 pushed a commit to PeterC1965/connectedhomeip that referenced this pull request Aug 28, 2024
* Darwin: Improve CommissioningType naming

* Restore WaitForCommissioneeCommand behavior to always use CASE
shgutte pushed a commit to shgutte/connectedhomeip that referenced this pull request Sep 10, 2024
* Darwin: Improve CommissioningType naming

* Restore WaitForCommissioneeCommand behavior to always use CASE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants