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

cluster model decoupling - declare the codegen (ember) version and implement iteration #33345

Merged
merged 90 commits into from
Jun 10, 2024

Conversation

andy31415
Copy link
Contributor

@andy31415 andy31415 commented May 7, 2024

Define a mostly-empty CodegenDataModel::Model except attribute-tree iteration.
Implement the attribute-tree iteration and add unit tests via ember mocks.

Changes contained:

  • define src/app/codegen-interaction-model to contain a interaction model that uses code-generated data (i.e. ember/zap metadata) for execution
  • implement the attribute metadata tree iteration methods on this
  • add unit tests for attribute metadata iteration based on ember mocks
  • add a kInvalid static constants to iteration types, so it is clear when an invalid value is created
  • based on offline discussions, I am moving the "iteration" to more of a "metadata provider" model so that we provide more information about the datamodel/cluster-tree. This is so that IM could implement more of the built-in/required things by the spec (e.g. ACL, global attributes, timed operation checks etc).

@github-actions github-actions bot added the app label May 7, 2024
Copy link

github-actions bot commented Jun 7, 2024

PR #33345: Size comparison from 72450e4 to 7fda3b6

Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 72450e4 7fda3b6 change % change
bl602 lighting-app bl602 FLASH 1268040 1268040 0 0.0
RAM 95424 95424 0 0.0
bl602+mfd FLASH 1282316 1282318 2 0.0
RAM 95576 95576 0 0.0
bl602+rpc FLASH 1307254 1307254 0 0.0
RAM 103856 103856 0 0.0
bl702 lighting-app bl702 FLASH 1088680 1088680 0 0.0
RAM 14897 14897 0 0.0
bl702+mfd FLASH 1099372 1099374 2 0.0
RAM 15049 15049 0 0.0
bl702+rpc FLASH 1178504 1178504 0 0.0
RAM 23925 23925 0 0.0
bl706-eth FLASH 872112 872112 0 0.0
RAM 27016 27016 0 0.0
bl706-wifi FLASH 1123798 1123798 0 0.0
RAM 14349 14349 0 0.0
bl702l lighting-app bl702l FLASH 1075566 1075566 0 0.0
RAM 21468 21468 0 0.0
bl702l+mfd FLASH 1086826 1086828 2 0.0
RAM 21628 21628 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 797872 797948 76 0.0
RAM 103184 103184 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 813472 813552 80 0.0
RAM 113664 113664 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 802776 802852 76 0.0
RAM 107784 107784 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 755544 755620 76 0.0
RAM 101884 101884 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 741184 741260 76 0.0
RAM 102132 102132 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 604930 605022 92 0.0
RAM 204608 204608 0 0.0
lock CC3235SF_LAUNCHXL FLASH 650398 650490 92 0.0
RAM 204868 204868 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 661589 661589 0 0.0
RAM 74608 74608 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 681441 681441 0 0.0
RAM 77240 77240 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 681441 681441 0 0.0
RAM 77240 77240 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 638377 638377 0 0.0
RAM 69676 69676 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 603661 603661 0 0.0
RAM 70312 70312 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 623305 623305 0 0.0
RAM 72864 72864 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 623305 623305 0 0.0
RAM 72864 72864 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 619277 619277 0 0.0
RAM 73328 73328 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 639001 639001 0 0.0
RAM 75880 75880 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 639001 639001 0 0.0
RAM 75880 75880 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 587813 587813 0 0.0
RAM 67296 67296 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 607657 607657 0 0.0
RAM 69928 69928 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 607657 607657 0 0.0
RAM 69928 69928 0 0.0
efr32 lighting-app BRD4187C FLASH 888216 888216 0 0.0
RAM 183520 183520 0 0.0
lock-app BRD4338a FLASH 701328 701408 80 0.0
RAM 242724 242804 80 0.0
window-app BRD4187C FLASH 968492 968484 -8 -0.0
RAM 167952 167952 0 0.0
esp32 all-clusters-app c3devkit DRAM 88420 88420 0 0.0
FLASH 1466358 1466358 0 0.0
IRAM 75570 75570 0 0.0
m5stack DRAM 114892 114892 0 0.0
FLASH 1535559 1535559 0 0.0
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4576 4576 0 0.0
FLASH 2532496 2532688 192 0.0
RAM 129104 129104 0 0.0
all-clusters-app debug unknown 5344 5344 0 0.0
FLASH 5568430 5568606 176 0.0
RAM 482216 482216 0 0.0
all-clusters-minimal-app debug unknown 5264 5264 0 0.0
FLASH 5052264 5052456 192 0.0
RAM 236792 236792 0 0.0
bridge-app debug unknown 5232 5232 0 0.0
FLASH 4478024 4478200 176 0.0
RAM 216816 216816 0 0.0
chip-tool debug unknown 5744 5744 0 0.0
FLASH 11519239 11519399 160 0.0
RAM 521762 521762 0 0.0
chip-tool-ipv6only arm64 unknown 17384 17384 0 0.0
FLASH 10667636 10667812 176 0.0
RAM 569744 569744 0 0.0
fabric-admin debug unknown 5600 5600 0 0.0
FLASH 11289287 11289479 192 0.0
RAM 515330 515330 0 0.0
fabric-bridge-app debug unknown 5240 5240 0 0.0
FLASH 4347608 4347784 176 0.0
RAM 208864 208864 0 0.0
lighting-app debug+rpc+ui unknown 5864 5864 0 0.0
FLASH 5366258 5366434 176 0.0
RAM 225424 225424 0 0.0
lock-app debug unknown 5184 5184 0 0.0
FLASH 4542904 4543096 192 0.0
RAM 204240 204240 0 0.0
ota-provider-app debug unknown 4552 4552 0 0.0
FLASH 4177816 4177976 160 0.0
RAM 193200 193200 0 0.0
ota-requestor-app debug unknown 4488 4488 0 0.0
FLASH 4302184 4302360 176 0.0
RAM 197712 197712 0 0.0
shell debug unknown 4112 4112 0 0.0
FLASH 2800173 2800317 144 0.0
RAM 154424 154424 0 0.0
thermostat-no-ble arm64 unknown 9160 9160 0 0.0
FLASH 4150228 4150404 176 0.0
RAM 234616 234616 0 0.0
tv-app debug unknown 5472 5472 0 0.0
FLASH 5588664 5588856 192 0.0
RAM 344872 344872 0 0.0
tv-casting-app debug unknown 5104 5104 0 0.0
FLASH 9568070 9568214 144 0.0
RAM 340288 340288 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1497548 1497548 0 0.0
RAM 226168 226168 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 873664 873664 0 0.0
RAM 139225 139225 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 949208 949208 0 0.0
RAM 137653 137653 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 822188 822188 0 0.0
RAM 138123 138123 0 0.0
nxp contact k32w0+release FLASH 575652 575652 0 0.0
RAM 70120 70120 0 0.0
k32w1+release FLASH 590912 590912 0 0.0
RAM 74152 74152 0 0.0
light k32w0+release FLASH 609624 609624 0 0.0
RAM 69596 69596 0 0.0
k32w1+release FLASH 673992 673992 0 0.0
RAM 82904 82904 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1610292 1610364 72 0.0
RAM 207228 207228 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1534492 1534572 80 0.0
RAM 204132 204132 0 0.0
light cy8ckit_062s2_43012 FLASH 1460772 1460860 88 0.0
RAM 197412 197412 0 0.0
lock cy8ckit_062s2_43012 FLASH 1462772 1462844 72 0.0
RAM 224476 224476 0 0.0
qpg lighting-app qpg6105+debug FLASH 650576 650576 0 0.0
RAM 104652 104652 0 0.0
lock-app qpg6105+debug FLASH 610276 610276 0 0.0
RAM 99328 99328 0 0.0
stm32 light STM32WB5MM-DK FLASH 472036 472036 0 0.0
RAM 141748 141748 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 625046 625046 0 0.0
RAM 49952 49952 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 600864 600864 0 0.0
RAM 130384 130384 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 770184 770184 0 0.0
RAM 110148 110148 0 0.0
bridge-app tlsr9258a FLASH 668176 668176 0 0.0
RAM 94768 94768 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 626798 626798 0 0.0
RAM 49996 49996 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 713688 713688 0 0.0
RAM 76588 76588 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 558740 558740 0 0.0
RAM 126640 126640 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 793506 793506 0 0.0
RAM 99996 99996 0 0.0
lock-app-dfu tlsr9528a FLASH 659986 659986 0 0.0
RAM 69276 69276 0 0.0
ota-requestor-app tlsr9258a FLASH 687174 687174 0 0.0
RAM 94492 94492 0 0.0
pump-app tlsr9518adk80d FLASH 608998 608998 0 0.0
RAM 56376 56376 0 0.0
pump-controller-app tlsr9518adk80d FLASH 599346 599346 0 0.0
RAM 56176 56176 0 0.0
shell tlsr9518adk80d FLASH 462618 462618 0 0.0
RAM 71852 71852 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 633192 633192 0 0.0
RAM 51624 51624 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 642846 642846 0 0.0
RAM 59812 59812 0 0.0
thermostat tlsr9518adk80d FLASH 618248 618248 0 0.0
RAM 56500 56500 0 0.0
window-covering tlsr9118bdk40d FLASH 464864 464864 0 0.0
RAM 82272 82272 0 0.0
tizen all-clusters-app arm unknown 1556 1552 -4 -0.3
FLASH 1613824 1612716 -1108 -0.1
RAM 45452 45460 8 0.0
chip-tool-ubsan arm unknown 2364 2360 -4 -0.2
FLASH 15638962 1563540 -3560 -0.0
RAM 6828380 6825656 -2724 -0.0

