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

Define an ActionReturnStatus for DataModel::Provider action returns #34708

Merged
merged 35 commits into from
Aug 2, 2024

Conversation

andy31415
Copy link
Contributor

CHIP_ERROR is generally insufficient to provide the full IM return codes (generally a StatusIB). This is because a StatusIB can also encode success with a code (i.e. a clusterstatus) which is not ideally encodable into a CHIP_ERROR. I tried that in #34597 , however the (reasonable) review feedback was that it is very awkward and error prone to have a "success" code that is not CHIP_NO_ERROR.

As a result I created a ActionStatusReturn class that generally encodes all possible statuses, supporting also the full clusterstatus (which has success).

I kept both CHIP_ERROR and ClusterStatus because for logging purposes, CHIP_ERROR has a better format on some systems (encodes originating location and a distinct code, which is much more helpful than a Status::Failure). In addition, we had to preserve the ability of communicating "out of space, chunking can happen" which is currently done through CHIP_ERROR.

Copy link

Review changes with SemanticDiff.

Copy link

github-actions bot commented Aug 1, 2024

PR #34708: Size comparison from 4c1f325 to 5bf5dfe

Full report (20 builds for cc13x4_26x4, cc32xx, mbed, nrfconnect, nxp, qpg, stm32, tizen)
platform target config section 4c1f325 5bf5dfe change % change
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 802368 802696 328 0.0
RAM 117620 117620 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 818316 818644 328 0.0
RAM 125220 125220 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 810600 810928 328 0.0
RAM 119500 119500 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 762804 763124 320 0.0
RAM 113640 113640 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 747456 747776 320 0.0
RAM 113832 113832 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 610142 610518 376 0.1
RAM 205380 205380 0 0.0
lock CC3235SF_LAUNCHXL FLASH 654446 654822 376 0.1
RAM 205620 205620 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1505388 1505796 408 0.0
RAM 227296 227296 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 906524 906876 352 0.0
RAM 142221 142221 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 879524 879464 -60 -0.0
RAM 140360 140360 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 838280 838628 348 0.0
RAM 141062 141062 0 0.0
nxp contact k32w0+release FLASH 576412 576716 304 0.1
RAM 70416 70416 0 0.0
k32w1+release FLASH 592136 592432 296 0.0
RAM 74456 74456 0 0.0
light k32w0+release FLASH 612056 612360 304 0.0
RAM 69920 69920 0 0.0
k32w1+release FLASH 676968 677264 296 0.0
RAM 83232 83232 0 0.0
qpg lighting-app qpg6105+debug FLASH 655124 655476 352 0.1
RAM 105148 105148 0 0.0
lock-app qpg6105+debug FLASH 612560 612912 352 0.1
RAM 99632 99632 0 0.0
stm32 light STM32WB5MM-DK FLASH 477496 477832 336 0.1
RAM 144756 144756 0 0.0
tizen all-clusters-app arm unknown 1588 1588 0 0.0
FLASH 1701428 1705068 3640 0.2
RAM 51812 51812 0 0.0
chip-tool-ubsan arm unknown 2404 2404 0 0.0
FLASH 16607618 16619098 11480 0.1
RAM 7297180 7303564 6384 0.1

Copy link

github-actions bot commented Aug 1, 2024

PR #34708: Size comparison from 4c1f325 to 20410b3

Full report (4 builds for cc32xx, mbed, stm32)
platform target config section 4c1f325 20410b3 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 610142 610542 400 0.1
RAM 205380 205380 0 0.0
lock CC3235SF_LAUNCHXL FLASH 654446 654846 400 0.1
RAM 205620 205620 0 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1505388 1505796 408 0.0
RAM 227296 227296 0 0.0
stm32 light STM32WB5MM-DK FLASH 477496 477832 336 0.1
RAM 144756 144756 0 0.0

src/app/data-model-provider/Provider.h Outdated Show resolved Hide resolved
src/app/data-model-provider/Provider.h Outdated Show resolved Hide resolved
Copy link

github-actions bot commented Aug 1, 2024

PR #34708: Size comparison from 4c1f325 to a19f2bf

Increases above 0.2%:

