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

Use relative imports in matter.idl module #38196

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

arkq
Copy link
Contributor

@arkq arkq commented Apr 1, 2025

Problem

During transition to matter namespace it will be necessary to install all modules in a single location, otherwise Python will not be able to import modules properly. As a workaround for using package without installation instead of importing from matter namespace we can import the module directly, i.e. from matter.idl import ... -> from idl import .... To do that in build scripts we need to adjust import paths accordingly. Also, we have to use relative imports in matter.idl to allow from idl import ....

Changes

  • Use relative imports in matter.idl module
  • Keep IDL scripts in the scripts directory outside of the matter.idl module - this allows to run scripts if the matter-idl package is not installed after transition to relative imports
  • Reorganize matter.idl.generators module to break circular dependency

Warning

The names and location of the matter.idl scripts were changed. Now all command line tools are available at scripts/py_matter_idl/scripts/*.py.

Testing

CI will verify

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Apr 1, 2025
@arkq arkq marked this pull request as draft April 1, 2025 14:04
Copy link

github-actions bot commented Apr 1, 2025

PR #38196: Size comparison from bd2b4f5 to 6b9b384

Full report (75 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section bd2b4f54 6b9b384 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1098448 1098448 0 0.0
RAM 94850 94850 0 0.0
bl702 lighting-app bl702+eth FLASH 653382 653382 0 0.0
RAM 33533 33533 0 0.0
bl702+wifi FLASH 830638 830638 0 0.0
RAM 22257 22257 0 0.0
bl706+mfd+rpc+littlefs FLASH 1063142 1063142 0 0.0
RAM 32181 32181 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 893944 893944 0 0.0
RAM 26920 26920 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 976820 976820 0 0.0
RAM 24668 24668 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 818564 818564 0 0.0
RAM 120288 120288 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 827484 827484 0 0.0
RAM 125384 125384 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 774344 774344 0 0.0
RAM 113756 113756 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 758620 758620 0 0.0
RAM 113972 113972 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 541934 541934 0 0.0
RAM 205144 205144 0 0.0
lock CC3235SF_LAUNCHXL FLASH 576034 576034 0 0.0
RAM 205392 205392 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 660141 660141 0 0.0
RAM 75428 75428 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 680001 680001 0 0.0
RAM 78068 78068 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 680001 680001 0 0.0
RAM 78068 78068 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 636933 636933 0 0.0
RAM 70496 70496 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 620437 620437 0 0.0
RAM 71676 71676 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 640081 640081 0 0.0
RAM 74220 74220 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 640081 640081 0 0.0
RAM 74220 74220 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 639893 639893 0 0.0
RAM 74676 74676 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 659609 659609 0 0.0
RAM 77220 77220 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 659609 659609 0 0.0
RAM 77220 77220 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 616233 616233 0 0.0
RAM 68764 68764 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 636093 636093 0 0.0
RAM 71404 71404 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 636093 636093 0 0.0
RAM 71404 71404 0 0.0
efr32 lock-app BRD4187C FLASH 941104 941104 0 0.0
RAM 159944 159944 0 0.0
BRD4338a FLASH 735144 735144 0 0.0
RAM 234852 234852 0 0.0
window-app BRD4187C FLASH 1033472 1033472 0 0.0
RAM 128048 128048 0 0.0
esp32 all-clusters-app c3devkit DRAM 103376 103376 0 0.0
FLASH 1785540 1785540 0 0.0
IRAM 83846 83846 0 0.0
m5stack DRAM 121948 121948 0 0.0
FLASH 1752038 1752038 0 0.0
IRAM 117043 117043 0 0.0
linux air-purifier-app debug unknown 4848 4848 0 0.0
FLASH 2720431 2720431 0 0.0
RAM 114184 114184 0 0.0
all-clusters-app debug unknown 5656 5656 0 0.0
FLASH 6189532 6189532 0 0.0
RAM 519464 519464 0 0.0
all-clusters-minimal-app debug unknown 5528 5528 0 0.0
FLASH 5376344 5376344 0 0.0
RAM 224432 224432 0 0.0
bridge-app debug unknown 5544 5544 0 0.0
FLASH 4689310 4689310 0 0.0
RAM 202816 202816 0 0.0
camera-app debug unknown 5672 5672 0 0.0
FLASH 4865414 4865414 0 0.0
RAM 199496 199496 0 0.0
camera-controller debug unknown 6048 6048 0 0.0
FLASH 11497815 11497815 0 0.0
RAM 605512 605512 0 0.0
chip-tool debug unknown 6256 6256 0 0.0
FLASH 13477013 13477013 0 0.0
RAM 613584 613584 0 0.0
chip-tool-ipv6only arm64 unknown 22264 22264 0 0.0
FLASH 11648904 11648904 0 0.0
RAM 665584 665584 0 0.0
fabric-admin debug unknown 5936 5936 0 0.0
FLASH 11745991 11745991 0 0.0
RAM 612944 612944 0 0.0
fabric-bridge-app debug unknown 4800 4800 0 0.0
FLASH 4521166 4521166 0 0.0
RAM 190112 190112 0 0.0
fabric-sync debug unknown 5056 5056 0 0.0
FLASH 5656725 5656725 0 0.0
RAM 474472 474472 0 0.0
lighting-app debug+rpc+ui unknown 6264 6264 0 0.0
FLASH 5584737 5584737 0 0.0
RAM 207064 207064 0 0.0
lock-app debug unknown 5496 5496 0 0.0
FLASH 4757008 4757008 0 0.0
RAM 194208 194208 0 0.0
ota-provider-app debug unknown 4840 4840 0 0.0
FLASH 4379040 4379040 0 0.0
RAM 182928 182928 0 0.0
ota-requestor-app debug unknown 4792 4792 0 0.0
FLASH 4509374 4509374 0 0.0
RAM 187400 187400 0 0.0
shell debug unknown 4272 4272 0 0.0
FLASH 3005740 3005740 0 0.0
RAM 147456 147456 0 0.0
thermostat-no-ble arm64 unknown 9552 9552 0 0.0
FLASH 4197436 4197436 0 0.0
RAM 231912 231912 0 0.0
tv-app debug unknown 5832 5832 0 0.0
FLASH 5994597 5994597 0 0.0
RAM 597888 597888 0 0.0
tv-casting-app debug unknown 5416 5416 0 0.0
FLASH 11627853 11627853 0 0.0
RAM 728672 728672 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 916344 916344 0 0.0
RAM 167443 167443 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 908952 908952 0 0.0
RAM 145687 145687 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 852768 852768 0 0.0
RAM 141223 141223 0 0.0
nxp contact k32w0+release FLASH 588576 588576 0 0.0
RAM 70996 70996 0 0.0
mcxw71+release FLASH 607112 607112 0 0.0
RAM 63272 63272 0 0.0
light k32w0+release FLASH 614396 614396 0 0.0
RAM 70292 70292 0 0.0
k32w1+release FLASH 691424 691424 0 0.0
RAM 72128 72128 0 0.0
lock mcxw71+release FLASH 756880 756880 0 0.0
RAM 67684 67684 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1661660 1661660 0 0.0
RAM 212328 212328 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1565636 1565636 0 0.0
RAM 208544 208544 0 0.0
light cy8ckit_062s2_43012 FLASH 1442540 1442540 0 0.0
RAM 197312 197312 0 0.0
lock cy8ckit_062s2_43012 FLASH 1471428 1471428 0 0.0
RAM 224976 224976 0 0.0
qpg lighting-app qpg6105+debug FLASH 665156 665156 0 0.0
RAM 105172 105172 0 0.0
lock-app qpg6105+debug FLASH 623632 623632 0 0.0
RAM 99792 99792 0 0.0
stm32 light STM32WB5MM-DK FLASH 461136 461136 0 0.0
RAM 141488 141488 0 0.0
telink bridge-app tl7218x FLASH 689102 665976 -23126 -3.4
RAM 101852 90704 -11148 -10.9
light-app-ota-compress-lzma-factory-data tl3218x FLASH 777140 777140 0 0.0
RAM 50120 50120 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 767402 767402 0 0.0
RAM 40420 40420 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 783776 755862 -27914 -3.6
RAM 109308 97540 -11768 -10.8
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 705074 682962 -22112 -3.1
RAM 62620 51588 -11032 -17.6
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 741256 711412 -29844 -4.0
RAM 85808 73408 -12400 -14.5
light-switch-app-ota-shell-factory-data tl3218x_retention FLASH 708958 708958 0 0.0
RAM 37044 37044 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 602996 603422 426 0.1
RAM 148704 138640 -10064 -6.8
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 818382 790856 -27526 -3.4
RAM 107568 96396 -11172 -10.4
tizen all-clusters-app arm unknown 5152 5152 0 0.0
FLASH 1784072 1784072 0 0.0
RAM 94280 94280 0 0.0
chip-tool-ubsan arm unknown 11560 11560 0 0.0
FLASH 19107886 19107886 0 0.0
RAM 8356052 8356052 0 0.0

Copy link

github-actions bot commented Apr 2, 2025

PR #38196: Size comparison from bd2b4f5 to e4bad1b

Full report (75 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section bd2b4f54 e4bad1b change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1098448 1098448 0 0.0
RAM 94850 94850 0 0.0
bl702 lighting-app bl702+eth FLASH 653382 653382 0 0.0
RAM 33533 33533 0 0.0
bl702+wifi FLASH 830638 830638 0 0.0
RAM 22257 22257 0 0.0
bl706+mfd+rpc+littlefs FLASH 1063142 1063142 0 0.0
RAM 32181 32181 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 893944 893944 0 0.0
RAM 26920 26920 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 976820 976820 0 0.0
RAM 24668 24668 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 818564 818564 0 0.0
RAM 120288 120288 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 827484 827484 0 0.0
RAM 125384 125384 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 774344 774344 0 0.0
RAM 113756 113756 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 758620 758620 0 0.0
RAM 113972 113972 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 541934 541934 0 0.0
RAM 205144 205144 0 0.0
lock CC3235SF_LAUNCHXL FLASH 576034 576034 0 0.0
RAM 205392 205392 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 660141 660141 0 0.0
RAM 75428 75428 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 680001 680001 0 0.0
RAM 78068 78068 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 680001 680001 0 0.0
RAM 78068 78068 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 636933 636933 0 0.0
RAM 70496 70496 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 620437 620437 0 0.0
RAM 71676 71676 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 640081 640081 0 0.0
RAM 74220 74220 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 640081 640081 0 0.0
RAM 74220 74220 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 639893 639893 0 0.0
RAM 74676 74676 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 659609 659609 0 0.0
RAM 77220 77220 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 659609 659609 0 0.0
RAM 77220 77220 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 616233 616233 0 0.0
RAM 68764 68764 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 636093 636093 0 0.0
RAM 71404 71404 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 636093 636093 0 0.0
RAM 71404 71404 0 0.0
efr32 lock-app BRD4187C FLASH 941104 941104 0 0.0
RAM 159944 159944 0 0.0
BRD4338a FLASH 735144 735144 0 0.0
RAM 234852 234852 0 0.0
window-app BRD4187C FLASH 1033472 1033472 0 0.0
RAM 128048 128048 0 0.0
esp32 all-clusters-app c3devkit DRAM 103376 103376 0 0.0
FLASH 1785540 1785540 0 0.0
IRAM 83846 83846 0 0.0
m5stack DRAM 121948 121948 0 0.0
FLASH 1752038 1752038 0 0.0
IRAM 117043 117043 0 0.0
linux air-purifier-app debug unknown 4848 4848 0 0.0
FLASH 2720431 2720431 0 0.0
RAM 114184 114184 0 0.0
all-clusters-app debug unknown 5656 5656 0 0.0
FLASH 6189532 6189532 0 0.0
RAM 519464 519464 0 0.0
all-clusters-minimal-app debug unknown 5528 5528 0 0.0
FLASH 5376344 5376344 0 0.0
RAM 224432 224432 0 0.0
bridge-app debug unknown 5544 5544 0 0.0
FLASH 4689310 4689310 0 0.0
RAM 202816 202816 0 0.0
camera-app debug unknown 5672 5672 0 0.0
FLASH 4865414 4865414 0 0.0
RAM 199496 199496 0 0.0
camera-controller debug unknown 6048 6048 0 0.0
FLASH 11497815 11497815 0 0.0
RAM 605512 605512 0 0.0
chip-tool debug unknown 6256 6256 0 0.0
FLASH 13477013 13477013 0 0.0
RAM 613584 613584 0 0.0
chip-tool-ipv6only arm64 unknown 22264 22264 0 0.0
FLASH 11648904 11648904 0 0.0
RAM 665584 665584 0 0.0
fabric-admin debug unknown 5936 5936 0 0.0
FLASH 11745991 11745991 0 0.0
RAM 612944 612944 0 0.0
fabric-bridge-app debug unknown 4800 4800 0 0.0
FLASH 4521166 4521166 0 0.0
RAM 190112 190112 0 0.0
fabric-sync debug unknown 5056 5056 0 0.0
FLASH 5656725 5656725 0 0.0
RAM 474472 474472 0 0.0
lighting-app debug+rpc+ui unknown 6264 6264 0 0.0
FLASH 5584737 5584737 0 0.0
RAM 207064 207064 0 0.0
lock-app debug unknown 5496 5496 0 0.0
FLASH 4757008 4757008 0 0.0
RAM 194208 194208 0 0.0
ota-provider-app debug unknown 4840 4840 0 0.0
FLASH 4379040 4379040 0 0.0
RAM 182928 182928 0 0.0
ota-requestor-app debug unknown 4792 4792 0 0.0
FLASH 4509374 4509374 0 0.0
RAM 187400 187400 0 0.0
shell debug unknown 4272 4272 0 0.0
FLASH 3005740 3005740 0 0.0
RAM 147456 147456 0 0.0
thermostat-no-ble arm64 unknown 9552 9552 0 0.0
FLASH 4197436 4197436 0 0.0
RAM 231912 231912 0 0.0
tv-app debug unknown 5832 5832 0 0.0
FLASH 5994597 5994597 0 0.0
RAM 597888 597888 0 0.0
tv-casting-app debug unknown 5416 5416 0 0.0
FLASH 11627853 11627853 0 0.0
RAM 728672 728672 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 916344 916344 0 0.0
RAM 167443 167443 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 908952 908952 0 0.0
RAM 145687 145687 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 852768 852768 0 0.0
RAM 141223 141223 0 0.0
nxp contact k32w0+release FLASH 588576 588576 0 0.0
RAM 70996 70996 0 0.0
mcxw71+release FLASH 607112 607112 0 0.0
RAM 63272 63272 0 0.0
light k32w0+release FLASH 614396 614396 0 0.0
RAM 70292 70292 0 0.0
k32w1+release FLASH 691424 691424 0 0.0
RAM 72128 72128 0 0.0
lock mcxw71+release FLASH 756880 756880 0 0.0
RAM 67684 67684 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1661660 1661660 0 0.0
RAM 212328 212328 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1565636 1565636 0 0.0
RAM 208544 208544 0 0.0
light cy8ckit_062s2_43012 FLASH 1442540 1442540 0 0.0
RAM 197312 197312 0 0.0
lock cy8ckit_062s2_43012 FLASH 1471428 1471428 0 0.0
RAM 224976 224976 0 0.0
qpg lighting-app qpg6105+debug FLASH 665156 665156 0 0.0
RAM 105172 105172 0 0.0
lock-app qpg6105+debug FLASH 623632 623632 0 0.0
RAM 99792 99792 0 0.0
stm32 light STM32WB5MM-DK FLASH 461136 461136 0 0.0
RAM 141488 141488 0 0.0
telink bridge-app tl7218x FLASH 665976 665976 0 0.0
689102 689102 0 0.0
RAM 90704 90704 0 0.0
101852 101852 0 0.0
light-app-ota-compress-lzma-factory-data tl3218x FLASH 777140 777140 0 0.0
RAM 50120 50120 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 767402 767402 0 0.0
RAM 40420 40420 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 755862 755862 0 0.0
783776 783776 0 0.0
RAM 97540 97540 0 0.0
109308 109308 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 682962 682962 0 0.0
705074 705074 0 0.0
RAM 51588 51588 0 0.0
62620 62620 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 711412 711412 0 0.0
741256 741256 0 0.0
RAM 73408 73408 0 0.0
85808 85808 0 0.0
light-switch-app-ota-shell-factory-data tl3218x_retention FLASH 708958 708958 0 0.0
RAM 37044 37044 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 603422 603422 0 0.0
602996 602996 0 0.0
RAM 138640 138640 0 0.0
148704 148704 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 790852 790856 4 0.0
818382 818386 4 0.0
RAM 96396 96396 0 0.0
107568 107568 0 0.0
tizen all-clusters-app arm unknown 5152 5152 0 0.0
FLASH 1784072 1784072 0 0.0
RAM 94280 94280 0 0.0
chip-tool-ubsan arm unknown 11560 11560 0 0.0
FLASH 19107886 19107886 0 0.0
RAM 8356052 8356052 0 0.0

@arkq arkq marked this pull request as ready for review April 2, 2025 11:43
from .generators.generator import FileSystemGeneratorStorage, GeneratorStorage
from .matter_idl_parser import CreateParser

__all__ = [
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did we flatten the exported parts? In particular:

  • backwards_compatibility seems cleaner than compatibility (compatibility with what)
  • IDL generally is the matter files. Pulling XMLs is a bit unclear as those are different types and should probably be separate namespace (especially for ParseSource ... what source)
  • types seems a bit generic and likely to name clash

The others seem somewhat reasonable, however overally "why?"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The others seem somewhat reasonable, however overally "why?"

I've created this top level imports in order to simplify mater.idl imports in case of using this package directly from the source (without installing). Then the import can look like this:

try:
    from matter import idl
except ImportError:
    sys.path.append(str(Path(__file__).resolve().parent / "py_matter_idl" / "matter"))
    import idl

Anyway, if it seems off for the idl package to have top level imports I will remove it. The try/except will be longer, though.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've simply pulled all submodules into the matter.idl without any aliasing. So, in the scripts we can do simple from matter import idl and hopefully every class/function usage will be clear now.

@mergify mergify bot added the conflict label Apr 2, 2025
@mergify mergify bot removed the conflict label Apr 3, 2025
Copy link

github-actions bot commented Apr 3, 2025

PR #38196: Size comparison from 86e1daf to c89b15b

Full report (75 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 86e1daf c89b15b change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1098486 1098486 0 0.0
RAM 94850 94850 0 0.0
bl702 lighting-app bl702+eth FLASH 653410 653410 0 0.0
RAM 33533 33533 0 0.0
bl702+wifi FLASH 830666 830666 0 0.0
RAM 22257 22257 0 0.0
bl706+mfd+rpc+littlefs FLASH 1063170 1063170 0 0.0
RAM 32181 32181 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 893972 893972 0 0.0
RAM 26920 26920 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 976848 976848 0 0.0
RAM 24668 24668 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 818652 818652 0 0.0
RAM 120288 120288 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 827572 827572 0 0.0
RAM 125384 125384 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 774432 774432 0 0.0
RAM 113756 113756 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 758692 758692 0 0.0
RAM 113972 113972 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 542006 542006 0 0.0
RAM 205144 205144 0 0.0
lock CC3235SF_LAUNCHXL FLASH 576106 576106 0 0.0
RAM 205392 205392 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 660221 660221 0 0.0
RAM 75428 75428 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 680081 680081 0 0.0
RAM 78068 78068 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 680081 680081 0 0.0
RAM 78068 78068 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 637013 637013 0 0.0
RAM 70496 70496 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 620517 620517 0 0.0
RAM 71676 71676 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 640161 640161 0 0.0
RAM 74220 74220 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 640161 640161 0 0.0
RAM 74220 74220 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 639973 639973 0 0.0
RAM 74676 74676 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 659689 659689 0 0.0
RAM 77220 77220 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 659689 659689 0 0.0
RAM 77220 77220 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 616313 616313 0 0.0
RAM 68764 68764 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 636173 636173 0 0.0
RAM 71404 71404 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 636173 636173 0 0.0
RAM 71404 71404 0 0.0
efr32 lock-app BRD4187C FLASH 941200 941200 0 0.0
RAM 159944 159944 0 0.0
BRD4338a FLASH 735128 735128 0 0.0
RAM 234852 234852 0 0.0
window-app BRD4187C FLASH 1033472 1033472 0 0.0
RAM 128048 128048 0 0.0
esp32 all-clusters-app c3devkit DRAM 103376 103376 0 0.0
FLASH 1785582 1785582 0 0.0
IRAM 83846 83846 0 0.0
m5stack DRAM 121948 121948 0 0.0
FLASH 1752102 1752102 0 0.0
IRAM 117043 117043 0 0.0
linux air-purifier-app debug unknown 4848 4848 0 0.0
FLASH 2720553 2720553 0 0.0
RAM 114184 114184 0 0.0
all-clusters-app debug unknown 5656 5656 0 0.0
FLASH 6191868 6191868 0 0.0
RAM 531208 531208 0 0.0
all-clusters-minimal-app debug unknown 5528 5528 0 0.0
FLASH 5376504 5376504 0 0.0
RAM 224432 224432 0 0.0
bridge-app debug unknown 5544 5544 0 0.0
FLASH 4689438 4689438 0 0.0
RAM 202816 202816 0 0.0
camera-app debug unknown 8720 8720 0 0.0
FLASH 6532651 6532651 0 0.0
RAM 222040 222040 0 0.0
camera-controller debug unknown 9120 9120 0 0.0
FLASH 13716843 13716843 0 0.0
RAM 645928 645928 0 0.0
chip-tool debug unknown 6256 6256 0 0.0
FLASH 14103379 14103379 0 0.0
RAM 635984 635984 0 0.0
chip-tool-ipv6only arm64 unknown 22872 22872 0 0.0
FLASH 12187192 12187192 0 0.0
RAM 688624 688624 0 0.0
fabric-admin debug unknown 5936 5936 0 0.0
FLASH 12249747 12249747 0 0.0
RAM 635376 635376 0 0.0
fabric-bridge-app debug unknown 4800 4800 0 0.0
FLASH 4521294 4521294 0 0.0
RAM 190112 190112 0 0.0
fabric-sync debug unknown 5056 5056 0 0.0
FLASH 5659093 5659093 0 0.0
RAM 486216 486216 0 0.0
lighting-app debug+rpc+ui unknown 6264 6264 0 0.0
FLASH 5584865 5584865 0 0.0
RAM 207064 207064 0 0.0
lock-app debug unknown 5496 5496 0 0.0
FLASH 4757170 4757170 0 0.0
RAM 194208 194208 0 0.0
ota-provider-app debug unknown 4840 4840 0 0.0
FLASH 4379202 4379202 0 0.0
RAM 182928 182928 0 0.0
ota-requestor-app debug unknown 4792 4792 0 0.0
FLASH 4509566 4509566 0 0.0
RAM 187400 187400 0 0.0
shell debug unknown 4272 4272 0 0.0
FLASH 3005868 3005868 0 0.0
RAM 147456 147456 0 0.0
thermostat-no-ble arm64 unknown 9552 9552 0 0.0
FLASH 4197892 4197892 0 0.0
RAM 231912 231912 0 0.0
tv-app debug unknown 5832 5832 0 0.0
FLASH 5996997 5996997 0 0.0
RAM 609632 609632 0 0.0
tv-casting-app debug unknown 5416 5416 0 0.0
FLASH 12264237 12264237 0 0.0
RAM 754256 754256 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 916424 916424 0 0.0
RAM 167443 167443 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 909048 909048 0 0.0
RAM 145687 145687 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 852848 852848 0 0.0
RAM 141223 141223 0 0.0
nxp contact k32w0+release FLASH 588656 588656 0 0.0
RAM 70996 70996 0 0.0
mcxw71+release FLASH 607200 607200 0 0.0
RAM 63272 63272 0 0.0
light k32w0+release FLASH 614476 614476 0 0.0
RAM 70292 70292 0 0.0
k32w1+release FLASH 691496 691496 0 0.0
RAM 72128 72128 0 0.0
lock mcxw71+release FLASH 756960 756960 0 0.0
RAM 67684 67684 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1661660 1661660 0 0.0
RAM 212328 212328 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1565636 1565636 0 0.0
RAM 208544 208544 0 0.0
light cy8ckit_062s2_43012 FLASH 1442540 1442540 0 0.0
RAM 197312 197312 0 0.0
lock cy8ckit_062s2_43012 FLASH 1471428 1471428 0 0.0
RAM 224976 224976 0 0.0
qpg lighting-app qpg6105+debug FLASH 665244 665244 0 0.0
RAM 105172 105172 0 0.0
lock-app qpg6105+debug FLASH 623712 623712 0 0.0
RAM 99792 99792 0 0.0
stm32 light STM32WB5MM-DK FLASH 461216 461216 0 0.0
RAM 141488 141488 0 0.0
telink bridge-app tl7218x FLASH 666072 666072 0 0.0
689198 689198 0 0.0
RAM 90704 90704 0 0.0
101852 101852 0 0.0
light-app-ota-compress-lzma-factory-data tl3218x FLASH 777236 777236 0 0.0
RAM 50120 50120 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 767498 767498 0 0.0
RAM 40420 40420 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 755958 755958 0 0.0
783872 783872 0 0.0
RAM 97540 97540 0 0.0
109308 109308 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 683058 683058 0 0.0
705170 705170 0 0.0
RAM 51588 51588 0 0.0
62620 62620 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 711508 711508 0 0.0
741352 741352 0 0.0
RAM 73408 73408 0 0.0
85808 85808 0 0.0
light-switch-app-ota-shell-factory-data tl3218x_retention FLASH 709054 709054 0 0.0
RAM 37044 37044 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 603518 603518 0 0.0
603092 603092 0 0.0
RAM 138640 138640 0 0.0
148704 148704 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 790948 790952 4 0.0
818478 818482 4 0.0
RAM 96396 96396 0 0.0
107568 107568 0 0.0
tizen all-clusters-app arm unknown 5152 5152 0 0.0
FLASH 1784344 1784344 0 0.0
RAM 94280 94280 0 0.0
chip-tool-ubsan arm unknown 11864 11864 0 0.0
FLASH 20110286 20110286 0 0.0
RAM 8811352 8811352 0 0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants