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

[ESP32] Support total operational hours #35425

Merged
merged 3 commits into from
Sep 6, 2024

Conversation

shubhamdp
Copy link
Contributor

tests

Reduced the resolution to per minute for testing purpose and read the total-operational-hours attribute

./chip-tool generaldiagnostics read total-operational-hours 1 0

Copy link

Review changes with SemanticDiff.

Copy link

github-actions bot commented Sep 5, 2024

PR #35425: Size comparison from 2cf028b to 34baa95

Full report (77 builds for bl602, bl702, bl702l, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 2cf028b 34baa95 change % change
bl602 lighting-app bl602 FLASH 1279596 1279596 0 0.0
RAM 95904 95904 0 0.0
bl602+mfd FLASH 1293706 1293706 0 0.0
RAM 96048 96048 0 0.0
bl602+rpc FLASH 1318560 1318560 0 0.0
RAM 104328 104328 0 0.0
bl702 lighting-app bl702 FLASH 944934 944934 0 0.0
RAM 15209 15209 0 0.0
bl702+mfd FLASH 947334 947334 0 0.0
RAM 15353 15353 0 0.0
bl702+rpc FLASH 1040246 1040246 0 0.0
RAM 24221 24221 0 0.0
bl706-eth FLASH 648006 648006 0 0.0
RAM 25305 25305 0 0.0
bl706-wifi FLASH 895420 895420 0 0.0
RAM 14525 14525 0 0.0
bl702l lighting-app bl702l FLASH 961594 961594 0 0.0
RAM 16868 16868 0 0.0
bl702l+mfd FLASH 964216 964216 0 0.0
RAM 17012 17012 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 679905 679905 0 0.0
RAM 78556 78556 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 699757 699757 0 0.0
RAM 81188 81188 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 699757 699757 0 0.0
RAM 81188 81188 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 656693 656693 0 0.0
RAM 73624 73624 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 614601 614601 0 0.0
RAM 71524 71524 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 634237 634237 0 0.0
RAM 74076 74076 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 634237 634237 0 0.0
RAM 74076 74076 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 632625 632625 0 0.0
RAM 74540 74540 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 652341 652341 0 0.0
RAM 77092 77092 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 652341 652341 0 0.0
RAM 77092 77092 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 606917 606917 0 0.0
RAM 68580 68580 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 626769 626769 0 0.0
RAM 71212 71212 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 626769 626769 0 0.0
RAM 71212 71212 0 0.0
efr32 lighting-app BRD4187C FLASH 935348 935348 0 0.0
RAM 135120 135120 0 0.0
lock-app BRD4338a FLASH 740772 740772 0 0.0
RAM 197184 197184 0 0.0
window-app BRD4187C FLASH 1017448 1017440 -8 -0.0
RAM 127060 127060 0 0.0
esp32 all-clusters-app c3devkit DRAM 94128 94136 8 0.0
FLASH 1540504 1540824 320 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115064 115072 8 0.0
FLASH 1551006 1551302 296 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4624 4624 0 0.0
FLASH 2763945 2763945 0 0.0
RAM 128536 128536 0 0.0
all-clusters-app debug unknown 5408 5408 0 0.0
FLASH 6079090 6079090 0 0.0
RAM 510568 510568 0 0.0
all-clusters-minimal-app debug unknown 5304 5304 0 0.0
FLASH 5403204 5403204 0 0.0
RAM 240376 240376 0 0.0
bridge-app debug unknown 5288 5288 0 0.0
FLASH 4732686 4732686 0 0.0
RAM 217368 217368 0 0.0
chip-tool debug unknown 5832 5832 0 0.0
FLASH 12648678 12648678 0 0.0
RAM 558298 558298 0 0.0
chip-tool-ipv6only arm64 unknown 20344 20344 0 0.0
FLASH 11320676 11320676 0 0.0
RAM 608328 608328 0 0.0
fabric-admin debug unknown 5664 5664 0 0.0
FLASH 10956095 10956095 0 0.0
RAM 557290 557290 0 0.0
fabric-bridge-app debug unknown 4520 4520 0 0.0
FLASH 4555518 4555518 0 0.0
RAM 204016 204016 0 0.0
lighting-app debug+rpc+ui unknown 5936 5936 0 0.0
FLASH 5684593 5684593 0 0.0
RAM 228184 228184 0 0.0
lock-app debug unknown 5224 5224 0 0.0
FLASH 4787322 4787322 0 0.0
RAM 203768 203768 0 0.0
ota-provider-app debug unknown 4600 4600 0 0.0
FLASH 4426892 4426892 0 0.0
RAM 197752 197752 0 0.0
ota-requestor-app debug unknown 4536 4536 0 0.0
FLASH 4565446 4565446 0 0.0
RAM 202288 202288 0 0.0
shell debug unknown 4176 4176 0 0.0
FLASH 3105533 3105533 0 0.0
RAM 159200 159200 0 0.0
thermostat-no-ble arm64 unknown 9296 9296 0 0.0
FLASH 4326356 4326356 0 0.0
RAM 241896 241896 0 0.0
tv-app debug unknown 5504 5504 0 0.0
FLASH 6013845 6013845 0 0.0
RAM 583240 583240 0 0.0
tv-casting-app debug unknown 5168 5168 0 0.0
FLASH 10854941 10854941 0 0.0
RAM 645768 645768 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 915456 915456 0 0.0
RAM 142244 142244 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 886652 886652 0 0.0
RAM 140383 140383 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 846848 846848 0 0.0
RAM 141062 141062 0 0.0
nxp contact k32w0+release FLASH 579500 579500 0 0.0
RAM 70676 70676 0 0.0
k32w1+release FLASH 593328 593328 0 0.0
RAM 62712 62712 0 0.0
light k32w0+release FLASH 615128 615128 0 0.0
RAM 70140 70140 0 0.0
k32w1+release FLASH 676952 676952 0 0.0
RAM 47848 47848 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1648124 1648124 0 0.0
RAM 210944 210944 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1551756 1551756 0 0.0
RAM 207656 207656 0 0.0
light cy8ckit_062s2_43012 FLASH 1470532 1470532 0 0.0
RAM 200752 200752 0 0.0
lock cy8ckit_062s2_43012 FLASH 1463628 1463628 0 0.0
RAM 225064 225064 0 0.0
qpg lighting-app qpg6105+debug FLASH 657804 657804 0 0.0
RAM 105192 105192 0 0.0
lock-app qpg6105+debug FLASH 615960 615960 0 0.0
RAM 99660 99660 0 0.0
stm32 light STM32WB5MM-DK FLASH 483248 483248 0 0.0
RAM 144740 144740 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 620502 620502 0 0.0
RAM 50932 50932 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 687436 687436 0 0.0
RAM 149576 149576 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 779876 779876 0 0.0
RAM 110736 110736 0 0.0
bridge-app tlsr9258a FLASH 679494 679494 0 0.0
RAM 91588 91588 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 622094 622094 0 0.0
RAM 50972 50972 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 708104 708104 0 0.0
RAM 74312 74312 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 625736 625736 0 0.0
RAM 145556 145556 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 811868 811868 0 0.0
RAM 99480 99480 0 0.0
lock-app-dfu tlsr9528a FLASH 655076 655076 0 0.0
RAM 67008 67008 0 0.0
ota-requestor-app tlsr9258a FLASH 697360 697360 0 0.0
RAM 91272 91272 0 0.0
pump-app-usb tlsr9518adk80d FLASH 631802 631802 0 0.0
RAM 55752 55752 0 0.0
pump-controller-app tlsr9518adk80d FLASH 609050 609050 0 0.0
RAM 52996 52996 0 0.0
shell tlsr9518adk80d FLASH 466890 466890 0 0.0
RAM 68660 68660 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 628880 628880 0 0.0
RAM 52692 52692 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 653032 653032 0 0.0
RAM 56632 56632 0 0.0
thermostat tlsr9518adk80d FLASH 635782 635782 0 0.0
RAM 53400 53400 0 0.0
window-covering tlsr9118bdk40d FLASH 523036 523036 0 0.0
RAM 98532 98532 0 0.0
tizen all-clusters-app arm unknown 4840 4840 0 0.0
FLASH 1725044 1725044 0 0.0
RAM 89524 89524 0 0.0
chip-tool-ubsan arm unknown 10272 10272 0 0.0
FLASH 17494974 17494974 0 0.0
RAM 7594084 7594084 0 0.0

@mergify mergify bot merged commit e96ddd9 into project-chip:master Sep 6, 2024
67 checks passed
@shubhamdp shubhamdp deleted the esp32_total_op_time branch September 6, 2024 17:21
shubhamdp added a commit to shubhamdp/connectedhomeip that referenced this pull request Sep 10, 2024
* [ESP32] support for total operational hour

* remove stale TODOs

* Restyled by clang-format

---------

Co-authored-by: Restyled.io <[email protected]>
shubhamdp added a commit to shubhamdp/connectedhomeip that referenced this pull request Sep 12, 2024
* [ESP32] support for total operational hour

* remove stale TODOs

* Restyled by clang-format

---------

Co-authored-by: Restyled.io <[email protected]>
mergify bot pushed a commit that referenced this pull request Sep 12, 2024
* [ESP32] Support total operational hours (#35425)

* [ESP32] support for total operational hour

* remove stale TODOs

* Restyled by clang-format

---------

Co-authored-by: Restyled.io <[email protected]>

* fix ci failure

---------

Co-authored-by: Restyled.io <[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.

4 participants