platform target config section 4c1f325 a19f2bf change % change
linux air-purifier-app debug FLASH 2734627 2746449 11822 0.4
all-clusters-minimal-app debug FLASH 5355658 5367482 11824 0.2
bridge-app debug FLASH 4715342 4727228 11886 0.3
fabric-bridge-app debug FLASH 4471394 4483250 11856 0.3
lighting-app debug+rpc+ui FLASH 5649473 5661297 11824 0.2
lock-app debug FLASH 4770300 4782058 11758 0.2
ota-provider-app debug FLASH 4410548 4422372 11824 0.3
ota-requestor-app debug FLASH 4548694 4560518 11824 0.3
shell debug FLASH 3054845 3066685 11840 0.4
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 4c1f325 a19f2bf change % change
bl602 lighting-app bl602 FLASH 1277128 1277760 632 0.0
RAM 95888 95896 8 0.0
bl602+mfd FLASH 1291386 1292018 632 0.0
RAM 96040 96048 8 0.0
bl602+rpc FLASH 1316096 1316728 632 0.0
RAM 104312 104320 8 0.0
bl702 lighting-app bl702 FLASH 1098280 1098904 624 0.1
RAM 15241 15249 8 0.1
bl702+mfd FLASH 1108974 1109598 624 0.1
RAM 15385 15393 8 0.1
bl702+rpc FLASH 1188346 1188970 624 0.1
RAM 24237 24245 8 0.0
bl706-eth FLASH 881314 881938 624 0.1
RAM 27344 27352 8 0.0
bl706-wifi FLASH 1134412 1135116 704 0.1
RAM 14677 14685 8 0.1
bl702l lighting-app bl702l FLASH 1085434 1086066 632 0.1
RAM 21796 21804 8 0.0
bl702l+mfd FLASH 1096440 1097072 632 0.1
RAM 21948 21956 8 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 802368 802704 336 0.0
RAM 117620 117620 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 818316 818652 336 0.0
RAM 125220 125220 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 810600 810936 336 0.0
RAM 119500 119500 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 762804 763132 328 0.0
RAM 113640 113640 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 747456 747784 328 0.0
RAM 113832 113832 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 610142 610542 400 0.1
RAM 205380 205380 0 0.0
lock CC3235SF_LAUNCHXL FLASH 654446 654846 400 0.1
RAM 205620 205620 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 671425 671777 352 0.1
RAM 78348 78348 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 691285 691637 352 0.1
RAM 80980 80980 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 691285 691637 352 0.1
RAM 80980 80980 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 648213 648565 352 0.1
RAM 73416 73416 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 610065 610417 352 0.1
RAM 71340 71340 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 629701 630053 352 0.1
RAM 73892 73892 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 629701 630053 352 0.1
RAM 73892 73892 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 627433 627785 352 0.1
RAM 74356 74356 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 647149 647501 352 0.1
RAM 76908 76908 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 647149 647501 352 0.1
RAM 76908 76908 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 599533 599885 352 0.1
RAM 68372 68372 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 619393 619737 344 0.1
RAM 71004 71004 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 619393 619737 344 0.1
RAM 71004 71004 0 0.0
efr32 lighting-app BRD4187C FLASH 929456 929744 288 0.0
RAM 135148 135148 0 0.0
lock-app BRD4338a FLASH 736828 737172 344 0.0
RAM 208436 208436 0 0.0
window-app BRD4187C FLASH 1015188 1015540 352 0.0
RAM 127084 127084 0 0.0
esp32 all-clusters-app c3devkit DRAM 94136 94136 0 0.0
FLASH 1530038 1530502 464 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115064 115064 0 0.0
FLASH 1540558 1541078 520 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4632 4632 0 0.0
FLASH 2734627 2746449 11822 0.4
RAM 128272 128368 96 0.1
all-clusters-app debug unknown 5416 5416 0 0.0
FLASH 6016212 6027592 11380 0.2
RAM 509808 509872 64 0.0
all-clusters-minimal-app debug unknown 5312 5312 0 0.0
FLASH 5355658 5367482 11824 0.2
RAM 239936 240000 64 0.0
bridge-app debug unknown 5296 5296 0 0.0
FLASH 4715342 4727228 11886 0.3
RAM 216960 217024 64 0.0
chip-tool debug unknown 5832 5832 0 0.0
FLASH 12485066 12496496 11430 0.1
RAM 558298 558362 64 0.0
chip-tool-ipv6only arm64 unknown 20352 20352 0 0.0
FLASH 11164972 11173900 8928 0.1
RAM 608232 608320 88 0.0
fabric-admin debug unknown 5672 5672 0 0.0
FLASH 11463273 11474735 11462 0.1
RAM 555034 555098 64 0.0
fabric-bridge-app debug unknown 4568 4568 0 0.0
FLASH 4471394 4483250 11856 0.3
RAM 202128 202192 64 0.0
lighting-app debug+rpc+ui unknown 5968 5968 0 0.0
FLASH 5649473 5661297 11824 0.2
RAM 228048 228112 64 0.0
lock-app debug unknown 5232 5232 0 0.0
FLASH 4770300 4782058 11758 0.2
RAM 203776 203840 64 0.0
ota-provider-app debug unknown 4608 4608 0 0.0
FLASH 4410548 4422372 11824 0.3
RAM 197760 197824 64 0.0
ota-requestor-app debug unknown 4544 4544 0 0.0
FLASH 4548694 4560518 11824 0.3
RAM 202296 202360 64 0.0
shell debug unknown 4176 4176 0 0.0
FLASH 3054845 3066685 11840 0.4
RAM 158856 158920 64 0.0
thermostat-no-ble arm64 unknown 9352 9352 0 0.0
FLASH 4347972 4357268 9296 0.2
RAM 242128 242216 88 0.0
tv-app debug unknown 5504 5504 0 0.0
FLASH 5993093 6004565 11472 0.2
RAM 583488 583552 64 0.0
tv-casting-app debug unknown 5176 5176 0 0.0
FLASH 10689613 10701021 11408 0.1
RAM 645544 645608 64 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1505388 1505796 408 0.0
RAM 227296 227296 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 906524 906884 360 0.0
RAM 142221 142221 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 879524 879460 -64 -0.0
RAM 140360 140360 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 838280 838636 356 0.0
RAM 141062 141062 0 0.0
nxp contact k32w0+release FLASH 576412 576716 304 0.1
RAM 70416 70416 0 0.0
k32w1+release FLASH 592136 592440 304 0.1
RAM 74456 74456 0 0.0
light k32w0+release FLASH 612056 612376 320 0.1
RAM 69920 69920 0 0.0
k32w1+release FLASH 676968 677264 296 0.0
RAM 83232 83232 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1635716 1636068 352 0.0
RAM 210904 210904 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1540908 1541244 336 0.0
RAM 207664 207664 0 0.0
light cy8ckit_062s2_43012 FLASH 1463124 1463476 352 0.0
RAM 200776 200776 0 0.0
lock cy8ckit_062s2_43012 FLASH 1461852 1462204 352 0.0
RAM 225120 225120 0 0.0
qpg lighting-app qpg6105+debug FLASH 655124 655484 360 0.1
RAM 105148 105148 0 0.0
lock-app qpg6105+debug FLASH 612560 612920 360 0.1
RAM 99632 99632 0 0.0
stm32 light STM32WB5MM-DK FLASH 477496 477832 336 0.1
RAM 144756 144756 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 619336 619760 424 0.1
RAM 50936 50936 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 678126 678550 424 0.1
RAM 149552 149552 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 771360 771784 424 0.1
RAM 110732 110732 0 0.0
bridge-app tlsr9258a FLASH 677950 678374 424 0.1
RAM 91624 91624 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 620928 621352 424 0.1
RAM 50980 50980 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 706792 707216 424 0.1
RAM 74316 74316 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 619716 620140 424 0.1
RAM 145580 145580 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 805802 806226 424 0.1
RAM 99504 99504 0 0.0
lock-app-dfu tlsr9528a FLASH 653678 654102 424 0.1
RAM 67012 67012 0 0.0
ota-requestor-app tlsr9258a FLASH 695984 696408 424 0.1
RAM 91308 91308 0 0.0
pump-app-usb tlsr9518adk80d FLASH 630284 630708 424 0.1
RAM 55756 55756 0 0.0
pump-controller-app tlsr9518adk80d FLASH 607884 608308 424 0.1
RAM 53000 53000 0 0.0
shell tlsr9518adk80d FLASH 466810 466810 0 0.0
RAM 68660 68660 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 627696 628120 424 0.1
RAM 52696 52696 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 651706 652130 424 0.1
RAM 56636 56636 0 0.0
thermostat tlsr9518adk80d FLASH 631472 631896 424 0.1
RAM 53376 53376 0 0.0
window-covering tlsr9118bdk40d FLASH 521846 522270 424 0.1
RAM 98536 98536 0 0.0
tizen all-clusters-app arm unknown 1588 1588 0 0.0
FLASH 1701428 1705140 3712 0.2
RAM 51812 51812 0 0.0
chip-tool-ubsan arm unknown 2404 2404 0 0.0
FLASH 16607618 16619658 12040 0.1
RAM 7297180 7303836 6656 0.1