Copy link

github-actions bot commented Jun 10, 2024

PR #33345: Size comparison from 853a386 to 8ff725d

Full report (8 builds for cc32xx, mbed, qpg, stm32, tizen)
platform target config section 853a386 8ff725d change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 605142 605142 0 0.0
RAM 204608 204608 0 0.0
lock CC3235SF_LAUNCHXL FLASH 650594 650594 0 0.0
RAM 204868 204868 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1497644 1497644 0 0.0
RAM 226168 226168 0 0.0
qpg lighting-app qpg6105+debug FLASH 650656 650656 0 0.0
RAM 104652 104652 0 0.0
lock-app qpg6105+debug FLASH 610348 610348 0 0.0
RAM 99328 99328 0 0.0
stm32 light STM32WB5MM-DK FLASH 472124 472124 0 0.0
RAM 141748 141748 0 0.0
tizen all-clusters-app arm unknown 1552 1552 0 0.0
FLASH 1612948 1612948 0 0.0
RAM 45460 45460 0 0.0
chip-tool-ubsan arm unknown 2360 2360 0 0.0
FLASH 1563540 1563540 0 0.0
RAM 6825656 6825656 0 0.0

Copy link

github-actions bot commented Jun 10, 2024

PR #33345: Size comparison from 853a386 to b52b362

Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 853a386 b52b362 change % change
bl602 lighting-app bl602 FLASH 1268096 1267840 -256 -0.0
RAM 95424 95424 0 0.0
bl602+mfd FLASH 1282374 1282118 -256 -0.0
RAM 95576 95576 0 0.0
bl602+rpc FLASH 1307318 1307062 -256 -0.0
RAM 103856 103856 0 0.0
bl702 lighting-app bl702 FLASH 1088740 1088740 0 0.0
RAM 14897 14897 0 0.0
bl702+mfd FLASH 1099434 1099434 0 0.0
RAM 15049 15049 0 0.0
bl702+rpc FLASH 1178564 1178564 0 0.0
RAM 23925 23925 0 0.0
bl706-eth FLASH 872172 871916 -256 -0.0
RAM 27016 27016 0 0.0
bl706-wifi FLASH 1123858 1123682 -176 -0.0
RAM 14349 14349 0 0.0
bl702l lighting-app bl702l FLASH 1075626 1075626 0 0.0
RAM 21468 21468 0 0.0
bl702l+mfd FLASH 1086888 1086888 0 0.0
RAM 21628 21628 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 798044 798044 0 0.0
RAM 103184 103184 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 813632 813632 0 0.0
RAM 113664 113664 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 802916 802916 0 0.0
RAM 107784 107784 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 755684 755684 0 0.0
RAM 101884 101884 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 741340 741340 0 0.0
RAM 102132 102132 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 605142 604846 -296 -0.0
RAM 204608 204608 0 0.0
lock CC3235SF_LAUNCHXL FLASH 650594 650298 -296 -0.0
RAM 204868 204868 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 661693 661693 0 0.0
RAM 74608 74608 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 681545 681545 0 0.0
RAM 77240 77240 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 681545 681545 0 0.0
RAM 77240 77240 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 638473 638473 0 0.0
RAM 69676 69676 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 603765 603765 0 0.0
RAM 70312 70312 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 623401 623401 0 0.0
RAM 72864 72864 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 623401 623401 0 0.0
RAM 72864 72864 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 619373 619373 0 0.0
RAM 73328 73328 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 639097 639097 0 0.0
RAM 75880 75880 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 639097 639097 0 0.0
RAM 75880 75880 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 587909 587909 0 0.0
RAM 67296 67296 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 607753 607753 0 0.0
RAM 69928 69928 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 607753 607753 0 0.0
RAM 69928 69928 0 0.0
efr32 lighting-app BRD4187C FLASH 888288 888280 -8 -0.0
RAM 183520 183520 0 0.0
lock-app BRD4338a FLASH 701496 701200 -296 -0.0
RAM 242804 242804 0 0.0
window-app BRD4187C FLASH 968588 968588 0 0.0
RAM 167952 167952 0 0.0
esp32 all-clusters-app c3devkit DRAM 88420 88420 0 0.0
FLASH 1466450 1466124 -326 -0.0
IRAM 75570 75570 0 0.0
m5stack DRAM 114892 114892 0 0.0
FLASH 1535635 1535367 -268 -0.0
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4576 4576 0 0.0
FLASH 2533056 2532240 -816 -0.0
RAM 129104 129104 0 0.0
all-clusters-app debug unknown 5344 5344 0 0.0
FLASH 5568958 5568142 -816 -0.0
RAM 482216 482216 0 0.0
all-clusters-minimal-app debug unknown 5264 5264 0 0.0
FLASH 5052808 5051976 -832 -0.0
RAM 236792 236792 0 0.0
bridge-app debug unknown 5232 5232 0 0.0
FLASH 4478584 4477768 -816 -0.0
RAM 216816 216816 0 0.0
chip-tool debug unknown 5744 5744 0 0.0
FLASH 11519399 11518679 -720 -0.0
RAM 521762 521762 0 0.0
chip-tool-ipv6only arm64 unknown 17384 17384 0 0.0
FLASH 10667812 10666900 -912 -0.0
RAM 569744 569744 0 0.0
fabric-admin debug unknown 5600 5600 0 0.0
FLASH 11289479 11288759 -720 -0.0
RAM 515330 515330 0 0.0
fabric-bridge-app debug unknown 5240 5240 0 0.0
FLASH 4348168 4347352 -816 -0.0
RAM 208864 208864 0 0.0
lighting-app debug+rpc+ui unknown 5864 5864 0 0.0
FLASH 5366818 5366002 -816 -0.0
RAM 225424 225424 0 0.0
lock-app debug unknown 5184 5184 0 0.0
FLASH 4543448 4542616 -832 -0.0
RAM 204240 204240 0 0.0
ota-provider-app debug unknown 4552 4552 0 0.0
FLASH 4178344 4177528 -816 -0.0
RAM 193200 193200 0 0.0
ota-requestor-app debug unknown 4488 4488 0 0.0
FLASH 4302712 4301896 -816 -0.0
RAM 197712 197712 0 0.0
shell debug unknown 4112 4112 0 0.0
FLASH 2800669 2799949 -720 -0.0
RAM 154424 154424 0 0.0
thermostat-no-ble arm64 unknown 9160 9160 0 0.0
FLASH 4150660 4149604 -1056 -0.0
RAM 234616 234616 0 0.0
tv-app debug unknown 5472 5472 0 0.0
FLASH 5589400 5588696 -704 -0.0
RAM 344872 344872 0 0.0
tv-casting-app debug unknown 5104 5104 0 0.0
FLASH 9568598 9567878 -720 -0.0
RAM 340288 340288 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1497644 1497452 -192 -0.0
RAM 226168 226168 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 873744 873744 0 0.0
RAM 139225 139225 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 949208 948980 -228 -0.0
RAM 137653 137653 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 822268 822268 0 0.0
RAM 138123 138123 0 0.0
nxp contact k32w0+release FLASH 575652 575652 0 0.0
RAM 70120 70120 0 0.0
k32w1+release FLASH 590912 590912 0 0.0
RAM 74152 74152 0 0.0
light k32w0+release FLASH 609672 609672 0 0.0
RAM 69596 69596 0 0.0
k32w1+release FLASH 674088 674088 0 0.0
RAM 82904 82904 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1610444 1610156 -288 -0.0
RAM 207228 207228 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1534660 1534356 -304 -0.0
RAM 204132 204132 0 0.0
light cy8ckit_062s2_43012 FLASH 1460940 1460652 -288 -0.0
RAM 197412 197412 0 0.0
lock cy8ckit_062s2_43012 FLASH 1462932 1462628 -304 -0.0
RAM 224476 224476 0 0.0
qpg lighting-app qpg6105+debug FLASH 650656 650656 0 0.0
RAM 104652 104652 0 0.0
lock-app qpg6105+debug FLASH 610348 610348 0 0.0
RAM 99328 99328 0 0.0
stm32 light STM32WB5MM-DK FLASH 472124 472124 0 0.0
RAM 141748 141748 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 625098 625098 0 0.0
RAM 49952 49952 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 600916 600616 -300 -0.0
RAM 130384 130384 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 770236 770236 0 0.0
RAM 110148 110148 0 0.0
bridge-app tlsr9258a FLASH 668228 668228 0 0.0
RAM 94768 94768 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 626850 626850 0 0.0
RAM 49996 49996 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 713740 713740 0 0.0
RAM 76588 76588 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 558792 558492 -300 -0.1
RAM 126640 126640 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 793558 793558 0 0.0
RAM 99996 99996 0 0.0
lock-app-dfu tlsr9528a FLASH 660038 660038 0 0.0
RAM 69276 69276 0 0.0
ota-requestor-app tlsr9258a FLASH 687226 687226 0 0.0
RAM 94492 94492 0 0.0
pump-app tlsr9518adk80d FLASH 609050 609050 0 0.0
RAM 56376 56376 0 0.0
pump-controller-app tlsr9518adk80d FLASH 599398 599398 0 0.0
RAM 56176 56176 0 0.0
shell tlsr9518adk80d FLASH 462618 462618 0 0.0
RAM 71852 71852 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 633244 633244 0 0.0
RAM 51624 51624 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 642898 642898 0 0.0
RAM 59812 59812 0 0.0
thermostat tlsr9518adk80d FLASH 618300 618300 0 0.0
RAM 56500 56500 0 0.0
window-covering tlsr9118bdk40d FLASH 464916 464616 -300 -0.1
RAM 82272 82272 0 0.0
tizen all-clusters-app arm unknown 1552 1552 0 0.0
FLASH 1612948 1612948 0 0.0
RAM 45460 45460 0 0.0
chip-tool-ubsan arm unknown 2360 2360 0 0.0
FLASH 1563540 1563540 0 0.0
RAM 6825656 6825656 0 0.0

