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

[Zephyr] Save total operational hours on Read #37259

Merged

Conversation

maciejbaczmanski
Copy link
Contributor

@maciejbaczmanski maciejbaczmanski commented Jan 28, 2025

Currently total operational hours are saved to NVM with CONFIG_CHIP_OPERATIONAL_TIME_SAVE_INTERVAL.
Certification test TC-DGGEN-2.1 requires checking the value after 1 hour, restarting the DUT, and checking if the value has not changed, causing failures if given config is higher than 1.

This commit additionaly saves total operational hours to NVM everytime it is being read by GetTotalOperationalHours (writing only if currently stored value should be updated). This way value is stored with minimum frequency of 1 hour (if read request is sent frequently) and maximum frequency of CONFIG_CHIP_OPERATIONAL_TIME_SAVE_INTERVAL.

Testing

Tested on NCS build with patch applied by reading value after 1hr, restarting and reading again (val=1), waiting for 10hr, restarting and reading (val=11).

@maciejbaczmanski maciejbaczmanski requested review from a team as code owners January 28, 2025 14:52
Copy link

Review changes with  SemanticDiff

Copy link

github-actions bot commented Jan 28, 2025

PR #37259: Size comparison from b082219 to 0c73a6c

Full report (82 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section b082219 0c73a6c change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1093546 1093546 0 0.0
RAM 103298 103298 0 0.0
bl702 lighting-app bl702+eth FLASH 650158 650158 0 0.0
RAM 25265 25265 0 0.0
bl702+wifi FLASH 828066 828066 0 0.0
RAM 13981 13981 0 0.0
bl706+mfd+rpc+littlefs FLASH 1056618 1056618 0 0.0
RAM 23861 23861 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 888052 888052 0 0.0
RAM 18504 18504 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 971038 971038 0 0.0
RAM 16368 16368 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 837952 837952 0 0.0
RAM 123464 123464 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 823372 823372 0 0.0
RAM 125344 125344 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 770596 770596 0 0.0
RAM 113804 113804 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 754840 754840 0 0.0
RAM 114012 114012 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 538413 538413 0 0.0
RAM 205192 205192 0 0.0
lock CC3235SF_LAUNCHXL FLASH 572277 572277 0 0.0
RAM 205344 205344 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 679361 679361 0 0.0
RAM 78532 78532 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 699213 699213 0 0.0
RAM 81172 81172 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 699213 699213 0 0.0
RAM 81172 81172 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 656149 656149 0 0.0
RAM 73600 73600 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 615745 615745 0 0.0
RAM 71516 71516 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 635381 635381 0 0.0
RAM 74060 74060 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 635381 635381 0 0.0
RAM 74060 74060 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 635217 635217 0 0.0
RAM 74524 74524 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 654925 654925 0 0.0
RAM 77068 77068 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 654925 654925 0 0.0
RAM 77068 77068 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 611669 611669 0 0.0
RAM 68612 68612 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 631529 631529 0 0.0
RAM 71252 71252 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 631529 631529 0 0.0
RAM 71252 71252 0 0.0
efr32 lock-app BRD4187C FLASH 936200 936200 0 0.0
RAM 159904 159904 0 0.0
BRD4338a FLASH 729580 729572 -8 -0.0
RAM 234768 234768 0 0.0
window-app BRD4187C FLASH 1029128 1029120 -8 -0.0
RAM 128040 128040 0 0.0
esp32 all-clusters-app c3devkit DRAM 97296 97296 0 0.0
FLASH 1576990 1576990 0 0.0
IRAM 83820 83820 0 0.0
m5stack DRAM 116092 116092 0 0.0
FLASH 1544926 1544926 0 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4760 4760 0 0.0
FLASH 2707835 2707835 0 0.0
RAM 132800 132800 0 0.0
all-clusters-app debug unknown 5568 5568 0 0.0
FLASH 5973890 5973890 0 0.0
RAM 531616 531616 0 0.0
all-clusters-minimal-app debug unknown 5464 5464 0 0.0
FLASH 5322576 5322576 0 0.0
RAM 242728 242728 0 0.0
bridge-app debug unknown 5480 5480 0 0.0
FLASH 4680764 4680764 0 0.0
RAM 221464 221464 0 0.0
chip-tool debug unknown 5984 5984 0 0.0
FLASH 13041802 13041802 0 0.0
RAM 596178 596178 0 0.0
chip-tool-ipv6only arm64 unknown 21776 21776 0 0.0
FLASH 11118672 11118672 0 0.0
RAM 647920 647920 0 0.0
fabric-admin debug unknown 5808 5808 0 0.0
FLASH 11387883 11387883 0 0.0
RAM 596522 596522 0 0.0
fabric-bridge-app debug unknown 4736 4736 0 0.0
FLASH 4505362 4505362 0 0.0
RAM 208648 208648 0 0.0
fabric-sync debug unknown 4976 4976 0 0.0
FLASH 5611605 5611605 0 0.0
RAM 483520 483520 0 0.0
lighting-app debug+rpc+ui unknown 6144 6144 0 0.0
FLASH 5623521 5623521 0 0.0
RAM 231744 231744 0 0.0
lock-app debug unknown 5416 5416 0 0.0
FLASH 4729814 4729814 0 0.0
RAM 207712 207712 0 0.0
ota-provider-app debug unknown 4776 4776 0 0.0
FLASH 4358390 4358390 0 0.0
RAM 201352 201352 0 0.0
ota-requestor-app debug unknown 4728 4728 0 0.0
FLASH 4495894 4495894 0 0.0
RAM 205936 205936 0 0.0
shell debug unknown 4256 4256 0 0.0
FLASH 3003981 3003981 0 0.0
RAM 160504 160504 0 0.0
thermostat-no-ble arm64 unknown 9536 9536 0 0.0
FLASH 4097984 4097984 0 0.0
RAM 246136 246136 0 0.0
tv-app debug unknown 5744 5744 0 0.0
FLASH 5951237 5951237 0 0.0
RAM 606920 606920 0 0.0
tv-casting-app debug unknown 5320 5320 0 0.0
FLASH 11268605 11268605 0 0.0
RAM 710864 710864 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 913616 913640 24 0.0
RAM 143168 143168 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 888468 888492 24 0.0
RAM 141355 141355 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 848644 848668 24 0.0
RAM 142080 142080 0 0.0
light-switch-app nrf52840dk_nrf52840 FLASH 792780 792804 24 0.0
RAM 132143 132143 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 937196 937220 24 0.0
RAM 130716 130716 0 0.0
lighting-app nrf52840dk_nrf52840+rpc FLASH 886716 886740 24 0.0
RAM 146573 146573 0 0.0
nrf52840dongle_nrf52840 FLASH 824904 824928 24 0.0
RAM 154435 154435 0 0.0
nrf5340dk_nrf5340_cpuapp FLASH 781280 781304 24 0.0
RAM 145583 145583 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 937196 937220 24 0.0
RAM 130716 130716 0 0.0
lock-app nrf52840dk_nrf52840 FLASH 807928 807952 24 0.0
RAM 132696 132696 0 0.0
nrf5340dk_nrf5340_cpuapp FLASH 733460 733484 24 0.0
RAM 132826 132826 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 953332 953356 24 0.0
RAM 131269 131269 0 0.0
pump-app nrf52840dk_nrf52840 FLASH 761468 761492 24 0.0
RAM 131473 131473 0 0.0
pump-controller-app nrf52840dk_nrf52840 FLASH 746680 746704 24 0.0
RAM 131232 131232 0 0.0
nxp contact k32w0+release FLASH 584240 584240 0 0.0
RAM 70860 70860 0 0.0
mcxw71+release FLASH 599584 599584 0 0.0
RAM 63080 63080 0 0.0
light k32w0+release FLASH 610684 610684 0 0.0
RAM 70252 70252 0 0.0
k32w1+release FLASH 685152 685152 0 0.0
RAM 48664 48664 0 0.0
lock mcxw71+release FLASH 748616 748616 0 0.0
RAM 67476 67476 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1646260 1646260 0 0.0
RAM 211560 211560 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1553036 1553036 0 0.0
RAM 208376 208376 0 0.0
light cy8ckit_062s2_43012 FLASH 1468716 1468716 0 0.0
RAM 200352 200352 0 0.0
lock cy8ckit_062s2_43012 FLASH 1466748 1466748 0 0.0
RAM 224688 224688 0 0.0
qpg lighting-app qpg6105+debug FLASH 661944 661944 0 0.0
RAM 105204 105204 0 0.0
lock-app qpg6105+debug FLASH 619740 619740 0 0.0
RAM 99648 99648 0 0.0
stm32 light STM32WB5MM-DK FLASH 482568 482568 0 0.0
RAM 144672 144672 0 0.0
telink bridge-app tlsr9258a FLASH 681316 681348 32 0.0
RAM 91084 91084 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 621348 621378 30 0.0
RAM 31484 31484 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 770186 770218 32 0.0
RAM 49344 49344 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 774616 774648 32 0.0
RAM 99648 99648 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 708520 708552 32 0.0
RAM 73376 73376 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 625626 625658 32 0.0
RAM 142016 142016 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 812998 813030 32 0.0
RAM 99560 99560 0 0.0
tizen all-clusters-app arm unknown 5116 5116 0 0.0
FLASH 1751476 1751476 0 0.0
RAM 93524 93524 0 0.0
chip-tool-ubsan arm unknown 11024 11024 0 0.0
FLASH 18211518 18211518 0 0.0
RAM 7953776 7953776 0 0.0

@maciejbaczmanski maciejbaczmanski force-pushed the matter_totaloperationalhours branch 2 times, most recently from d2c9261 to 5d25e0b Compare January 29, 2025 13:53
Copy link

github-actions bot commented Jan 29, 2025

PR #37259: Size comparison from 6e8676b to 5d25e0b

Full report (22 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, qpg, stm32, telink)
platform target config section 6e8676b 5d25e0b change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1093546 1093546 0 0.0
RAM 103298 103298 0 0.0
bl702 lighting-app bl702+eth FLASH 650158 650158 0 0.0
RAM 25265 25265 0 0.0
bl702+wifi FLASH 828066 828066 0 0.0
RAM 13981 13981 0 0.0
bl706+mfd+rpc+littlefs FLASH 1056626 1056626 0 0.0
RAM 23861 23861 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 888060 888060 0 0.0
RAM 18504 18504 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 971046 971046 0 0.0
RAM 16368 16368 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 837968 837968 0 0.0
RAM 123464 123464 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 823388 823388 0 0.0
RAM 125344 125344 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 770612 770612 0 0.0
RAM 113804 113804 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 754856 754856 0 0.0
RAM 114012 114012 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 538413 538413 0 0.0
RAM 205192 205192 0 0.0
lock CC3235SF_LAUNCHXL FLASH 572277 572277 0 0.0
RAM 205344 205344 0 0.0
qpg lighting-app qpg6105+debug FLASH 661952 661952 0 0.0
RAM 105204 105204 0 0.0
lock-app qpg6105+debug FLASH 619756 619756 0 0.0
RAM 99648 99648 0 0.0
stm32 light STM32WB5MM-DK FLASH 482568 482568 0 0.0
RAM 144672 144672 0 0.0
telink bridge-app tlsr9258a FLASH 681324 681244 -80 -0.0
RAM 91084 91084 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 621354 621272 -82 -0.0
RAM 31484 31484 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 770194 770114 -80 -0.0
RAM 49344 49344 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 774624 774544 -80 -0.0
RAM 99648 99648 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 708528 708448 -80 -0.0
RAM 73376 73376 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 625626 625546 -80 -0.0
RAM 142016 142016 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 813006 812926 -80 -0.0
RAM 99560 99560 0 0.0

src/platform/Zephyr/PlatformManagerImpl.cpp Outdated Show resolved Hide resolved
src/platform/Zephyr/PlatformManagerImpl.cpp Outdated Show resolved Hide resolved
src/platform/Zephyr/PlatformManagerImpl.cpp Outdated Show resolved Hide resolved
src/platform/Zephyr/PlatformManagerImpl.cpp Outdated Show resolved Hide resolved
src/platform/Zephyr/PlatformManagerImpl.cpp Outdated Show resolved Hide resolved
@maciejbaczmanski maciejbaczmanski force-pushed the matter_totaloperationalhours branch from 5d25e0b to 4b55c4c Compare January 29, 2025 14:38

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Currently total operational hours are saved to NVM with
`CONFIG_CHIP_OPERATIONAL_TIME_SAVE_INTERVAL`.
Certification tests require checking the value after 1 hour,
restarting the DUT, and checking if the value has not changed,
causing failures if given config is higher than 1.

This commit additionaly saves total operational hours to NVM
everytime it is being read by `GetTotalOperationalHours`
(writing only if currently stored value should be updated).
This way value is stored with minimum frequency of 1 hour (if
read request is sent frequently) and maximum frequency of
`CONFIG_CHIP_OPERATIONAL_TIME_SAVE_INTERVAL`.
@maciejbaczmanski maciejbaczmanski force-pushed the matter_totaloperationalhours branch from 4b55c4c to 922640c Compare January 29, 2025 14:40
Copy link

github-actions bot commented Jan 29, 2025

PR #37259: Size comparison from 6e8676b to 922640c

Full report (80 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink)
platform target config section 6e8676b 922640c change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1093546 1093546 0 0.0
RAM 103298 103298 0 0.0
bl702 lighting-app bl702+eth FLASH 650158 650158 0 0.0
RAM 25265 25265 0 0.0
bl702+wifi FLASH 828066 828066 0 0.0
RAM 13981 13981 0 0.0
bl706+mfd+rpc+littlefs FLASH 1056626 1056626 0 0.0
RAM 23861 23861 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 888060 888060 0 0.0
RAM 18504 18504 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 971046 971046 0 0.0
RAM 16368 16368 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 837968 837968 0 0.0
RAM 123464 123464 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 823388 823388 0 0.0
RAM 125344 125344 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 770612 770612 0 0.0
RAM 113804 113804 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 754856 754856 0 0.0
RAM 114012 114012 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 538413 538413 0 0.0
RAM 205192 205192 0 0.0
lock CC3235SF_LAUNCHXL FLASH 572277 572277 0 0.0
RAM 205344 205344 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 679377 679377 0 0.0
RAM 78532 78532 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 699229 699229 0 0.0
RAM 81172 81172 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 699229 699229 0 0.0
RAM 81172 81172 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 656157 656157 0 0.0
RAM 73600 73600 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 615761 615761 0 0.0
RAM 71516 71516 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 635389 635389 0 0.0
RAM 74060 74060 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 635389 635389 0 0.0
RAM 74060 74060 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 635233 635233 0 0.0
RAM 74524 74524 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 654941 654941 0 0.0
RAM 77068 77068 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 654941 654941 0 0.0
RAM 77068 77068 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 611677 611677 0 0.0
RAM 68612 68612 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 631537 631537 0 0.0
RAM 71252 71252 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 631537 631537 0 0.0
RAM 71252 71252 0 0.0
efr32 lock-app BRD4187C FLASH 936200 936200 0 0.0
RAM 159904 159904 0 0.0
BRD4338a FLASH 729788 729780 -8 -0.0
RAM 234764 234764 0 0.0
window-app BRD4187C FLASH 1029128 1029120 -8 -0.0
RAM 128040 128040 0 0.0
esp32 all-clusters-app c3devkit DRAM 97296 97296 0 0.0
FLASH 1576990 1576990 0 0.0
IRAM 83820 83820 0 0.0
m5stack DRAM 116092 116092 0 0.0
FLASH 1544926 1544926 0 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4760 4760 0 0.0
FLASH 2707835 2707835 0 0.0
RAM 132800 132800 0 0.0
all-clusters-app debug unknown 5568 5568 0 0.0
FLASH 5973890 5973890 0 0.0
RAM 531616 531616 0 0.0
all-clusters-minimal-app debug unknown 5464 5464 0 0.0
FLASH 5322576 5322576 0 0.0
RAM 242728 242728 0 0.0
bridge-app debug unknown 5480 5480 0 0.0
FLASH 4680764 4680764 0 0.0
RAM 221464 221464 0 0.0
chip-tool debug unknown 5984 5984 0 0.0
FLASH 13041802 13041802 0 0.0
RAM 596178 596178 0 0.0
chip-tool-ipv6only arm64 unknown 21776 21776 0 0.0
FLASH 11118672 11118672 0 0.0
RAM 647920 647920 0 0.0
fabric-admin debug unknown 5808 5808 0 0.0
FLASH 11387883 11387883 0 0.0
RAM 596522 596522 0 0.0
fabric-bridge-app debug unknown 4736 4736 0 0.0
FLASH 4505362 4505362 0 0.0
RAM 208648 208648 0 0.0
fabric-sync debug unknown 4976 4976 0 0.0
FLASH 5611605 5611605 0 0.0
RAM 483520 483520 0 0.0
lighting-app debug+rpc+ui unknown 6144 6144 0 0.0
FLASH 5623521 5623521 0 0.0
RAM 231744 231744 0 0.0
lock-app debug unknown 5416 5416 0 0.0
FLASH 4729814 4729814 0 0.0
RAM 207712 207712 0 0.0
ota-provider-app debug unknown 4776 4776 0 0.0
FLASH 4358390 4358390 0 0.0
RAM 201352 201352 0 0.0
ota-requestor-app debug unknown 4728 4728 0 0.0
FLASH 4495894 4495894 0 0.0
RAM 205936 205936 0 0.0
shell debug unknown 4256 4256 0 0.0
FLASH 3003981 3003981 0 0.0
RAM 160504 160504 0 0.0
thermostat-no-ble arm64 unknown 9536 9536 0 0.0
FLASH 4097984 4097984 0 0.0
RAM 246136 246136 0 0.0
tv-app debug unknown 5744 5744 0 0.0
FLASH 5951237 5951237 0 0.0
RAM 606920 606920 0 0.0
tv-casting-app debug unknown 5320 5320 0 0.0
FLASH 11268605 11268605 0 0.0
RAM 710864 710864 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 907060 906936 -124 -0.0
RAM 142395 142395 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 901600 901508 -92 -0.0
RAM 124739 124739 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 845788 845660 -128 -0.0
RAM 141323 141323 0 0.0
light-switch-app nrf52840dk_nrf52840 FLASH 787516 787388 -128 -0.0
RAM 131386 131386 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 953248 953120 -128 -0.0
RAM 114100 114100 0 0.0
lighting-app nrf52840dk_nrf52840+rpc FLASH 867328 867204 -124 -0.0
RAM 145768 145768 0 0.0
nrf52840dongle_nrf52840 FLASH 807464 807336 -128 -0.0
RAM 153615 153615 0 0.0
nrf5340dk_nrf5340_cpuapp FLASH 766064 765940 -124 -0.0
RAM 145091 145091 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 953248 953120 -128 -0.0
RAM 114100 114100 0 0.0
lock-app nrf52840dk_nrf52840 FLASH 775824 775696 -128 -0.0
RAM 131939 131939 0 0.0
nrf5340dk_nrf5340_cpuapp FLASH 703408 703276 -132 -0.0
RAM 132382 132382 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 942540 942412 -128 -0.0
RAM 114653 114653 0 0.0
pump-app nrf52840dk_nrf52840 FLASH 755804 755680 -124 -0.0
RAM 130716 130716 0 0.0
pump-controller-app nrf52840dk_nrf52840 FLASH 741432 741304 -128 -0.0
RAM 130475 130475 0 0.0
nxp contact k32w0+release FLASH 584256 584256 0 0.0
RAM 70860 70860 0 0.0
mcxw71+release FLASH 599600 599600 0 0.0
RAM 63080 63080 0 0.0
light k32w0+release FLASH 610684 610684 0 0.0
RAM 70252 70252 0 0.0
k32w1+release FLASH 685160 685160 0 0.0
RAM 48664 48664 0 0.0
lock mcxw71+release FLASH 748632 748632 0 0.0
RAM 67476 67476 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1646260 1646260 0 0.0
RAM 211560 211560 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1553036 1553036 0 0.0
RAM 208376 208376 0 0.0
light cy8ckit_062s2_43012 FLASH 1468716 1468716 0 0.0
RAM 200352 200352 0 0.0
lock cy8ckit_062s2_43012 FLASH 1466748 1466748 0 0.0
RAM 224688 224688 0 0.0
qpg lighting-app qpg6105+debug FLASH 661952 661952 0 0.0
RAM 105204 105204 0 0.0
lock-app qpg6105+debug FLASH 619756 619756 0 0.0
RAM 99648 99648 0 0.0
stm32 light STM32WB5MM-DK FLASH 482568 482568 0 0.0
RAM 144672 144672 0 0.0
telink bridge-app tlsr9258a FLASH 681324 681244 -80 -0.0
RAM 91084 91084 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 621354 621276 -78 -0.0
RAM 31484 31484 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 770194 770114 -80 -0.0
RAM 49344 49344 0 0.0
light-app-ota-shell-factory-data tl7218x FLASH 774624 774544 -80 -0.0
RAM 99648 99648 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 708528 708448 -80 -0.0
RAM 73376 73376 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 625626 625546 -80 -0.0
RAM 142016 142016 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 813006 812926 -80 -0.0
RAM 99560 99560 0 0.0

@mergify mergify bot merged commit 89e823e into project-chip:master Jan 30, 2025
69 checks passed
@maciejbaczmanski maciejbaczmanski deleted the matter_totaloperationalhours branch January 30, 2025 10:23
maciejbaczmanski added a commit to maciejbaczmanski/connectedhomeip that referenced this pull request Jan 30, 2025
…-chip#37259)

Currently total operational hours are saved to NVM with
`CONFIG_CHIP_OPERATIONAL_TIME_SAVE_INTERVAL`.
Certification tests require checking the value after 1 hour,
restarting the DUT, and checking if the value has not changed,
causing failures if given config is higher than 1.

This commit additionaly saves total operational hours to NVM
everytime it is being read by `GetTotalOperationalHours`
(writing only if currently stored value should be updated).
This way value is stored with minimum frequency of 1 hour (if
read request is sent frequently) and maximum frequency of
`CONFIG_CHIP_OPERATIONAL_TIME_SAVE_INTERVAL`.

(cherry picked from commit 89e823e)
maciejbaczmanski added a commit to maciejbaczmanski/connectedhomeip that referenced this pull request Jan 30, 2025
…-chip#37259)

Currently total operational hours are saved to NVM with
`CONFIG_CHIP_OPERATIONAL_TIME_SAVE_INTERVAL`.
Certification tests require checking the value after 1 hour,
restarting the DUT, and checking if the value has not changed,
causing failures if given config is higher than 1.

This commit additionaly saves total operational hours to NVM
everytime it is being read by `GetTotalOperationalHours`
(writing only if currently stored value should be updated).
This way value is stored with minimum frequency of 1 hour (if
read request is sent frequently) and maximum frequency of
`CONFIG_CHIP_OPERATIONAL_TIME_SAVE_INTERVAL`.

(cherry picked from commit 89e823e)
maciejbaczmanski added a commit to maciejbaczmanski/connectedhomeip that referenced this pull request Jan 30, 2025
…-chip#37259)

Currently total operational hours are saved to NVM with
`CONFIG_CHIP_OPERATIONAL_TIME_SAVE_INTERVAL`.
Certification tests require checking the value after 1 hour,
restarting the DUT, and checking if the value has not changed,
causing failures if given config is higher than 1.

This commit additionaly saves total operational hours to NVM
everytime it is being read by `GetTotalOperationalHours`
(writing only if currently stored value should be updated).
This way value is stored with minimum frequency of 1 hour (if
read request is sent frequently) and maximum frequency of
`CONFIG_CHIP_OPERATIONAL_TIME_SAVE_INTERVAL`.

(cherry picked from commit 89e823e)
maciejbaczmanski added a commit to maciejbaczmanski/connectedhomeip that referenced this pull request Jan 30, 2025
…-chip#37259)

Currently total operational hours are saved to NVM with
`CONFIG_CHIP_OPERATIONAL_TIME_SAVE_INTERVAL`.
Certification tests require checking the value after 1 hour,
restarting the DUT, and checking if the value has not changed,
causing failures if given config is higher than 1.

This commit additionaly saves total operational hours to NVM
everytime it is being read by `GetTotalOperationalHours`
(writing only if currently stored value should be updated).
This way value is stored with minimum frequency of 1 hour (if
read request is sent frequently) and maximum frequency of
`CONFIG_CHIP_OPERATIONAL_TIME_SAVE_INTERVAL`.

(cherry picked from commit 89e823e)
maciejbaczmanski added a commit to maciejbaczmanski/connectedhomeip that referenced this pull request Feb 5, 2025
…-chip#37259)

Currently total operational hours are saved to NVM with
`CONFIG_CHIP_OPERATIONAL_TIME_SAVE_INTERVAL`.
Certification tests require checking the value after 1 hour,
restarting the DUT, and checking if the value has not changed,
causing failures if given config is higher than 1.

This commit additionaly saves total operational hours to NVM
everytime it is being read by `GetTotalOperationalHours`
(writing only if currently stored value should be updated).
This way value is stored with minimum frequency of 1 hour (if
read request is sent frequently) and maximum frequency of
`CONFIG_CHIP_OPERATIONAL_TIME_SAVE_INTERVAL`.

(cherry picked from commit 89e823e)
pimpalemahesh pushed a commit to pimpalemahesh/connectedhomeip that referenced this pull request Feb 12, 2025
Currently total operational hours are saved to NVM with
`CONFIG_CHIP_OPERATIONAL_TIME_SAVE_INTERVAL`.
Certification tests require checking the value after 1 hour,
restarting the DUT, and checking if the value has not changed,
causing failures if given config is higher than 1.

This commit additionaly saves total operational hours to NVM
everytime it is being read by `GetTotalOperationalHours`
(writing only if currently stored value should be updated).
This way value is stored with minimum frequency of 1 hour (if
read request is sent frequently) and maximum frequency of
`CONFIG_CHIP_OPERATIONAL_TIME_SAVE_INTERVAL`.
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.

None yet

4 participants