Copy link

github-actions bot commented Aug 2, 2024

PR #34708: Size comparison from 4c1f325 to 316f6ec

Increases above 0.2%:

platform target config section 4c1f325 316f6ec change % change
linux thermostat-no-ble arm64 FLASH 4347972 4357268 9296 0.2
Full report (49 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, tizen)
platform target config section 4c1f325 316f6ec change % change
bl602 lighting-app bl602 FLASH 1277128 1277760 632 0.0
RAM 95888 95896 8 0.0
bl602+mfd FLASH 1291386 1292018 632 0.0
RAM 96040 96048 8 0.0
bl602+rpc FLASH 1316096 1316728 632 0.0
RAM 104312 104320 8 0.0
bl702 lighting-app bl702 FLASH 1098280 1098904 624 0.1
RAM 15241 15249 8 0.1
bl702+mfd FLASH 1108974 1109598 624 0.1
RAM 15385 15393 8 0.1
bl702+rpc FLASH 1188346 1188970 624 0.1
RAM 24237 24245 8 0.0
bl706-eth FLASH 881314 881938 624 0.1
RAM 27344 27352 8 0.0
bl706-wifi FLASH 1134412 1135116 704 0.1
RAM 14677 14685 8 0.1
bl702l lighting-app bl702l FLASH 1085434 1086066 632 0.1
RAM 21796 21804 8 0.0
bl702l+mfd FLASH 1096440 1097072 632 0.1
RAM 21948 21956 8 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 802368 802704 336 0.0
RAM 117620 117620 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 818316 818652 336 0.0
RAM 125220 125220 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 810600 810936 336 0.0
RAM 119500 119500 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 762804 763132 328 0.0
RAM 113640 113640 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 747456 747784 328 0.0
RAM 113832 113832 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 610142 610542 400 0.1
RAM 205380 205380 0 0.0
lock CC3235SF_LAUNCHXL FLASH 654446 654846 400 0.1
RAM 205620 205620 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 671425 671777 352 0.1
RAM 78348 78348 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 691285 691637 352 0.1
RAM 80980 80980 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 691285 691637 352 0.1
RAM 80980 80980 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 648213 648565 352 0.1
RAM 73416 73416 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 610065 610417 352 0.1
RAM 71340 71340 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 629701 630053 352 0.1
RAM 73892 73892 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 629701 630053 352 0.1
RAM 73892 73892 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 627433 627785 352 0.1
RAM 74356 74356 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 647149 647501 352 0.1
RAM 76908 76908 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 647149 647501 352 0.1
RAM 76908 76908 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 599533 599885 352 0.1
RAM 68372 68372 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 619393 619737 344 0.1
RAM 71004 71004 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 619393 619737 344 0.1
RAM 71004 71004 0 0.0
linux chip-tool-ipv6only arm64 unknown 20352 20352 0 0.0
FLASH 11164972 11173900 8928 0.1
RAM 608232 608320 88 0.0
thermostat-no-ble arm64 unknown 9352 9352 0 0.0
FLASH 4347972 4357268 9296 0.2
RAM 242128 242216 88 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1505388 1505796 408 0.0
RAM 227296 227296 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 906524 906920 396 0.0
RAM 142221 142225 4 0.0
nrf7002dk_nrf5340_cpuapp FLASH 879524 879492 -32 -0.0
RAM 140360 140364 4 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 838280 838636 356 0.0
RAM 141062 141062 0 0.0
nxp contact k32w0+release FLASH 576412 576716 304 0.1
RAM 70416 70416 0 0.0
k32w1+release FLASH 592136 592440 304 0.1
RAM 74456 74456 0 0.0
light k32w0+release FLASH 612056 612376 320 0.1
RAM 69920 69920 0 0.0
k32w1+release FLASH 676968 677264 296 0.0
RAM 83232 83232 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1635716 1636108 392 0.0
RAM 210904 210912 8 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1540908 1541244 336 0.0
RAM 207664 207664 0 0.0
light cy8ckit_062s2_43012 FLASH 1463124 1463476 352 0.0
RAM 200776 200776 0 0.0
lock cy8ckit_062s2_43012 FLASH 1461852 1462204 352 0.0
RAM 225120 225120 0 0.0
qpg lighting-app qpg6105+debug FLASH 655124 655484 360 0.1
RAM 105148 105148 0 0.0
lock-app qpg6105+debug FLASH 612560 612920 360 0.1
RAM 99632 99632 0 0.0
stm32 light STM32WB5MM-DK FLASH 477496 477832 336 0.1
RAM 144756 144756 0 0.0
tizen all-clusters-app arm unknown 1588 1588 0 0.0
FLASH 1701428 1705172 3744 0.2
RAM 51812 51820 8 0.0
chip-tool-ubsan arm unknown 2404 2404 0 0.0
FLASH 16607618 16619658 12040 0.1
RAM 7297180 7303836 6656 0.1