Copy link

github-actions bot commented Jun 10, 2024

PR #33345: Size comparison from 853a386 to 41012d9

Full report (3 builds for cc32xx, stm32)
platform target config section 853a386 41012d9 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 605142 604846 -296 -0.0
RAM 204608 204608 0 0.0
lock CC3235SF_LAUNCHXL FLASH 650594 650298 -296 -0.0
RAM 204868 204868 0 0.0
stm32 light STM32WB5MM-DK FLASH 472124 472124 0 0.0
RAM 141748 141748 0 0.0

Copy link

github-actions bot commented Jun 10, 2024

PR #33345: Size comparison from 853a386 to 988d4d5

Full report (11 builds for cc32xx, mbed, nrfconnect, qpg, stm32, tizen)
platform target config section 853a386 988d4d5 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 605142 604846 -296 -0.0
RAM 204608 204608 0 0.0
lock CC3235SF_LAUNCHXL FLASH 650594 650298 -296 -0.0
RAM 204868 204868 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1497644 1497452 -192 -0.0
RAM 226168 226168 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 873744 873744 0 0.0
RAM 139225 139225 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 949208 948980 -228 -0.0
RAM 137653 137653 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 822268 822268 0 0.0
RAM 138123 138123 0 0.0
qpg lighting-app qpg6105+debug FLASH 650656 650656 0 0.0
RAM 104652 104652 0 0.0
lock-app qpg6105+debug FLASH 610348 610348 0 0.0
RAM 99328 99328 0 0.0
stm32 light STM32WB5MM-DK FLASH 472124 472124 0 0.0
RAM 141748 141748 0 0.0
tizen all-clusters-app arm unknown 1552 1552 0 0.0
FLASH 1612948 1612948 0 0.0
RAM 45460 45460 0 0.0
chip-tool-ubsan arm unknown 2360 2360 0 0.0
FLASH 1563540 1563540 0 0.0
RAM 6825656 6825656 0 0.0

src/app/codegen-interaction-model/CodegenDataModel.cpp Outdated Show resolved Hide resolved
src/app/interaction-model/MetadataTypes.h Outdated Show resolved Hide resolved
src/app/interaction-model/MetadataTypes.h Outdated Show resolved Hide resolved
src/app/interaction-model/MetadataTypes.h Show resolved Hide resolved
Copy link

github-actions bot commented Jun 10, 2024

PR #33345: Size comparison from 853a386 to 82a6824

Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 853a386 82a6824 change % change
bl602 lighting-app bl602 FLASH 1268096 1267840 -256 -0.0
RAM 95424 95424 0 0.0
bl602+mfd FLASH 1282374 1282118 -256 -0.0
RAM 95576 95576 0 0.0
bl602+rpc FLASH 1307318 1307062 -256 -0.0
RAM 103856 103856 0 0.0
bl702 lighting-app bl702 FLASH 1088740 1088740 0 0.0
RAM 14897 14897 0 0.0
bl702+mfd FLASH 1099434 1099434 0 0.0
RAM 15049 15049 0 0.0
bl702+rpc FLASH 1178564 1178564 0 0.0
RAM 23925 23925 0 0.0
bl706-eth FLASH 872172 871916 -256 -0.0
RAM 27016 27016 0 0.0
bl706-wifi FLASH 1123858 1123682 -176 -0.0
RAM 14349 14349 0 0.0
bl702l lighting-app bl702l FLASH 1075626 1075626 0 0.0
RAM 21468 21468 0 0.0
bl702l+mfd FLASH 1086888 1086888 0 0.0
RAM 21628 21628 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 798044 798044 0 0.0
RAM 103184 103184 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 813632 813632 0 0.0
RAM 113664 113664 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 802916 802916 0 0.0
RAM 107784 107784 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 755684 755684 0 0.0
RAM 101884 101884 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 741340 741340 0 0.0
RAM 102132 102132 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 605142 604846 -296 -0.0
RAM 204608 204608 0 0.0
lock CC3235SF_LAUNCHXL FLASH 650594 650298 -296 -0.0
RAM 204868 204868 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 661693 661693 0 0.0
RAM 74608 74608 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 681545 681545 0 0.0
RAM 77240 77240 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 681545 681545 0 0.0
RAM 77240 77240 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 638473 638473 0 0.0
RAM 69676 69676 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 603765 603765 0 0.0
RAM 70312 70312 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 623401 623401 0 0.0
RAM 72864 72864 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 623401 623401 0 0.0
RAM 72864 72864 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 619373 619373 0 0.0
RAM 73328 73328 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 639097 639097 0 0.0
RAM 75880 75880 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 639097 639097 0 0.0
RAM 75880 75880 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 587909 587909 0 0.0
RAM 67296 67296 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 607753 607753 0 0.0
RAM 69928 69928 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 607753 607753 0 0.0
RAM 69928 69928 0 0.0
efr32 lighting-app BRD4187C FLASH 888288 888280 -8 -0.0
RAM 183520 183520 0 0.0
lock-app BRD4338a FLASH 701496 701200 -296 -0.0
RAM 242804 242804 0 0.0
window-app BRD4187C FLASH 968588 968588 0 0.0
RAM 167952 167952 0 0.0
esp32 all-clusters-app c3devkit DRAM 88420 88420 0 0.0
FLASH 1466450 1466124 -326 -0.0
IRAM 75570 75570 0 0.0
m5stack DRAM 114892 114892 0 0.0
FLASH 1535635 1535367 -268 -0.0
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4576 4576 0 0.0
FLASH 2533056 2532240 -816 -0.0
RAM 129104 129104 0 0.0
all-clusters-app debug unknown 5344 5344 0 0.0
FLASH 5568958 5568142 -816 -0.0
RAM 482216 482216 0 0.0
all-clusters-minimal-app debug unknown 5264 5264 0 0.0
FLASH 5052808 5051976 -832 -0.0
RAM 236792 236792 0 0.0
bridge-app debug unknown 5232 5232 0 0.0
FLASH 4478584 4477768 -816 -0.0
RAM 216816 216816 0 0.0
chip-tool debug unknown 5744 5744 0 0.0
FLASH 11519399 11518679 -720 -0.0
RAM 521762 521762 0 0.0
chip-tool-ipv6only arm64 unknown 17384 17384 0 0.0
FLASH 10667812 10666900 -912 -0.0
RAM 569744 569744 0 0.0
fabric-admin debug unknown 5600 5600 0 0.0
FLASH 11289479 11288759 -720 -0.0
RAM 515330 515330 0 0.0
fabric-bridge-app debug unknown 5240 5240 0 0.0
FLASH 4348168 4347352 -816 -0.0
RAM 208864 208864 0 0.0
lighting-app debug+rpc+ui unknown 5864 5864 0 0.0
FLASH 5366818 5366002 -816 -0.0
RAM 225424 225424 0 0.0
lock-app debug unknown 5184 5184 0 0.0
FLASH 4543448 4542616 -832 -0.0
RAM 204240 204240 0 0.0
ota-provider-app debug unknown 4552 4552 0 0.0
FLASH 4178344 4177528 -816 -0.0
RAM 193200 193200 0 0.0
ota-requestor-app debug unknown 4488 4488 0 0.0
FLASH 4302712 4301896 -816 -0.0
RAM 197712 197712 0 0.0
shell debug unknown 4112 4112 0 0.0
FLASH 2800669 2799949 -720 -0.0
RAM 154424 154424 0 0.0
thermostat-no-ble arm64 unknown 9160 9160 0 0.0
FLASH 4150660 4149604 -1056 -0.0
RAM 234616 234616 0 0.0
tv-app debug unknown 5472 5472 0 0.0
FLASH 5589400 5588696 -704 -0.0
RAM 344872 344872 0 0.0
tv-casting-app debug unknown 5104 5104 0 0.0
FLASH 9568598 9567878 -720 -0.0
RAM 340288 340288 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1497644 1497452 -192 -0.0
RAM 226168 226168 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 873744 873744 0 0.0
RAM 139225 139225 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 949208 948980 -228 -0.0
RAM 137653 137653 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 822268 822268 0 0.0
RAM 138123 138123 0 0.0
nxp contact k32w0+release FLASH 575652 575652 0 0.0
RAM 70120 70120 0 0.0
k32w1+release FLASH 590912 590912 0 0.0
RAM 74152 74152 0 0.0
light k32w0+release FLASH 609672 609672 0 0.0
RAM 69596 69596 0 0.0
k32w1+release FLASH 674088 674088 0 0.0
RAM 82904 82904 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1610444 1610156 -288 -0.0
RAM 207228 207228 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1534660 1534356 -304 -0.0
RAM 204132 204132 0 0.0
light cy8ckit_062s2_43012 FLASH 1460940 1460652 -288 -0.0
RAM 197412 197412 0 0.0
lock cy8ckit_062s2_43012 FLASH 1462932 1462628 -304 -0.0
RAM 224476 224476 0 0.0
qpg lighting-app qpg6105+debug FLASH 650656 650656 0 0.0
RAM 104652 104652 0 0.0
lock-app qpg6105+debug FLASH 610348 610348 0 0.0
RAM 99328 99328 0 0.0
stm32 light STM32WB5MM-DK FLASH 472124 472124 0 0.0
RAM 141748 141748 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 625098 625098 0 0.0
RAM 49952 49952 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 600916 600616 -300 -0.0
RAM 130384 130384 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 770236 770236 0 0.0
RAM 110148 110148 0 0.0
bridge-app tlsr9258a FLASH 668228 668228 0 0.0
RAM 94768 94768 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 626850 626850 0 0.0
RAM 49996 49996 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 713740 713740 0 0.0
RAM 76588 76588 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 558792 558492 -300 -0.1
RAM 126640 126640 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 793558 793558 0 0.0
RAM 99996 99996 0 0.0
lock-app-dfu tlsr9528a FLASH 660038 660038 0 0.0
RAM 69276 69276 0 0.0
ota-requestor-app tlsr9258a FLASH 687226 687226 0 0.0
RAM 94492 94492 0 0.0
pump-app tlsr9518adk80d FLASH 609050 609050 0 0.0
RAM 56376 56376 0 0.0
pump-controller-app tlsr9518adk80d FLASH 599398 599398 0 0.0
RAM 56176 56176 0 0.0
shell tlsr9518adk80d FLASH 462618 462618 0 0.0
RAM 71852 71852 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 633244 633244 0 0.0
RAM 51624 51624 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 642898 642898 0 0.0
RAM 59812 59812 0 0.0
thermostat tlsr9518adk80d FLASH 618300 618300 0 0.0
RAM 56500 56500 0 0.0
window-covering tlsr9118bdk40d FLASH 464916 464616 -300 -0.1
RAM 82272 82272 0 0.0
tizen all-clusters-app arm unknown 1552 1552 0 0.0
FLASH 1612948 1612948 0 0.0
RAM 45460 45460 0 0.0
chip-tool-ubsan arm unknown 2360 2360 0 0.0
FLASH 1563540 1563540 0 0.0
RAM 6825656 6825656 0 0.0