Copy link

github-actions bot commented Aug 2, 2024

PR #34708: Size comparison from 4c1f325 to f2e0812

Increases above 0.2%:

platform target config section 4c1f325 f2e0812 change % change
linux air-purifier-app debug FLASH 2734627 2746547 11920 0.4
all-clusters-minimal-app debug FLASH 5355658 5367580 11922 0.2
bridge-app debug FLASH 4715342 4727326 11984 0.3
fabric-bridge-app debug FLASH 4471394 4483348 11954 0.3
lighting-app debug+rpc+ui FLASH 5649473 5661393 11920 0.2
lock-app debug FLASH 4770300 4782156 11856 0.2
ota-provider-app debug FLASH 4410548 4422470 11922 0.3
ota-requestor-app debug FLASH 4548694 4560616 11922 0.3
shell debug FLASH 3054845 3066781 11936 0.4
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 4c1f325 f2e0812 change % change
bl602 lighting-app bl602 FLASH 1277128 1277760 632 0.0
RAM 95888 95896 8 0.0
bl602+mfd FLASH 1291386 1292018 632 0.0
RAM 96040 96048 8 0.0
bl602+rpc FLASH 1316096 1316728 632 0.0
RAM 104312 104320 8 0.0
bl702 lighting-app bl702 FLASH 1098280 1098904 624 0.1
RAM 15241 15249 8 0.1
bl702+mfd FLASH 1108974 1109598 624 0.1
RAM 15385 15393 8 0.1
bl702+rpc FLASH 1188346 1188970 624 0.1
RAM 24237 24245 8 0.0
bl706-eth FLASH 881314 881938 624 0.1
RAM 27344 27352 8 0.0
bl706-wifi FLASH 1134412 1135116 704 0.1
RAM 14677 14685 8 0.1
bl702l lighting-app bl702l FLASH 1085434 1086066 632 0.1
RAM 21796 21804 8 0.0
bl702l+mfd FLASH 1096440 1097072 632 0.1
RAM 21948 21956 8 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 802368 802704 336 0.0
RAM 117620 117620 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 818316 818652 336 0.0
RAM 125220 125220 0 0.0
lock-mtd LP_EM_CC1354P10_6 FLASH 810600 810936 336 0.0
RAM 119500 119500 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 762804 763132 328 0.0
RAM 113640 113640 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 747456 747784 328 0.0
RAM 113832 113832 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 610142 610542 400 0.1
RAM 205380 205380 0 0.0
lock CC3235SF_LAUNCHXL FLASH 654446 654846 400 0.1
RAM 205620 205620 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 671425 671777 352 0.1
RAM 78348 78348 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 691285 691637 352 0.1
RAM 80980 80980 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 691285 691637 352 0.1
RAM 80980 80980 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 648213 648565 352 0.1
RAM 73416 73416 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 610065 610417 352 0.1
RAM 71340 71340 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 629701 630053 352 0.1
RAM 73892 73892 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 629701 630053 352 0.1
RAM 73892 73892 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 627433 627785 352 0.1
RAM 74356 74356 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 647149 647501 352 0.1
RAM 76908 76908 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 647149 647501 352 0.1
RAM 76908 76908 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 599533 599885 352 0.1
RAM 68372 68372 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 619393 619737 344 0.1
RAM 71004 71004 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 619393 619737 344 0.1
RAM 71004 71004 0 0.0
efr32 lighting-app BRD4187C FLASH 929456 929744 288 0.0
RAM 135148 135148 0 0.0
lock-app BRD4338a FLASH 736828 737172 344 0.0
RAM 208436 208436 0 0.0
window-app BRD4187C FLASH 1015188 1015540 352 0.0
RAM 127084 127084 0 0.0
esp32 all-clusters-app c3devkit DRAM 94136 94136 0 0.0
FLASH 1530038 1530542 504 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115064 115072 8 0.0
FLASH 1540558 1541126 568 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4632 4632 0 0.0
FLASH 2734627 2746547 11920 0.4
RAM 128272 128368 96 0.1
all-clusters-app debug unknown 5416 5416 0 0.0
FLASH 6016212 6027690 11478 0.2
RAM 509808 509904 96 0.0
all-clusters-minimal-app debug unknown 5312 5312 0 0.0
FLASH 5355658 5367580 11922 0.2
RAM 239936 240000 64 0.0
bridge-app debug unknown 5296 5296 0 0.0
FLASH 4715342 4727326 11984 0.3
RAM 216960 217024 64 0.0
chip-tool debug unknown 5832 5832 0 0.0
FLASH 12485066 12496594 11528 0.1
RAM 558298 558362 64 0.0
chip-tool-ipv6only arm64 unknown 20352 20352 0 0.0
FLASH 11164972 11174028 9056 0.1
RAM 608232 608320 88 0.0
fabric-admin debug unknown 5672 5672 0 0.0
FLASH 11463273 11474833 11560 0.1
RAM 555034 555098 64 0.0
fabric-bridge-app debug unknown 4568 4568 0 0.0
FLASH 4471394 4483348 11954 0.3
RAM 202128 202192 64 0.0
lighting-app debug+rpc+ui unknown 5968 5968 0 0.0
FLASH 5649473 5661393 11920 0.2
RAM 228048 228112 64 0.0
lock-app debug unknown 5232 5232 0 0.0
FLASH 4770300 4782156 11856 0.2
RAM 203776 203840 64 0.0
ota-provider-app debug unknown 4608 4608 0 0.0
FLASH 4410548 4422470 11922 0.3
RAM 197760 197824 64 0.0
ota-requestor-app debug unknown 4544 4544 0 0.0
FLASH 4548694 4560616 11922 0.3
RAM 202296 202360 64 0.0
shell debug unknown 4176 4176 0 0.0
FLASH 3054845 3066781 11936 0.4
RAM 158856 158952 96 0.1
thermostat-no-ble arm64 unknown 9352 9352 0 0.0
FLASH 4347972 4357396 9424 0.2
RAM 242128 242216 88 0.0
tv-app debug unknown 5504 5504 0 0.0
FLASH 5993093 6004661 11568 0.2
RAM 583488 583552 64 0.0
tv-casting-app debug unknown 5176 5176 0 0.0
FLASH 10689613 10701117 11504 0.1
RAM 645544 645608 64 0.0
mbed lock-app-release cy8cproto_062_4343w FLASH 1505388 1505796 408 0.0
RAM 227296 227296 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 906524 906920 396 0.0
RAM 142221 142225 4 0.0
nrf7002dk_nrf5340_cpuapp FLASH 879524 879492 -32 -0.0
RAM 140360 140364 4 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 838280 838636 356 0.0
RAM 141062 141062 0 0.0
nxp contact k32w0+release FLASH 576412 576716 304 0.1
RAM 70416 70416 0 0.0
k32w1+release FLASH 592136 592440 304 0.1
RAM 74456 74456 0 0.0
light k32w0+release FLASH 612056 612376 320 0.1
RAM 69920 69920 0 0.0
k32w1+release FLASH 676968 677264 296 0.0
RAM 83232 83232 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1635716 1636108 392 0.0
RAM 210904 210912 8 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1540908 1541244 336 0.0
RAM 207664 207664 0 0.0
light cy8ckit_062s2_43012 FLASH 1463124 1463476 352 0.0
RAM 200776 200776 0 0.0
lock cy8ckit_062s2_43012 FLASH 1461852 1462204 352 0.0
RAM 225120 225120 0 0.0
qpg lighting-app qpg6105+debug FLASH 655124 655484 360 0.1
RAM 105148 105148 0 0.0
lock-app qpg6105+debug FLASH 612560 612920 360 0.1
RAM 99632 99632 0 0.0
stm32 light STM32WB5MM-DK FLASH 477496 477832 336 0.1
RAM 144756 144756 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 619336 619760 424 0.1
RAM 50936 50936 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 678126 678550 424 0.1
RAM 149552 149556 4 0.0
all-clusters-minimal-app tlsr9528a FLASH 771360 771784 424 0.1
RAM 110732 110732 0 0.0
bridge-app tlsr9258a FLASH 677950 678374 424 0.1
RAM 91624 91624 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 620928 621352 424 0.1
RAM 50980 50980 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 706792 707216 424 0.1
RAM 74316 74316 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 619716 620140 424 0.1
RAM 145580 145580 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 805802 806226 424 0.1
RAM 99504 99504 0 0.0
lock-app-dfu tlsr9528a FLASH 653678 654102 424 0.1
RAM 67012 67012 0 0.0
ota-requestor-app tlsr9258a FLASH 695984 696408 424 0.1
RAM 91308 91308 0 0.0
pump-app-usb tlsr9518adk80d FLASH 630284 630708 424 0.1
RAM 55756 55756 0 0.0
pump-controller-app tlsr9518adk80d FLASH 607884 608308 424 0.1
RAM 53000 53000 0 0.0
shell tlsr9518adk80d FLASH 466810 466810 0 0.0
RAM 68660 68660 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 627696 628120 424 0.1
RAM 52696 52696 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 651706 652130 424 0.1
RAM 56636 56636 0 0.0
thermostat tlsr9518adk80d FLASH 631472 631896 424 0.1
RAM 53376 53376 0 0.0
window-covering tlsr9118bdk40d FLASH 521846 522270 424 0.1
RAM 98536 98536 0 0.0
tizen all-clusters-app arm unknown 1588 1588 0 0.0
FLASH 1701428 1705172 3744 0.2
RAM 51812 51820 8 0.0
chip-tool-ubsan arm unknown 2404 2404 0 0.0
FLASH 16607618 16619658 12040 0.1
RAM 7297180 7303836 6656 0.1