src/app/util/af-types.h Outdated Show resolved Hide resolved
Copy link

github-actions bot commented Jun 10, 2024

PR #33345: Size comparison from 853a386 to 10c48ca

Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 853a386 10c48ca change % change
bl602 lighting-app bl602 FLASH 1268096 1267840 -256 -0.0
RAM 95424 95424 0 0.0
bl602+mfd FLASH 1282374 1282118 -256 -0.0
RAM 95576 95576 0 0.0
bl602+rpc FLASH 1307318 1307062 -256 -0.0
RAM 103856 103856 0 0.0
bl702 lighting-app bl702 FLASH 1088740 1088740 0 0.0
RAM 14897 14897 0 0.0
bl702+mfd FLASH 1099434 1099434 0 0.0
RAM 15049 15049 0 0.0
bl702+rpc FLASH 1178564 1178564 0 0.0
RAM 23925 23925 0 0.0
bl706-eth FLASH 872172 871916 -256 -0.0
RAM 27016 27016 0 0.0
bl706-wifi FLASH 1123858 1123682 -176 -0.0
RAM 14349 14349 0 0.0
bl702l lighting-app bl702l FLASH 1075626 1075626 0 0.0
RAM 21468 21468 0 0.0
bl702l+mfd FLASH 1086888 1086888 0 0.0
RAM 21628 21628 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 798044 798044 0 0.0
RAM 103184 103184 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 813632 813632 0 0.0
RAM 113664 113664 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 802916 802916 0 0.0
RAM 107784 107784 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 755684 755684 0 0.0
RAM 101884 101884 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 741340 741340 0 0.0
RAM 102132 102132 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 605142 604846 -296 -0.0
RAM 204608 204608 0 0.0
lock CC3235SF_LAUNCHXL FLASH 650594 650298 -296 -0.0
RAM 204868 204868 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 661693 661693 0 0.0
RAM 74608 74608 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 681545 681545 0 0.0
RAM 77240 77240 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 681545 681545 0 0.0
RAM 77240 77240 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 638473 638473 0 0.0
RAM 69676 69676 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 603765 603765 0 0.0
RAM 70312 70312 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 623401 623401 0 0.0
RAM 72864 72864 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 623401 623401 0 0.0
RAM 72864 72864 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 619373 619373 0 0.0
RAM 73328 73328 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 639097 639097 0 0.0
RAM 75880 75880 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 639097 639097 0 0.0
RAM 75880 75880 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 587909 587909 0 0.0
RAM 67296 67296 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 607753 607753 0 0.0
RAM 69928 69928 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 607753 607753 0 0.0
RAM 69928 69928 0 0.0
efr32 lighting-app BRD4187C FLASH 888288 888280 -8 -0.0
RAM 183520 183520 0 0.0
lock-app BRD4338a FLASH 701496 701200 -296 -0.0
RAM 242804 242804 0 0.0
window-app BRD4187C FLASH 968588 968588 0 0.0
RAM 167952 167952 0 0.0
esp32 all-clusters-app c3devkit DRAM 88420 88420 0 0.0
FLASH 1466450 1466124 -326 -0.0
IRAM 75570 75570 0 0.0
m5stack DRAM 114892 114892 0 0.0
FLASH 1535635 1535367 -268 -0.0
IRAM 125403 125403 0 0.0
linux air-purifier-app debug unknown 4576 4576 0 0.0
FLASH 2533056 2532240 -816 -0.0
RAM 129104 129104 0 0.0
all-clusters-app debug unknown 5344 5344 0 0.0
FLASH 5568958 5568382 -576 -0.0
RAM 482216 482216 0 0.0
all-clusters-minimal-app debug unknown 5264 5264 0 0.0
FLASH 5052808 5052264 -544 -0.0
RAM 236792 236792 0 0.0
bridge-app debug unknown 5232 5232 0 0.0
FLASH 4478584 4477768 -816 -0.0
RAM 216816 216816 0 0.0
chip-tool debug unknown 5744 5744 0 0.0
FLASH 11519399 11518679 -720 -0.0
RAM 521762 521762 0 0.0
chip-tool-ipv6only arm64 unknown 17384 17384 0 0.0
FLASH 10667812 10666900 -912 -0.0
RAM 569744 569744 0 0.0
fabric-admin debug unknown 5600 5600 0 0.0
FLASH 11289479 11288759 -720 -0.0
RAM 515330 515330 0 0.0
fabric-bridge-app debug unknown 5240 5240 0 0.0
FLASH 4348168 4347352 -816 -0.0
RAM 208864 208864 0 0.0
lighting-app debug+rpc+ui unknown 5864 5864 0 0.0
FLASH 5366818 5366002 -816 -0.0
RAM 225424 225424 0 0.0
lock-app debug unknown 5184 5184 0 0.0
FLASH 4543448 4542616 -832 -0.0
RAM 204240 204240 0 0.0
ota-provider-app debug unknown 4552 4552 0 0.0
FLASH 4178344 4177528 -816 -0.0
RAM 193200 193200 0 0.0
ota-requestor-app debug unknown 4488 4488 0 0.0
FLASH 4302712 4301896 -816 -0.0
RAM 197712 197712 0 0.0
shell debug unknown 4112 4112 0 0.0
FLASH 2800669 2799949 -720 -0.0
RAM 154424 154424 0 0.0
thermostat-no-ble arm64 unknown 9160 9160 0 0.0
FLASH 4150660 4149604 -1056 -0.0
RAM 234616 234616 0 0.0
tv-app debug unknown 5472 5472 0 0.0
FLASH 5589400 5588696 -704 -0.0
RAM 344872 344872 0 0.0
tv-casting-app debug unknown 5104 5104 0 0.0
FLASH 9568598 9567878 -720 -0.0
RAM 340288 340288 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1497644 1497452 -192 -0.0
RAM 226168 226168 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 873744 873744 0 0.0
RAM 139225 139225 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 949208 948980 -228 -0.0
RAM 137653 137653 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 822268 822268 0 0.0
RAM 138123 138123 0 0.0
nxp contact k32w0+release FLASH 575652 575652 0 0.0
RAM 70120 70120 0 0.0
k32w1+release FLASH 590912 590912 0 0.0
RAM 74152 74152 0 0.0
light k32w0+release FLASH 609672 609672 0 0.0
RAM 69596 69596 0 0.0
k32w1+release FLASH 674088 674088 0 0.0
RAM 82904 82904 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1610444 1610156 -288 -0.0
RAM 207228 207228 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1534660 1534356 -304 -0.0
RAM 204132 204132 0 0.0
light cy8ckit_062s2_43012 FLASH 1460940 1460652 -288 -0.0
RAM 197412 197412 0 0.0
lock cy8ckit_062s2_43012 FLASH 1462932 1462628 -304 -0.0
RAM 224476 224476 0 0.0
qpg lighting-app qpg6105+debug FLASH 650656 650656 0 0.0
RAM 104652 104652 0 0.0
lock-app qpg6105+debug FLASH 610348 610348 0 0.0
RAM 99328 99328 0 0.0
stm32 light STM32WB5MM-DK FLASH 472124 472124 0 0.0
RAM 141748 141748 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 625098 625098 0 0.0
RAM 49952 49952 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 600916 600616 -300 -0.0
RAM 130384 130384 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 770236 770236 0 0.0
RAM 110148 110148 0 0.0
bridge-app tlsr9258a FLASH 668228 668228 0 0.0
RAM 94768 94768 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 626850 626850 0 0.0
RAM 49996 49996 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 713740 713740 0 0.0
RAM 76588 76588 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 558792 558492 -300 -0.1
RAM 126640 126640 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 793558 793558 0 0.0
RAM 99996 99996 0 0.0
lock-app-dfu tlsr9528a FLASH 660038 660038 0 0.0
RAM 69276 69276 0 0.0
ota-requestor-app tlsr9258a FLASH 687226 687226 0 0.0
RAM 94492 94492 0 0.0
pump-app tlsr9518adk80d FLASH 609050 609050 0 0.0
RAM 56376 56376 0 0.0
pump-controller-app tlsr9518adk80d FLASH 599398 599398 0 0.0
RAM 56176 56176 0 0.0
shell tlsr9518adk80d FLASH 462618 462618 0 0.0
RAM 71852 71852 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 633244 633244 0 0.0
RAM 51624 51624 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 642898 642898 0 0.0
RAM 59812 59812 0 0.0
thermostat tlsr9518adk80d FLASH 618300 618300 0 0.0
RAM 56500 56500 0 0.0
window-covering tlsr9118bdk40d FLASH 464916 464616 -300 -0.1
RAM 82272 82272 0 0.0
tizen all-clusters-app arm unknown 1552 1552 0 0.0
FLASH 1612948 1612948 0 0.0
RAM 45460 45460 0 0.0
chip-tool-ubsan arm unknown 2360 2360 0 0.0
FLASH 1563540 1563540 0 0.0
RAM 6825656 6825656 0 0.0

@mergify mergify bot merged commit 47097e0 into project-chip:master Jun 10, 2024
68 checks passed
Alami-Amine pushed a commit to Alami-Amine/connectedhomeip that referenced this pull request Jun 12, 2024
…plement iteration (project-chip#33345)

* Initial copy with a clean history

* make linter happy

* Restyle

* Fix typo

* Add nolint: assert will return before we use the underlying value

* 2 more fixes regarding unchecked access

* Switch some asserts to expects, for better test logic

* Model renames

* Add renamed files

* Add some attribute iteration hint

* Make use of the attribute cache

* Restyle

* Add a cluster iteration hint

* Add a few more hints. Ember code still contains loops though, so this may not be ideal still

* Add some TODO items for using faster iterations for data. Ember index vs value duality still needs some work

* Add a cluster type cache as well. This relies on ember being reasonably static

* Add global attribute handling

* Fix typing u16 vs unsigned

* Fix auto-added include names

* Remove back the initialization and make the comment more obvious

* Update src/app/codegen-interaction-model/model.gni

Co-authored-by: Karsten Sperling <[email protected]>

* Code review feedback: added comments

* Update src/app/codegen-interaction-model/CodegenDataModel.h

Co-authored-by: Boris Zbarsky <[email protected]>

* Update src/app/codegen-interaction-model/CodegenDataModel.cpp

Co-authored-by: Boris Zbarsky <[email protected]>

* Update src/app/codegen-interaction-model/BUILD.gn

Co-authored-by: Tennessee Carmel-Veilleux <[email protected]>

* Some cleanup logic for event generation - naming and return values as eventid is not the same as event number

* Comment fix

* More naming updates

* Several comment updates and renamed RequestContext to ActionContext

* Restyle

* Rename to InteractionModelContext

* one more rename

* Fix typo

* Fix tests to compile

* More renames of actions to context

* One more comment added

* Restyle

* Address review comments

* Restyle

* make clang-tidy happy

* Operator== exists on optional ... make use of that directly

* Started renaming things

* Use the right types in Model.h

* Make things compile

* Skip global attribute handling, add TODOs for reading extra bits from ember

* Typo fix

* Several flags and correct loading of privileges for attributes

* Start implementing command iteration ... still feels awkward and caching will be a pain

* We seem to also support fabric scoping detection

* implementation is in theory done, need unit tests

* Fix iterator name

* Mock support for accepted/generated commands, start having unit tests

* Better iteration tests on accepted commands

* More unit tests and fix bugs

* Restyle

* More tests, one iteration bug fix

* Slight update again

* Aiming for more test coverage

* More test coverage for edge cases in iteration

* Fix code review comment

* Restyle

* Update src/app/interaction-model/Events.h

Co-authored-by: Boris Zbarsky <[email protected]>

* Update src/app/interaction-model/IterationTypes.h

Co-authored-by: Boris Zbarsky <[email protected]>

* Update src/app/interaction-model/Paths.h

Co-authored-by: Boris Zbarsky <[email protected]>

* Fix comment about validity

* Some kListBegin/End comment updates

* Drop kListBegin/End alltogether

* Drop groupId

* Comment update

* Update for data version to be mandatory, add more error reporting and logging

* Update to use kInvalid instead of Invalid method

* Update flags.set

* Use IsServerMask on clusterr class

* Use a struct instead of a typedef

* Fix compile without error logging

* Restyle

* Remove command quality that is not supported

* Restyle

* Rename IsServerMask to IsServer

---------

Co-authored-by: Andrei Litvin <[email protected]>
Co-authored-by: Karsten Sperling <[email protected]>
Co-authored-by: Boris Zbarsky <[email protected]>
Co-authored-by: Tennessee Carmel-Veilleux <[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.

7 participants