@andy31415 andy31415 merged commit 852368c into project-chip:master Aug 2, 2024
68 of 69 checks passed
w8floosh pushed a commit to w8floosh/chip-fuzzing that referenced this pull request Aug 4, 2024
…project-chip#34708)

* In progress

* ActionReturnStatus implementation

* Start making use of ActionReturnStatus

* Things seem to compile (but not yet passing)

* nice log formatting

* Propper formatting and comparisons in tests. Mock tests pass

* Restyle

* Restyle

* Fix typo

* Add missing files

* Added some unit tests that pass

* More tests

* Restyle

* Update src/app/codegen-data-model-provider/EmberMetadata.cpp

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

* Update src/app/data-model-provider/ActionReturnStatus.h

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

* Update src/app/data-model-provider/ActionReturnStatus.h

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

* Update src/app/data-model-provider/ActionReturnStatus.h

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

* Update src/lib/core/CHIPError.h

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

* Rename IsOutOfSpaceError and do not document specifics

* Document invoke return codes

* Use the new out of space method in checked

* Restyle

* Allow ClusterStatusCode to be constructed from a CHIP_ERROR

* Format action statuses as c_str. HOWEVER this wastes 32 bytes of BSS

* Fix error formatting

* Restyle

* Fix includes to be system paths

* Update src/app/data-model-provider/Provider.h

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

* Update src/app/data-model-provider/Provider.h

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

* Fix status success and chip_no_error equivalence and add unit tests

* Added more tests

---------

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

5 participants