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

Workaround Fan PercentSetting floating point precision error after "ceil()" #27912

Merged

Conversation

erwinpan1
Copy link
Contributor

@erwinpan1 erwinpan1 commented Jul 12, 2023

Workaround floating point precision error which will cause result after ceil()

For example, the current value:
speedMax: 10
percent: 70
speedMax * (percent * 0.01) = 7.000000000000001 (floating point
precision error)
ceil(speedMax * (percent * 0.01)) = 8 => The error propagate to ceil
and cause the final result error.

Here's the debugging log from Linux:

...
ERR  [1689154261.810899][659359:659359] CHIP:ZCL:  SpeedMax: 10 ]
ERR  [1689154261.810925][659359:659359] CHIP:ZCL:  percent: 70.000000, percent*0.01: 0.700000000000000 
ERR  [1689154261.810945][659359:659359] CHIP:ZCL:  speedMax*(percent*0.01): 7.000000000000001 
ERR  [1689154261.810955][659359:659359] CHIP:ZCL:  ceil(speedMax*(percentage*0.01)) 8.000, speedSetting: 8 
...

Thus, the error propagate during calculation and causes incorrect result:

speed = ceil( SpeedMax * (percent * 0.01) )
      = ceil ( 10 * (70 * 0.01) )
      = ceil ( 10 * 0.70000000000 )
      = ceil ( 7.000000000000001 )
      = 8

then we get 80% when setting 70% to PercentSetting

@erwinpan1 erwinpan1 changed the title Workaround Fan Percent Setting floating point err Workaround Fan Percent Setting floating point precision error Jul 12, 2023
@erwinpan1 erwinpan1 changed the title Workaround Fan Percent Setting floating point precision error Workaround Fan PercentSetting floating point precision error Jul 12, 2023
@erwinpan1 erwinpan1 changed the title Workaround Fan PercentSetting floating point precision error Workaround Fan PercentSetting floating point precision error after "ceil()" Jul 12, 2023
@github-actions
Copy link

github-actions bot commented Jul 12, 2023

PR #27912: Size comparison from ab4509c to 110ef28

Increases above 0.2%:

platform target config section ab4509c 110ef28 change % change
telink all-clusters-app tlsr9518adk80d text 721926 723586 1660 0.2
all-clusters-minimal-app tlsr9518adk80d text 668472 670134 1662 0.2
Increases (26 builds for bl602, bl702, bl702l, cc32xx, esp32, linux, nrfconnect, psoc6, qpg, telink)
platform target config section ab4509c 110ef28 change % change
bl602 lighting-app bl602 .text 1051990 1051992 2 0.0
bl702 lighting-app bl702 (read/write) 1178911 1178915 4 0.0
.debug_info 42083892 42083893 1 0.0
.text 946040 946042 2 0.0
bl702l lighting-app bl702l (read/write) 1159292 1159296 4 0.0
.debug_info 42077242 42077243 1 0.0
.text 934600 934602 2 0.0
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20182632 20182633 1 0.0
esp32 all-clusters-app c3devkit (read only) 1089280 1089298 18 0.0
(read/write) 1586768 1586776 8 0.0
.flash.rodata 217736 217744 8 0.0
.flash.text 1089280 1089298 18 0.0
m5stack (read only) 1135827 1135847 20 0.0
.flash.text 1130443 1130463 20 0.0
linux all-clusters-app debug (read only) 5158841 5158857 16 0.0
.text 4645171 4645187 16 0.0
all-clusters-minimal-app debug (read only) 4873217 4873233 16 0.0
.text 4374275 4374291 16 0.0
shell debug (read only) 2883729 2883745 16 0.0
.text 2511186 2511202 16 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1224940 1224972 32 0.0
text 851060 851080 20 0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1326068 1326084 16 0.0
text 762612 762628 16 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1151920 1151936 16 0.0
text 807604 807628 24 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1746732 1746748 16 0.0
.debug_info 29932547 29932569 22 0.0
.debug_line 4098832 4098835 3 0.0
.debug_str 4435357 4435370 13 0.0
.text 1546364 1546380 16 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1665084 1665100 16 0.0
.debug_info 28641840 28641860 20 0.0
.debug_line 4051823 4051826 3 0.0
.debug_str 4377528 4377541 13 0.0
.text 1466564 1466580 16 0.0
light cy8ckit_062s2_43012 .debug_info 23375945 23375946 1 0.0
qpg lighting-app qpg6105+debug (read/write) 1172496 1172504 8 0.0
.text 619336 619344 8 0.0
telink all-clusters-app tlsr9518adk80d (read/write) 1051140 1052812 1672 0.2
text 721926 723586 1660 0.2
all-clusters-minimal-app tlsr9518adk80d (read/write) 965512 967184 1672 0.2
text 668472 670134 1662 0.2
bridge-app tlsr9518adk80d text 643520 643522 2 0.0
contact-sensor-app tlsr9518adk80d text 586728 586730 2 0.0
lighting-app tlsr9518adk80d text 682434 682438 4 0.0
lighting-app-rpc tlsr9518adk80d text 727324 727328 4 0.0
pump-app tlsr9518adk80d text 592488 592490 2 0.0
temperature-measurement-app tlsr9518adk80d (read/write) 851420 851428 8 0.0
text 578460 578462 2 0.0
thermostat tlsr9518adk80d (read/write) 897332 897340 8 0.0
text 617876 617878 2 0.0
window-covering tlsr9518adk80d (read/write) 892712 892720 8 0.0
text 612800 612804 4 0.0
Decreases (5 builds for cyw30739, psoc6, telink)
platform target config section ab4509c 110ef28 change % change
cyw30739 ota-requestor cyw930739m2evb_01 (read/write) 568607 568599 -8 -0.0
.app_xip_area 462153 462145 -8 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_abbrev 1318230 1318229 -1 -0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_abbrev 1285895 1285894 -1 -0.0
telink light-switch-app tlsr9518adk80d text 612192 612190 -2 -0.0
lighting-app-factory-data tlsr9518adk80d text 689954 689952 -2 -0.0
Full report (58 builds for bl602, bl702, bl702l, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section ab4509c 110ef28 change % change
bl602 lighting-app bl602 (read/write) 1367922 1367922 0 0.0
.bss 83942 83942 0 0.0
.data 9624 9624 0 0.0
.text 1051990 1051992 2 0.0
bl602+rpc (read/write) 1415358 1415358 0 0.0
.bss 91990 91990 0 0.0
.data 10024 10024 0 0.0
.text 1083876 1083876 0 0.0
bl702 lighting-app bl702 (read/write) 1178911 1178915 4 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 77773 77773 0 0.0
.bss_psram 24656 24656 0 0.0
.comment 48 48 0 0.0
.data 3592 3592 0 0.0
.debug_abbrev 1556703 1556703 0 0.0
.debug_aranges 151296 151296 0 0.0
.debug_frame 556512 556512 0 0.0
.debug_info 42083892 42083893 1 0.0
.debug_line 5617399 5617399 0 0.0
.debug_loc 3822821 3822821 0 0.0
.debug_ranges 397504 397504 0 0.0
.debug_str 4382598 4382598 0 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 140 140 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 105704 105704 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 582236 582236 0 0.0
.symtab 174176 174176 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3394 3394 0 0.0
.text 0 0 0 0.0
946040 946042 2 0.0
bl702+rpc (read/write) 1277547 1277547 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 85821 85821 0 0.0
.bss_psram 25072 25072 0 0.0
.comment 48 48 0 0.0
.data 4144 4144 0 0.0
.debug_abbrev 1723262 1723262 0 0.0
.debug_aranges 159808 159808 0 0.0
.debug_frame 585364 585364 0 0.0
.debug_info 47286899 47286899 0 0.0
.debug_line 6044999 6044999 0 0.0
.debug_loc 4028681 4028681 0 0.0
.debug_ranges 423248 423248 0 0.0
.debug_str 4812986 4812986 0 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 156 156 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 120356 120356 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 645177 645177 0 0.0
.symtab 193088 193088 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3394 3394 0 0.0
.text 0 0 0 0.0
1020432 1020432 0 0.0
bl702l lighting-app bl702l (read only) 278 278 0 0.0
(read/write) 1159292 1159296 4 0.0
.boot2 292 292 0 0.0
.bss 40776 40776 0 0.0
.bss_psram 69168 69168 0 0.0
.comment 48 48 0 0.0
.data 4560 4560 0 0.0
.debug_abbrev 1557606 1557606 0 0.0
.debug_aranges 145440 145440 0 0.0
.debug_frame 535144 535144 0 0.0
.debug_info 42077242 42077243 1 0.0
.debug_line 5523315 5523315 0 0.0
.debug_loc 3755496 3755496 0 0.0
.debug_ranges 402400 402400 0 0.0
.debug_str 4393292 4393292 0 0.0
.hbn 3244 3244 0 0.0
.hbn_noinit 308 308 0 0.0
.init 408 408 0 0.0
.init_array 140 140 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 99652 99652 0 0.0
.romdata 3224 3224 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 286 286 0 0.0
.stack 2048 2048 0 0.0
.strtab 582143 582143 0 0.0
.symtab 173504 173504 0 0.0
.tcm_data 692 692 0 0.0
.tcmcode 278 278 0 0.0
.text 0 0 0 0.0
934600 934602 2 0.0
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 608394 608394 0 0.0
(read/write) 204172 204172 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197584 197584 0 0.0
.comment 206 206 0 0.0
.data 1468 1468 0 0.0
.debug_abbrev 951471 951471 0 0.0
.debug_aranges 119856 119856 0 0.0
.debug_frame 409452 409452 0 0.0
.debug_info 20182632 20182633 1 0.0
.debug_line 2892028 2892028 0 0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1741980 1741980 0 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 108283 108283 0 0.0
.debug_str 3825444 3825444 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 104914 104914 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 485459 485459 0 0.0
.symtab 288368 288368 0 0.0
.text 501356 501356 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 545527 545527 0 0.0
.app_xip_area 437985 437985 0 0.0
.bss 62512 62512 0 0.0
.data 712 712 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 530583 530583 0 0.0
.app_xip_area 418065 418065 0 0.0
.bss 67480 67480 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 568607 568599 -8 -0.0
.app_xip_area 462153 462145 -8 -0.0
.bss 61472 61472 0 0.0
.data 668 668 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 541759 541759 0 0.0
.app_xip_area 432353 432353 0 0.0
.bss 64344 64344 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1005164 1005164 0 0.0
.bss 182252 182252 0 0.0
.data 2700 2700 0 0.0
.text 820192 820192 0 0.0
BRD4187C (read/write) 1030112 1030112 0 0.0
.bss 161860 161860 0 0.0
.data 3308 3308 0 0.0
.text 864924 864924 0 0.0
lock-app BRD4161A+wf200 (read/write) 1080744 1080744 0 0.0
.bss 176252 176252 0 0.0
.data 2696 2696 0 0.0
.text 901776 901776 0 0.0
window-app BRD4187C (read/write) 1100568 1100568 0 0.0
.bss 144868 144868 0 0.0
.data 3204 3204 0 0.0
.text 952476 952476 0 0.0
esp32 all-clusters-app c3devkit (read only) 1089280 1089298 18 0.0
(read/write) 1586768 1586776 8 0.0
.dram0.bss 75944 75944 0 0.0
.dram0.data 13940 13940 0 0.0
.flash.rodata 217736 217744 8 0.0
.flash.text 1089280 1089298 18 0.0
.iram0.text 76740 76740 0 0.0
m5stack (read only) 1135827 1135847 20 0.0
(read/write) 497174 497174 0 0.0
.dram0.bss 81424 81424 0 0.0
.dram0.data 34304 34304 0 0.0
.flash.rodata 246296 246296 0 0.0
.flash.text 1130443 1130463 20 0.0
.iram0.text 126055 126055 0 0.0
k32w contact k32w0+release (read only) 586652 586652 0 0.0
(read/write) 90112 90112 0 0.0
.bss 66108 66108 0 0.0
.data 2168 2168 0 0.0
.text 586116 586116 0 0.0
light k32w0+release (read only) 585356 585356 0 0.0
(read/write) 89760 89760 0 0.0
.bss 65772 65772 0 0.0
.data 2156 2156 0 0.0
.text 584820 584820 0 0.0
lock k32w0+release (read only) 557932 557932 0 0.0
(read/write) 87560 87560 0 0.0
.bss 63636 63636 0 0.0
.data 2100 2100 0 0.0
.text 557396 557396 0 0.0
linux all-clusters-app debug (read only) 5158841 5158857 16 0.0
(read/write) 244736 244736 0 0.0
.bss 127520 127520 0 0.0
.data 4336 4336 0 0.0
.data.rel.ro 105632 105632 0 0.0
.dynamic 624 624 0 0.0
.got 5400 5400 0 0.0
.init 27 27 0 0.0
.init_array 1176 1176 0 0.0
.rodata 278862 278862 0 0.0
.text 4645171 4645187 16 0.0
all-clusters-minimal-app debug (read only) 4873217 4873233 16 0.0
(read/write) 230464 230464 0 0.0
.bss 125408 125408 0 0.0
.data 4304 4304 0 0.0
.data.rel.ro 93632 93632 0 0.0
.dynamic 624 624 0 0.0
.got 5360 5360 0 0.0
.init 27 27 0 0.0
.init_array 1112 1112 0 0.0
.rodata 269838 269838 0 0.0
.text 4374275 4374291 16 0.0
bridge-app debug (read only) 2744065 2744065 0 0.0
(read/write) 132160 132160 0 0.0
.bss 50424 50424 0 0.0
.data 4976 4976 0 0.0
.data.rel.ro 70656 70656 0 0.0
.dynamic 624 624 0 0.0
.got 4648 4648 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 212360 212360 0 0.0
.text 2355363 2355363 0 0.0
chip-tool debug (read only) 18524817 18524817 0 0.0
(read/write) 1054256 1054256 0 0.0
.bss 93560 93560 0 0.0
.data 5154 5154 0 0.0
.data.rel.ro 948208 948208 0 0.0
.dynamic 624 624 0 0.0
.got 5888 5888 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 827401 827401 0 0.0
.text 15717347 15717347 0 0.0
chip-tool-ipv6only arm64 (read only) 17809392 17809392 0 0.0
(read/write) 1121848 1121848 0 0.0
.bss 102952 102952 0 0.0
.data 4448 4448 0 0.0
.data.rel.ro 985424 985424 0 0.0
.dynamic 560 560 0 0.0
.got 23512 23512 0 0.0
.init 24 24 0 0.0
.init_array 240 240 0 0.0
.rodata 734208 734208 0 0.0
.text 14910468 14910468 0 0.0
lighting-app debug+rpc+ui (read only) 5212729 5212729 0 0.0
(read/write) 220728 220728 0 0.0
.bss 117264 117264 0 0.0
.data 4880 4880 0 0.0
.data.rel.ro 91048 91048 0 0.0
.dynamic 672 672 0 0.0
.got 5912 5912 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 331668 331668 0 0.0
.text 4641283 4641283 0 0.0
lock-app debug (read only) 4434513 4434513 0 0.0
(read/write) 201048 201048 0 0.0
.bss 112528 112528 0 0.0
.data 4048 4048 0 0.0
.data.rel.ro 77712 77712 0 0.0
.dynamic 624 624 0 0.0
.got 5272 5272 0 0.0
.init 27 27 0 0.0
.init_array 832 832 0 0.0
.rodata 245198 245198 0 0.0
.text 3982227 3982227 0 0.0
ota-provider-app debug (read only) 4022761 4022761 0 0.0
(read/write) 187704 187704 0 0.0
.bss 111712 111712 0 0.0
.data 4256 4256 0 0.0
.data.rel.ro 65904 65904 0 0.0
.dynamic 624 624 0 0.0
.got 4504 4504 0 0.0
.init 27 27 0 0.0
.init_array 688 688 0 0.0
.rodata 198638 198638 0 0.0
.text 3639395 3639395 0 0.0
ota-requestor-app debug (read only) 4201289 4201289 0 0.0
(read/write) 195496 195496 0 0.0
.bss 114176 114176 0 0.0
.data 4656 4656 0 0.0
.data.rel.ro 70744 70744 0 0.0
.dynamic 624 624 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 202894 202894 0 0.0
.text 3804947 3804947 0 0.0
shell debug (read only) 2883729 2883745 16 0.0
(read/write) 149352 149352 0 0.0
.bss 59272 59272 0 0.0
.data 1232 1232 0 0.0
.data.rel.ro 83000 83000 0 0.0
.dynamic 608 608 0 0.0
.got 4128 4128 0 0.0
.init 27 27 0 0.0
.init_array 1080 1080 0 0.0
.rodata 203730 203730 0 0.0
.text 2511186 2511202 16 0.0
thermostat-no-ble arm64 (read only) 4408128 4408128 0 0.0
(read/write) 241432 241432 0 0.0
.bss 121000 121000 0 0.0
.data 3192 3192 0 0.0
.data.rel.ro 100984 100984 0 0.0
.dynamic 560 560 0 0.0
.got 11800 11800 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 160620 160620 0 0.0
.text 3913380 3913380 0 0.0
tv-app debug (read only) 5160105 5160105 0 0.0
(read/write) 345464 345464 0 0.0
.bss 238432 238432 0 0.0
.data 6224 6224 0 0.0
.data.rel.ro 93448 93448 0 0.0
.dynamic 624 624 0 0.0
.got 5592 5592 0 0.0
.init 27 27 0 0.0
.init_array 1104 1104 0 0.0
.rodata 269950 269950 0 0.0
.text 4652195 4652195 0 0.0
tv-casting-app debug (read only) 9544345 9544345 0 0.0
(read/write) 224000 224000 0 0.0
.bss 52224 52224 0 0.0
.data 2864 2864 0 0.0
.data.rel.ro 162184 162184 0 0.0
.dynamic 624 624 0 0.0
.got 5040 5040 0 0.0
.init 27 27 0 0.0
.init_array 1016 1016 0 0.0
.rodata 372548 372548 0 0.0
.text 8733267 8733267 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2515936 2515936 0 0.0
.bss 216312 216312 0 0.0
.data 5152 5152 0 0.0
.text 1478620 1478620 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1224940 1224972 32 0.0
bss 155370 155370 0 0.0
rodata 139440 139440 0 0.0
text 851060 851080 20 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1326068 1326084 16 0.0
bss 138696 138696 0 0.0
rodata 134056 134056 0 0.0
text 762612 762628 16 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1151920 1151936 16 0.0
bss 153489 153489 0 0.0
rodata 111732 111732 0 0.0
text 807604 807628 24 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841360 841360 0 0.0
(read/write) 1746732 1746748 16 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 189412 189412 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2568 2568 0 0.0
.debug_abbrev 1318230 1318229 -1 -0.0
.debug_aranges 151360 151360 0 0.0
.debug_frame 507120 507120 0 0.0
.debug_info 29932547 29932569 22 0.0
.debug_line 4098832 4098835 3 0.0
.debug_line_str 957 957 0 0.0
.debug_loclists 2347485 2347485 0 0.0
.debug_rnglists 146801 146801 0 0.0
.debug_str 4435357 4435370 13 0.0
.heap 841360 841360 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 775993 775993 0 0.0
.symtab 488208 488208 0 0.0
.text 0 0 0 0.0
1546364 1546380 16 0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 843208 843208 0 0.0
(read/write) 1665084 1665100 16 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187572 187572 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2560 2560 0 0.0
.debug_abbrev 1285895 1285894 -1 -0.0
.debug_aranges 148592 148592 0 0.0
.debug_frame 502916 502916 0 0.0
.debug_info 28641840 28641860 20 0.0
.debug_line 4051823 4051826 3 0.0
.debug_line_str 981 981 0 0.0
.debug_loclists 2305728 2305728 0 0.0
.debug_rnglists 143551 143551 0 0.0
.debug_str 4377528 4377541 13 0.0
.heap 843208 843208 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 703634 703634 0 0.0
.symtab 461856 461856 0 0.0
.text 1466564 1466580 16 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 849416 849416 0 0.0
(read/write) 1597756 1597756 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 181532 181532 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2392 2392 0 0.0
.debug_abbrev 1122122 1122122 0 0.0
.debug_aranges 138952 138952 0 0.0
.debug_frame 466884 466884 0 0.0
.debug_info 23375945 23375946 1 0.0
.debug_line 3623109 3623109 0 0.0
.debug_line_str 942 942 0 0.0
.debug_loclists 2146829 2146829 0 0.0
.debug_rnglists 133585 133585 0 0.0
.debug_str 4191279 4191279 0 0.0
.heap 849416 849416 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 627131 627131 0 0.0
.symtab 427392 427392 0 0.0
.text 1405444 1405444 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 821960 821960 0 0.0
(read/write) 1628652 1628652 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 208988 208988 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2392 2392 0 0.0
.debug_abbrev 1104389 1104389 0 0.0
.debug_aranges 137048 137048 0 0.0
.debug_frame 460144 460144 0 0.0
.debug_info 23074334 23074334 0 0.0
.debug_line 3558492 3558492 0 0.0
.debug_line_str 933 933 0 0.0
.debug_loclists 2115409 2115409 0 0.0
.debug_rnglists 131109 131109 0 0.0
.debug_str 4146463 4146463 0 0.0
.heap 821960 821960 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 597360 597360 0 0.0
.symtab 417680 417680 0 0.0
.text 1408884 1408884 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1172496 1172504 8 0.0
.bss 99960 99960 0 0.0
.data 788 788 0 0.0
.text 619336 619344 8 0.0
lock-app qpg6105+debug (read/write) 1130616 1130616 0 0.0
.bss 94816 94816 0 0.0
.data 792 792 0 0.0
.text 577460 577460 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1051140 1052812 1672 0.2
bss 98292 98292 0 0.0
text 721926 723586 1660 0.2
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 965512 967184 1672 0.2
bss 96288 96288 0 0.0
text 668472 670134 1662 0.2
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 930908 930908 0 0.0
bss 100308 100308 0 0.0
text 643520 643522 2 0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 862652 862652 0 0.0
bss 89972 89972 0 0.0
text 586728 586730 2 0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 891264 891264 0 0.0
bss 90516 90516 0 0.0
text 612192 612190 -2 -0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 969464 969464 0 0.0
bss 98648 98648 0 0.0
text 682434 682438 4 0.0
lighting-app-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 980836 980836 0 0.0
bss 102896 102896 0 0.0
text 689954 689952 -2 -0.0
lighting-app-rpc tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1038948 1038948 0 0.0
bss 100204 100204 0 0.0
text 727324 727328 4 0.0
lighting-app-shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1070312 1070312 0 0.0
bss 111288 111288 0 0.0
text 747476 747476 0 0.0
lock-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 917764 917764 0 0.0
bss 90636 90636 0 0.0
text 615396 615396 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 885220 885220 0 0.0
bss 91248 91248 0 0.0
text 608542 608542 0 0.0
pump-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 868252 868252 0 0.0
bss 90104 90104 0 0.0
text 592488 592490 2 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 855272 855272 0 0.0
bss 89904 89904 0 0.0
text 582832 582832 0 0.0
temperature-measurement-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 851420 851428 8 0.0
bss 89812 89812 0 0.0
text 578460 578462 2 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 897332 897340 8 0.0
bss 90348 90348 0 0.0
text 617876 617878 2 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 892712 892720 8 0.0
bss 90640 90640 0 0.0
text 612800 612804 4 0.0

erwinpan1 and others added 3 commits July 13, 2023 13:32
Workaround floating point precision error which will cause invalid value
after ceil()

For example, the current value:
   speedMax: 10
   percent: 70
   speedMax * (percent * 0.01) = 7.000000000000001 (floating point
precision error)
   ceil(speedMax * (percent * 0.01)) = 8 => The error propagate to ceil
and cause the final result error.
Use integer multiply & devide to workaround floating
point precision error which causes incorrect Fan PercentSetting
value after ceil calculation.
@erwinpan1 erwinpan1 force-pushed the fix_fan_floating_point_precision_error branch from e54b98a to fdc74b5 Compare July 13, 2023 05:32
@github-actions
Copy link

github-actions bot commented Jul 13, 2023

PR #27912: Size comparison from 5d2beb7 to fdc74b5

Increases (10 builds for bl702, cc32xx, esp32, linux, psoc6, telink)
platform target config section 5d2beb7 fdc74b5 change % change
bl702 lighting-app bl702 .debug_info 42159677 42159678 1 0.0
.text 946082 946084 2 0.0
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20256516 20256517 1 0.0
esp32 all-clusters-app m5stack (read/write) 497174 497178 4 0.0
.flash.rodata 246296 246300 4 0.0
linux all-clusters-app debug .text 4646067 4646083 16 0.0
all-clusters-minimal-app debug .text 4375139 4375171 32 0.0
shell debug .text 2511314 2511346 32 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_line 4112004 4112026 22 0.0
.debug_loclists 2357014 2357017 3 0.0
.debug_str 4472251 4472344 93 0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_line 4064995 4065017 22 0.0
.debug_loclists 2315258 2315261 3 0.0
.debug_str 4414422 4414515 93 0.0
light cy8ckit_062s2_43012 .debug_info 23453668 23453669 1 0.0
telink temperature-measurement-app tlsr9518adk80d (read/write) 851420 851428 8 0.0
text 578460 578464 4 0.0
Decreases (18 builds for bl702, bl702l, esp32, linux, nrfconnect, psoc6, telink)
platform target config section 5d2beb7 fdc74b5 change % change
bl702 lighting-app bl702+rpc (read/write) 1277591 1277587 -4 -0.0
.debug_info 47363368 47363367 -1 -0.0
.text 1020474 1020472 -2 -0.0
bl702l lighting-app bl702l .debug_info 42153028 42153027 -1 -0.0
.text 934644 934642 -2 -0.0
esp32 all-clusters-app c3devkit (read only) 1089386 1088958 -428 -0.0
(read/write) 1586768 1586752 -16 -0.0
.flash.rodata 217736 217720 -16 -0.0
.flash.text 1089386 1088958 -428 -0.0
m5stack (read only) 1135915 1135539 -376 -0.0
.flash.text 1130531 1130155 -376 -0.0
linux all-clusters-app debug (read only) 5159801 5159705 -96 -0.0
(read/write) 244704 244672 -32 -0.0
.got 5400 5392 -8 -0.1
.rodata 278926 278894 -32 -0.0
all-clusters-minimal-app debug (read only) 4874145 4874089 -56 -0.0
.got 5360 5352 -8 -0.1
shell debug (read only) 2883857 2883761 -96 -0.0
(read/write) 149352 149320 -32 -0.0
.dynamic 608 592 -16 -2.6
.got 4128 4120 -8 -0.2
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1206480 1205056 -1424 -0.1
text 835768 834340 -1428 -0.2
nrf7002dk_nrf5340_cpuapp (read/write) 1326132 1326068 -64 -0.0
text 762668 762604 -64 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1151968 1150544 -1424 -0.1
text 807660 806232 -1428 -0.2
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1746764 1746460 -304 -0.0
.debug_abbrev 1318262 1318257 -5 -0.0
.debug_frame 509996 509940 -56 -0.0
.debug_info 30032526 30032503 -23 -0.0
.debug_rnglists 147383 147379 -4 -0.0
.strtab 776130 776116 -14 -0.0
.symtab 488256 488192 -64 -0.0
.text 1546396 1546092 -304 -0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1665116 1664812 -304 -0.0
.debug_abbrev 1285927 1285922 -5 -0.0
.debug_frame 505792 505736 -56 -0.0
.debug_info 28737367 28737342 -25 -0.0
.debug_rnglists 144133 144129 -4 -0.0
.strtab 703771 703757 -14 -0.0
.symtab 461904 461840 -64 -0.0
.text 1466596 1466292 -304 -0.0
telink all-clusters-app tlsr9518adk80d (read/write) 1051180 1047700 -3480 -0.3
text 721964 718502 -3462 -0.5
all-clusters-minimal-app tlsr9518adk80d (read/write) 965552 962064 -3488 -0.4
text 668512 665038 -3474 -0.5
bridge-app tlsr9518adk80d text 643524 643522 -2 -0.0
lighting-app tlsr9518adk80d text 682438 682434 -4 -0.0
ota-requestor-app tlsr9518adk80d text 608584 608582 -2 -0.0
pump-app tlsr9518adk80d (read/write) 868284 868276 -8 -0.0
text 592518 592516 -2 -0.0
Full report (58 builds for bl602, bl702, bl702l, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 5d2beb7 fdc74b5 change % change
bl602 lighting-app bl602 (read/write) 1367962 1367962 0 0.0
.bss 83942 83942 0 0.0
.data 9624 9624 0 0.0
.text 1052032 1052032 0 0.0
bl602+rpc (read/write) 1415398 1415398 0 0.0
.bss 91990 91990 0 0.0
.data 10024 10024 0 0.0
.text 1083916 1083916 0 0.0
bl702 lighting-app bl702 (read/write) 1178955 1178955 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 77773 77773 0 0.0
.bss_psram 24656 24656 0 0.0
.comment 48 48 0 0.0
.data 3592 3592 0 0.0
.debug_abbrev 1556733 1556733 0 0.0
.debug_aranges 151880 151880 0 0.0
.debug_frame 558900 558900 0 0.0
.debug_info 42159677 42159678 1 0.0
.debug_line 5631652 5631652 0 0.0
.debug_loc 3839536 3839536 0 0.0
.debug_ranges 398688 398688 0 0.0
.debug_str 4418247 4418247 0 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 140 140 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 105704 105704 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 582374 582374 0 0.0
.symtab 174192 174192 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3394 3394 0 0.0
.text 0 0 0 0.0
946082 946084 2 0.0
bl702+rpc (read/write) 1277591 1277587 -4 -0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 85821 85821 0 0.0
.bss_psram 25072 25072 0 0.0
.comment 48 48 0 0.0
.data 4144 4144 0 0.0
.debug_abbrev 1723292 1723292 0 0.0
.debug_aranges 160392 160392 0 0.0
.debug_frame 587752 587752 0 0.0
.debug_info 47363368 47363367 -1 -0.0
.debug_line 6059252 6059252 0 0.0
.debug_loc 4045438 4045438 0 0.0
.debug_ranges 424432 424432 0 0.0
.debug_str 4848635 4848635 0 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 156 156 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 120356 120356 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 645315 645315 0 0.0
.symtab 193104 193104 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3394 3394 0 0.0
.text 0 0 0 0.0
1020474 1020472 -2 -0.0
bl702l lighting-app bl702l (read only) 278 278 0 0.0
(read/write) 1159336 1159336 0 0.0
.boot2 292 292 0 0.0
.bss 40776 40776 0 0.0
.bss_psram 69168 69168 0 0.0
.comment 48 48 0 0.0
.data 4560 4560 0 0.0
.debug_abbrev 1557636 1557636 0 0.0
.debug_aranges 146024 146024 0 0.0
.debug_frame 537532 537532 0 0.0
.debug_info 42153028 42153027 -1 -0.0
.debug_line 5537568 5537568 0 0.0
.debug_loc 3772237 3772237 0 0.0
.debug_ranges 403584 403584 0 0.0
.debug_str 4428941 4428941 0 0.0
.hbn 3244 3244 0 0.0
.hbn_noinit 308 308 0 0.0
.init 408 408 0 0.0
.init_array 140 140 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 99652 99652 0 0.0
.romdata 3224 3224 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 286 286 0 0.0
.stack 2048 2048 0 0.0
.strtab 582281 582281 0 0.0
.symtab 173520 173520 0 0.0
.tcm_data 692 692 0 0.0
.tcmcode 278 278 0 0.0
.text 0 0 0 0.0
934644 934642 -2 -0.0
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 608394 608394 0 0.0
(read/write) 204172 204172 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197584 197584 0 0.0
.comment 206 206 0 0.0
.data 1468 1468 0 0.0
.debug_abbrev 951471 951471 0 0.0
.debug_aranges 120624 120624 0 0.0
.debug_frame 412296 412296 0 0.0
.debug_info 20256516 20256517 1 0.0
.debug_line 2905048 2905048 0 0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1751287 1751287 0 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 108859 108859 0 0.0
.debug_str 3862173 3862173 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 104914 104914 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 485459 485459 0 0.0
.symtab 288368 288368 0 0.0
.text 501356 501356 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 545575 545575 0 0.0
.app_xip_area 438033 438033 0 0.0
.bss 62512 62512 0 0.0
.data 712 712 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 530631 530631 0 0.0
.app_xip_area 418113 418113 0 0.0
.bss 67480 67480 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 568655 568655 0 0.0
.app_xip_area 462201 462201 0 0.0
.bss 61472 61472 0 0.0
.data 668 668 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 541823 541823 0 0.0
.app_xip_area 432417 432417 0 0.0
.bss 64344 64344 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1005212 1005212 0 0.0
.bss 182252 182252 0 0.0
.data 2700 2700 0 0.0
.text 820240 820240 0 0.0
BRD4187C (read/write) 1030168 1030168 0 0.0
.bss 161860 161860 0 0.0
.data 3308 3308 0 0.0
.text 864980 864980 0 0.0
lock-app BRD4161A+wf200 (read/write) 1080792 1080792 0 0.0
.bss 176252 176252 0 0.0
.data 2696 2696 0 0.0
.text 901824 901824 0 0.0
window-app BRD4187C (read/write) 1100624 1100624 0 0.0
.bss 144868 144868 0 0.0
.data 3204 3204 0 0.0
.text 952532 952532 0 0.0
esp32 all-clusters-app c3devkit (read only) 1089386 1088958 -428 -0.0
(read/write) 1586768 1586752 -16 -0.0
.dram0.bss 75944 75944 0 0.0
.dram0.data 13940 13940 0 0.0
.flash.rodata 217736 217720 -16 -0.0
.flash.text 1089386 1088958 -428 -0.0
.iram0.text 76740 76740 0 0.0
m5stack (read only) 1135915 1135539 -376 -0.0
(read/write) 497174 497178 4 0.0
.dram0.bss 81424 81424 0 0.0
.dram0.data 34304 34304 0 0.0
.flash.rodata 246296 246300 4 0.0
.flash.text 1130531 1130155 -376 -0.0
.iram0.text 126055 126055 0 0.0
k32w contact k32w0+release (read only) 586700 586700 0 0.0
(read/write) 90112 90112 0 0.0
.bss 66108 66108 0 0.0
.data 2168 2168 0 0.0
.text 586164 586164 0 0.0
light k32w0+release (read only) 585404 585404 0 0.0
(read/write) 89760 89760 0 0.0
.bss 65772 65772 0 0.0
.data 2156 2156 0 0.0
.text 584868 584868 0 0.0
lock k32w0+release (read only) 557932 557932 0 0.0
(read/write) 87560 87560 0 0.0
.bss 63636 63636 0 0.0
.data 2100 2100 0 0.0
.text 557396 557396 0 0.0
linux all-clusters-app debug (read only) 5159801 5159705 -96 -0.0
(read/write) 244704 244672 -32 -0.0
.bss 127488 127488 0 0.0
.data 4336 4336 0 0.0
.data.rel.ro 105632 105632 0 0.0
.dynamic 624 624 0 0.0
.got 5400 5392 -8 -0.1
.init 27 27 0 0.0
.init_array 1176 1176 0 0.0
.rodata 278926 278894 -32 -0.0
.text 4646067 4646083 16 0.0
all-clusters-minimal-app debug (read only) 4874145 4874089 -56 -0.0
(read/write) 230432 230432 0 0.0
.bss 125376 125376 0 0.0
.data 4304 4304 0 0.0
.data.rel.ro 93632 93632 0 0.0
.dynamic 624 624 0 0.0
.got 5360 5352 -8 -0.1
.init 27 27 0 0.0
.init_array 1112 1112 0 0.0
.rodata 269902 269902 0 0.0
.text 4375139 4375171 32 0.0
bridge-app debug (read only) 2742929 2742929 0 0.0
(read/write) 132160 132160 0 0.0
.bss 50424 50424 0 0.0
.data 4976 4976 0 0.0
.data.rel.ro 70656 70656 0 0.0
.dynamic 624 624 0 0.0
.got 4648 4648 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 212744 212744 0 0.0
.text 2353843 2353843 0 0.0
chip-tool debug (read only) 18771153 18771153 0 0.0
(read/write) 1063280 1063280 0 0.0
.bss 93560 93560 0 0.0
.data 5154 5154 0 0.0
.data.rel.ro 957232 957232 0 0.0
.dynamic 624 624 0 0.0
.got 5888 5888 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 827945 827945 0 0.0
.text 15947587 15947587 0 0.0
chip-tool-ipv6only arm64 (read only) 18040496 18040496 0 0.0
(read/write) 1131448 1131448 0 0.0
.bss 102952 102952 0 0.0
.data 4448 4448 0 0.0
.data.rel.ro 994736 994736 0 0.0
.dynamic 560 560 0 0.0
.got 23800 23800 0 0.0
.init 24 24 0 0.0
.init_array 240 240 0 0.0
.rodata 734672 734672 0 0.0
.text 15124404 15124404 0 0.0
lighting-app debug+rpc+ui (read only) 5215209 5215209 0 0.0
(read/write) 220696 220696 0 0.0
.bss 117264 117264 0 0.0
.data 4880 4880 0 0.0
.data.rel.ro 91016 91016 0 0.0
.dynamic 672 672 0 0.0
.got 5912 5912 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 332052 332052 0 0.0
.text 4643379 4643379 0 0.0
lock-app debug (read only) 4438969 4438969 0 0.0
(read/write) 201504 201504 0 0.0
.bss 112752 112752 0 0.0
.data 4048 4048 0 0.0
.data.rel.ro 77944 77944 0 0.0
.dynamic 624 624 0 0.0
.got 5272 5272 0 0.0
.init 27 27 0 0.0
.init_array 840 840 0 0.0
.rodata 245550 245550 0 0.0
.text 3985827 3985827 0 0.0
ota-provider-app debug (read only) 4108321 4108321 0 0.0
(read/write) 191152 191152 0 0.0
.bss 113248 113248 0 0.0
.data 4256 4256 0 0.0
.data.rel.ro 67760 67760 0 0.0
.dynamic 624 624 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 712 712 0 0.0
.rodata 199502 199502 0 0.0
.text 3719699 3719699 0 0.0
ota-requestor-app debug (read only) 4202297 4202297 0 0.0
(read/write) 195464 195464 0 0.0
.bss 114176 114176 0 0.0
.data 4624 4624 0 0.0
.data.rel.ro 70760 70760 0 0.0
.dynamic 624 624 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 202958 202958 0 0.0
.text 3805891 3805891 0 0.0
shell debug (read only) 2883857 2883761 -96 -0.0
(read/write) 149352 149320 -32 -0.0
.bss 59272 59272 0 0.0
.data 1232 1232 0 0.0
.data.rel.ro 83000 83000 0 0.0
.dynamic 608 592 -16 -2.6
.got 4128 4120 -8 -0.2
.init 27 27 0 0.0
.init_array 1080 1080 0 0.0
.rodata 203730 203730 0 0.0
.text 2511314 2511346 32 0.0
thermostat-no-ble arm64 (read only) 4432304 4432304 0 0.0
(read/write) 243240 243240 0 0.0
.bss 122056 122056 0 0.0
.data 3200 3200 0 0.0
.data.rel.ro 101592 101592 0 0.0
.dynamic 560 560 0 0.0
.got 11912 11912 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 161036 161036 0 0.0
.text 3934964 3934964 0 0.0
tv-app debug (read only) 5240977 5240977 0 0.0
(read/write) 348848 348848 0 0.0
.bss 239968 239968 0 0.0
.data 6224 6224 0 0.0
.data.rel.ro 95240 95240 0 0.0
.dynamic 624 624 0 0.0
.got 5624 5624 0 0.0
.init 27 27 0 0.0
.init_array 1128 1128 0 0.0
.rodata 270398 270398 0 0.0
.text 4728387 4728387 0 0.0
tv-casting-app debug (read only) 9877097 9877097 0 0.0
(read/write) 232920 232920 0 0.0
.bss 53856 53856 0 0.0
.data 2896 2896 0 0.0
.data.rel.ro 169352 169352 0 0.0
.dynamic 624 624 0 0.0
.got 5104 5104 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 374916 374916 0 0.0
.text 9046467 9046467 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2515936 2515936 0 0.0
.bss 216312 216312 0 0.0
.data 5152 5152 0 0.0
.text 1478620 1478620 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1206480 1205056 -1424 -0.1
bss 153286 153286 0 0.0
rodata 138404 138404 0 0.0
text 835768 834340 -1428 -0.2
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1326132 1326068 -64 -0.0
bss 138696 138696 0 0.0
rodata 134056 134056 0 0.0
text 762668 762604 -64 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1151968 1150544 -1424 -0.1
bss 153489 153489 0 0.0
rodata 111732 111732 0 0.0
text 807660 806232 -1428 -0.2
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841360 841360 0 0.0
(read/write) 1746764 1746460 -304 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 189412 189412 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2568 2568 0 0.0
.debug_abbrev 1318262 1318257 -5 -0.0
.debug_aranges 152136 152136 0 0.0
.debug_frame 509996 509940 -56 -0.0
.debug_info 30032526 30032503 -23 -0.0
.debug_line 4112004 4112026 22 0.0
.debug_line_str 957 957 0 0.0
.debug_loclists 2357014 2357017 3 0.0
.debug_rnglists 147383 147379 -4 -0.0
.debug_str 4472251 4472344 93 0.0
.heap 841360 841360 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 776130 776116 -14 -0.0
.symtab 488256 488192 -64 -0.0
.text 1546396 1546092 -304 -0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 843208 843208 0 0.0
(read/write) 1665116 1664812 -304 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187572 187572 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2560 2560 0 0.0
.debug_abbrev 1285927 1285922 -5 -0.0
.debug_aranges 149368 149368 0 0.0
.debug_frame 505792 505736 -56 -0.0
.debug_info 28737367 28737342 -25 -0.0
.debug_line 4064995 4065017 22 0.0
.debug_line_str 981 981 0 0.0
.debug_loclists 2315258 2315261 3 0.0
.debug_rnglists 144133 144129 -4 -0.0
.debug_str 4414422 4414515 93 0.0
.heap 843208 843208 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 703771 703757 -14 -0.0
.symtab 461904 461840 -64 -0.0
.text 1466596 1466292 -304 -0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 849416 849416 0 0.0
(read/write) 1597756 1597756 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 181532 181532 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2392 2392 0 0.0
.debug_abbrev 1122122 1122122 0 0.0
.debug_aranges 139720 139720 0 0.0
.debug_frame 469728 469728 0 0.0
.debug_info 23453668 23453669 1 0.0
.debug_line 3636128 3636128 0 0.0
.debug_line_str 942 942 0 0.0
.debug_loclists 2156121 2156121 0 0.0
.debug_rnglists 134161 134161 0 0.0
.debug_str 4228008 4228008 0 0.0
.heap 849416 849416 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 627131 627131 0 0.0
.symtab 427392 427392 0 0.0
.text 1405444 1405444 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 821960 821960 0 0.0
(read/write) 1628652 1628652 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 208988 208988 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2392 2392 0 0.0
.debug_abbrev 1104389 1104389 0 0.0
.debug_aranges 137816 137816 0 0.0
.debug_frame 462988 462988 0 0.0
.debug_info 23151075 23151075 0 0.0
.debug_line 3571511 3571511 0 0.0
.debug_line_str 933 933 0 0.0
.debug_loclists 2124701 2124701 0 0.0
.debug_rnglists 131685 131685 0 0.0
.debug_str 4183192 4183192 0 0.0
.heap 821960 821960 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 597360 597360 0 0.0
.symtab 417680 417680 0 0.0
.text 1408884 1408884 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1172544 1172544 0 0.0
.bss 99960 99960 0 0.0
.data 788 788 0 0.0
.text 619384 619384 0 0.0
lock-app qpg6105+debug (read/write) 1130656 1130656 0 0.0
.bss 94816 94816 0 0.0
.data 792 792 0 0.0
.text 577500 577500 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1051180 1047700 -3480 -0.3
bss 98292 98292 0 0.0
text 721964 718502 -3462 -0.5
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 965552 962064 -3488 -0.4
bss 96288 96288 0 0.0
text 668512 665038 -3474 -0.5
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 930908 930908 0 0.0
bss 100308 100308 0 0.0
text 643524 643522 -2 -0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 862652 862652 0 0.0
bss 89972 89972 0 0.0
text 586730 586730 0 0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 891304 891304 0 0.0
bss 90516 90516 0 0.0
text 612230 612230 0 0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 969464 969464 0 0.0
bss 98648 98648 0 0.0
text 682438 682434 -4 -0.0
lighting-app-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 980836 980836 0 0.0
bss 102896 102896 0 0.0
text 689950 689950 0 0.0
lighting-app-rpc tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1038948 1038948 0 0.0
bss 100204 100204 0 0.0
text 727326 727326 0 0.0
lighting-app-shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1070312 1070312 0 0.0
bss 111288 111288 0 0.0
text 747472 747472 0 0.0
lock-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 917764 917764 0 0.0
bss 90636 90636 0 0.0
text 615398 615398 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 885260 885260 0 0.0
bss 91248 91248 0 0.0
text 608584 608582 -2 -0.0
pump-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 868284 868276 -8 -0.0
bss 90104 90104 0 0.0
text 592518 592516 -2 -0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 855296 855296 0 0.0
bss 89904 89904 0 0.0
text 582860 582860 0 0.0
temperature-measurement-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 851420 851428 8 0.0
bss 89812 89812 0 0.0
text 578460 578464 4 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 897364 897364 0 0.0
bss 90348 90348 0 0.0
text 617904 617904 0 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 892720 892720 0 0.0
bss 90640 90640 0 0.0
text 612802 612802 0 0.0

@github-actions
Copy link

github-actions bot commented Jul 13, 2023

PR #27912: Size comparison from 5d2beb7 to 66262a3

Increases above 0.2%:

platform target config section 5d2beb7 66262a3 change % change
esp32 all-clusters-app c3devkit .flash.rodata 217736 218392 656 0.3
m5stack .flash.rodata 246296 246968 672 0.3
linux all-clusters-app debug (read only) 5159801 5192881 33080 0.6
(read/write) 244704 246584 1880 0.8
.bss 127488 128416 928 0.7
.data.rel.ro 105632 106592 960 0.9
.init_array 1176 1200 24 2.0
.rodata 278926 280782 1856 0.7
.text 4646067 4676003 29936 0.6
shell debug (read/write) 149352 149944 592 0.4
.data.rel.ro 83000 83576 576 0.7
.init_array 1080 1096 16 1.5
.rodata 203730 205170 1440 0.7
nrfconnect all-clusters-app nrf52840dk_nrf52840 rodata 138404 139072 668 0.5
nrf7002dk_nrf5340_cpuapp rodata 134056 134524 468 0.3
psoc6 all-clusters cy8ckit_062s2_43012 .debug_abbrev 1318262 1329383 11121 0.8
.debug_aranges 152136 153472 1336 0.9
.debug_frame 509996 514608 4612 0.9
.debug_info 30032526 3042557 393047 1.3
.debug_line 4112004 4145195 33191 0.8
.debug_loclists 2357014 2378448 21434 0.9
.debug_rnglists 147383 148608 1225 0.8
.debug_str 4472251 4506993 34742 0.8
.strtab 776130 778611 2481 0.3
Increases (14 builds for esp32, linux, nrfconnect, psoc6, telink)
platform target config section 5d2beb7 66262a3 change % change
esp32 all-clusters-app c3devkit (read only) 1089386 1089648 262 0.0
(read/write) 1586768 1587456 688 0.0
.dram0.bss 75944 75976 32 0.0
.flash.rodata 217736 218392 656 0.3
.flash.text 1089386 1089648 262 0.0
m5stack (read only) 1135915 1136279 364 0.0
(read/write) 497174 497894 720 0.1
.dram0.bss 81424 81472 48 0.1
.flash.rodata 246296 246968 672 0.3
.flash.text 1130531 1130895 364 0.0
linux all-clusters-app debug (read only) 5159801 5192881 33080 0.6
(read/write) 244704 246584 1880 0.8
.bss 127488 128416 928 0.7
.data.rel.ro 105632 106592 960 0.9
.init_array 1176 1200 24 2.0
.rodata 278926 280782 1856 0.7
.text 4646067 4676003 29936 0.6
chip-tool debug (read only) 18771153 18786977 15824 0.1
(read/write) 1063280 1064272 992 0.1
.data.rel.ro 957232 958224 992 0.1
.rodata 827945 828649 704 0.1
.text 15947587 15960355 12768 0.1
chip-tool-ipv6only arm64 (read only) 18040496 18054576 14080 0.1
(read/write) 1131448 1132440 992 0.1
.data.rel.ro 994736 995728 992 0.1
.got 23800 23808 8 0.0
.rodata 734672 735312 640 0.1
.text 15124404 15135460 11056 0.1
shell debug (read only) 2883857 2889593 5736 0.2
(read/write) 149352 149944 592 0.4
.bss 59272 59304 32 0.1
.data.rel.ro 83000 83576 576 0.7
.init_array 1080 1096 16 1.5
.rodata 203730 205170 1440 0.7
.text 2511314 2515426 4112 0.2
nrfconnect all-clusters-app nrf52840dk_nrf52840 bss 153286 153323 37 0.0
rodata 138404 139072 668 0.5
nrf7002dk_nrf5340_cpuapp (read/write) 1326132 1326976 844 0.1
bss 138696 138733 37 0.0
rodata 134056 134524 468 0.3
text 762668 763004 336 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1746764 1748148 1384 0.1
.bss 189412 189452 40 0.0
.debug_abbrev 1318262 1329383 11121 0.8
.debug_aranges 152136 153472 1336 0.9
.debug_frame 509996 514608 4612 0.9
.debug_info 30032526 3042557 393047 1.3
.debug_line 4112004 4145195 33191 0.8
.debug_loclists 2357014 2378448 21434 0.9
.debug_rnglists 147383 148608 1225 0.8
.debug_str 4472251 4506993 34742 0.8
.strtab 776130 778611 2481 0.3
.symtab 488256 489264 1008 0.2
.text 1546396 1547740 1344 0.1
telink all-clusters-app tlsr9518adk80d bss 98292 98328 36 0.0
light-switch-app tlsr9518adk80d text 612230 612232 2 0.0
lighting-app-factory-data tlsr9518adk80d text 689950 689952 2 0.0
lighting-app-shell tlsr9518adk80d text 747472 747476 4 0.0
thermostat tlsr9518adk80d text 617904 617906 2 0.0
Decreases (22 builds for bl702, bl702l, cc32xx, linux, nrfconnect, psoc6, telink)
platform target config section 5d2beb7 66262a3 change % change
bl702 lighting-app bl702 (read/write) 1178955 1178951 -4 -0.0
.debug_aranges 151880 151760 -120 -0.1
.debug_frame 558900 558420 -480 -0.1
.debug_info 42159677 42156386 -3291 -0.0
.debug_line 5631652 5629590 -2062 -0.0
.debug_loc 3839536 3836665 -2871 -0.1
.debug_ranges 398688 398472 -216 -0.1
.debug_str 4418247 4416914 -1333 -0.0
.text 946082 946080 -2 -0.0
bl702+rpc (read/write) 1277591 1277587 -4 -0.0
.debug_aranges 160392 160272 -120 -0.1
.debug_frame 587752 587272 -480 -0.1
.debug_info 47363368 47360076 -3292 -0.0
.debug_line 6059252 6057190 -2062 -0.0
.debug_loc 4045438 4042565 -2873 -0.1
.debug_ranges 424432 424216 -216 -0.1
.debug_str 4848635 4847302 -1333 -0.0
.text 1020474 1020470 -4 -0.0
bl702l lighting-app bl702l (read/write) 1159336 1159332 -4 -0.0
.debug_aranges 146024 145904 -120 -0.1
.debug_frame 537532 537052 -480 -0.1
.debug_info 42153028 42149736 -3292 -0.0
.debug_line 5537568 5535506 -2062 -0.0
.debug_loc 3772237 3769366 -2871 -0.1
.debug_ranges 403584 403368 -216 -0.1
.debug_str 4428941 4427608 -1333 -0.0
.text 934644 934640 -4 -0.0
cc32xx lock CC3235SF_LAUNCHXL .debug_aranges 120624 120504 -120 -0.1
.debug_frame 412296 411848 -448 -0.1
.debug_info 20256516 20252752 -3764 -0.0
.debug_line 2905048 2903623 -1425 -0.0
.debug_loclists 1751287 1749395 -1892 -0.1
.debug_rnglists 108859 108769 -90 -0.1
.debug_str 3862173 3860840 -1333 -0.0
linux all-clusters-app debug .got 5400 5392 -8 -0.1
all-clusters-minimal-app debug (read only) 4874145 4874057 -88 -0.0
.got 5360 5352 -8 -0.1
shell debug .dynamic 608 592 -16 -2.6
.got 4128 4120 -8 -0.2
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1206480 1206284 -196 -0.0
text 835768 834904 -864 -0.1
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1151968 1150544 -1424 -0.1
text 807660 806232 -1428 -0.2
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841360 841320 -40 -0.0
.heap 841360 841320 -40 -0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1665116 1664812 -304 -0.0
.debug_abbrev 1285927 1285922 -5 -0.0
.debug_aranges 149368 149248 -120 -0.1
.debug_frame 505792 505288 -504 -0.1
.debug_info 28737367 2873348 -3882 -0.0
.debug_line 4064995 4063576 -1419 -0.0
.debug_loclists 2315258 2313379 -1879 -0.1
.debug_rnglists 144133 144039 -94 -0.1
.debug_str 4414422 4413063 -1359 -0.0
.strtab 703771 703757 -14 -0.0
.symtab 461904 461840 -64 -0.0
.text 1466596 1466292 -304 -0.0
light cy8ckit_062s2_43012 .debug_aranges 139720 139600 -120 -0.1
.debug_frame 469728 469280 -448 -0.1
.debug_info 23453668 23449904 -3764 -0.0
.debug_line 3636128 3634704 -1424 -0.0
.debug_loclists 2156121 2154239 -1882 -0.1
.debug_rnglists 134161 134071 -90 -0.1
.debug_str 4228008 4226675 -1333 -0.0
lock cy8ckit_062s2_43012 .debug_aranges 137816 137696 -120 -0.1
.debug_frame 462988 462540 -448 -0.1
.debug_info 23151075 23147309 -3766 -0.0
.debug_line 3571511 3570087 -1424 -0.0
.debug_loclists 2124701 2122819 -1882 -0.1
.debug_rnglists 131685 131595 -90 -0.1
.debug_str 4183192 4181859 -1333 -0.0
telink all-clusters-app tlsr9518adk80d (read/write) 1051180 1049040 -2140 -0.2
text 721964 719136 -2828 -0.4
all-clusters-minimal-app tlsr9518adk80d (read/write) 965552 962064 -3488 -0.4
text 668512 665036 -3476 -0.5
bridge-app tlsr9518adk80d text 643524 643520 -4 -0.0
contact-sensor-app tlsr9518adk80d text 586730 586728 -2 -0.0
lighting-app tlsr9518adk80d text 682438 682436 -2 -0.0
lighting-app-rpc tlsr9518adk80d text 727326 727324 -2 -0.0
pump-app tlsr9518adk80d (read/write) 868284 868276 -8 -0.0
text 592518 592516 -2 -0.0
pump-controller-app tlsr9518adk80d text 582860 582858 -2 -0.0
window-covering tlsr9518adk80d (read/write) 892720 892712 -8 -0.0
text 612802 612800 -2 -0.0
Full report (58 builds for bl602, bl702, bl702l, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 5d2beb7 66262a3 change % change
bl602 lighting-app bl602 (read/write) 1367962 1367962 0 0.0
.bss 83942 83942 0 0.0
.data 9624 9624 0 0.0
.text 1052032 1052032 0 0.0
bl602+rpc (read/write) 1415398 1415398 0 0.0
.bss 91990 91990 0 0.0
.data 10024 10024 0 0.0
.text 1083916 1083916 0 0.0
bl702 lighting-app bl702 (read/write) 1178955 1178951 -4 -0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 77773 77773 0 0.0
.bss_psram 24656 24656 0 0.0
.comment 48 48 0 0.0
.data 3592 3592 0 0.0
.debug_abbrev 1556733 1556733 0 0.0
.debug_aranges 151880 151760 -120 -0.1
.debug_frame 558900 558420 -480 -0.1
.debug_info 42159677 42156386 -3291 -0.0
.debug_line 5631652 5629590 -2062 -0.0
.debug_loc 3839536 3836665 -2871 -0.1
.debug_ranges 398688 398472 -216 -0.1
.debug_str 4418247 4416914 -1333 -0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 140 140 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 105704 105704 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 582374 582374 0 0.0
.symtab 174192 174192 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3394 3394 0 0.0
.text 0 0 0 0.0
946082 946080 -2 -0.0
bl702+rpc (read/write) 1277591 1277587 -4 -0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 85821 85821 0 0.0
.bss_psram 25072 25072 0 0.0
.comment 48 48 0 0.0
.data 4144 4144 0 0.0
.debug_abbrev 1723292 1723292 0 0.0
.debug_aranges 160392 160272 -120 -0.1
.debug_frame 587752 587272 -480 -0.1
.debug_info 47363368 47360076 -3292 -0.0
.debug_line 6059252 6057190 -2062 -0.0
.debug_loc 4045438 4042565 -2873 -0.1
.debug_ranges 424432 424216 -216 -0.1
.debug_str 4848635 4847302 -1333 -0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 156 156 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 120356 120356 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 645315 645315 0 0.0
.symtab 193104 193104 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3394 3394 0 0.0
.text 0 0 0 0.0
1020474 1020470 -4 -0.0
bl702l lighting-app bl702l (read only) 278 278 0 0.0
(read/write) 1159336 1159332 -4 -0.0
.boot2 292 292 0 0.0
.bss 40776 40776 0 0.0
.bss_psram 69168 69168 0 0.0
.comment 48 48 0 0.0
.data 4560 4560 0 0.0
.debug_abbrev 1557636 1557636 0 0.0
.debug_aranges 146024 145904 -120 -0.1
.debug_frame 537532 537052 -480 -0.1
.debug_info 42153028 42149736 -3292 -0.0
.debug_line 5537568 5535506 -2062 -0.0
.debug_loc 3772237 3769366 -2871 -0.1
.debug_ranges 403584 403368 -216 -0.1
.debug_str 4428941 4427608 -1333 -0.0
.hbn 3244 3244 0 0.0
.hbn_noinit 308 308 0 0.0
.init 408 408 0 0.0
.init_array 140 140 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 99652 99652 0 0.0
.romdata 3224 3224 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 286 286 0 0.0
.stack 2048 2048 0 0.0
.strtab 582281 582281 0 0.0
.symtab 173520 173520 0 0.0
.tcm_data 692 692 0 0.0
.tcmcode 278 278 0 0.0
.text 0 0 0 0.0
934644 934640 -4 -0.0
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 608394 608394 0 0.0
(read/write) 204172 204172 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197584 197584 0 0.0
.comment 206 206 0 0.0
.data 1468 1468 0 0.0
.debug_abbrev 951471 951471 0 0.0
.debug_aranges 120624 120504 -120 -0.1
.debug_frame 412296 411848 -448 -0.1
.debug_info 20256516 20252752 -3764 -0.0
.debug_line 2905048 2903623 -1425 -0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1751287 1749395 -1892 -0.1
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 108859 108769 -90 -0.1
.debug_str 3862173 3860840 -1333 -0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 104914 104914 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 485459 485459 0 0.0
.symtab 288368 288368 0 0.0
.text 501356 501356 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 545575 545575 0 0.0
.app_xip_area 438033 438033 0 0.0
.bss 62512 62512 0 0.0
.data 712 712 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 530631 530631 0 0.0
.app_xip_area 418113 418113 0 0.0
.bss 67480 67480 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 568655 568655 0 0.0
.app_xip_area 462201 462201 0 0.0
.bss 61472 61472 0 0.0
.data 668 668 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 541823 541823 0 0.0
.app_xip_area 432417 432417 0 0.0
.bss 64344 64344 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1005212 1005212 0 0.0
.bss 182252 182252 0 0.0
.data 2700 2700 0 0.0
.text 820240 820240 0 0.0
BRD4187C (read/write) 1030168 1030168 0 0.0
.bss 161860 161860 0 0.0
.data 3308 3308 0 0.0
.text 864980 864980 0 0.0
lock-app BRD4161A+wf200 (read/write) 1080792 1080792 0 0.0
.bss 176252 176252 0 0.0
.data 2696 2696 0 0.0
.text 901824 901824 0 0.0
window-app BRD4187C (read/write) 1100624 1100624 0 0.0
.bss 144868 144868 0 0.0
.data 3204 3204 0 0.0
.text 952532 952532 0 0.0
esp32 all-clusters-app c3devkit (read only) 1089386 1089648 262 0.0
(read/write) 1586768 1587456 688 0.0
.dram0.bss 75944 75976 32 0.0
.dram0.data 13940 13940 0 0.0
.flash.rodata 217736 218392 656 0.3
.flash.text 1089386 1089648 262 0.0
.iram0.text 76740 76740 0 0.0
m5stack (read only) 1135915 1136279 364 0.0
(read/write) 497174 497894 720 0.1
.dram0.bss 81424 81472 48 0.1
.dram0.data 34304 34304 0 0.0
.flash.rodata 246296 246968 672 0.3
.flash.text 1130531 1130895 364 0.0
.iram0.text 126055 126055 0 0.0
k32w contact k32w0+release (read only) 586700 586700 0 0.0
(read/write) 90112 90112 0 0.0
.bss 66108 66108 0 0.0
.data 2168 2168 0 0.0
.text 586164 586164 0 0.0
light k32w0+release (read only) 585404 585404 0 0.0
(read/write) 89760 89760 0 0.0
.bss 65772 65772 0 0.0
.data 2156 2156 0 0.0
.text 584868 584868 0 0.0
lock k32w0+release (read only) 557932 557932 0 0.0
(read/write) 87560 87560 0 0.0
.bss 63636 63636 0 0.0
.data 2100 2100 0 0.0
.text 557396 557396 0 0.0
linux all-clusters-app debug (read only) 5159801 5192881 33080 0.6
(read/write) 244704 246584 1880 0.8
.bss 127488 128416 928 0.7
.data 4336 4336 0 0.0
.data.rel.ro 105632 106592 960 0.9
.dynamic 624 624 0 0.0
.got 5400 5392 -8 -0.1
.init 27 27 0 0.0
.init_array 1176 1200 24 2.0
.rodata 278926 280782 1856 0.7
.text 4646067 4676003 29936 0.6
all-clusters-minimal-app debug (read only) 4874145 4874057 -88 -0.0
(read/write) 230432 230432 0 0.0
.bss 125376 125376 0 0.0
.data 4304 4304 0 0.0
.data.rel.ro 93632 93632 0 0.0
.dynamic 624 624 0 0.0
.got 5360 5352 -8 -0.1
.init 27 27 0 0.0
.init_array 1112 1112 0 0.0
.rodata 269902 269902 0 0.0
.text 4375139 4375139 0 0.0
bridge-app debug (read only) 2742929 2742929 0 0.0
(read/write) 132160 132160 0 0.0
.bss 50424 50424 0 0.0
.data 4976 4976 0 0.0
.data.rel.ro 70656 70656 0 0.0
.dynamic 624 624 0 0.0
.got 4648 4648 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 212744 212744 0 0.0
.text 2353843 2353843 0 0.0
chip-tool debug (read only) 18771153 18786977 15824 0.1
(read/write) 1063280 1064272 992 0.1
.bss 93560 93560 0 0.0
.data 5154 5154 0 0.0
.data.rel.ro 957232 958224 992 0.1
.dynamic 624 624 0 0.0
.got 5888 5888 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 827945 828649 704 0.1
.text 15947587 15960355 12768 0.1
chip-tool-ipv6only arm64 (read only) 18040496 18054576 14080 0.1
(read/write) 1131448 1132440 992 0.1
.bss 102952 102952 0 0.0
.data 4448 4448 0 0.0
.data.rel.ro 994736 995728 992 0.1
.dynamic 560 560 0 0.0
.got 23800 23808 8 0.0
.init 24 24 0 0.0
.init_array 240 240 0 0.0
.rodata 734672 735312 640 0.1
.text 15124404 15135460 11056 0.1
lighting-app debug+rpc+ui (read only) 5215209 5215209 0 0.0
(read/write) 220696 220696 0 0.0
.bss 117264 117264 0 0.0
.data 4880 4880 0 0.0
.data.rel.ro 91016 91016 0 0.0
.dynamic 672 672 0 0.0
.got 5912 5912 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 332052 332052 0 0.0
.text 4643379 4643379 0 0.0
lock-app debug (read only) 4438969 4438969 0 0.0
(read/write) 201504 201504 0 0.0
.bss 112752 112752 0 0.0
.data 4048 4048 0 0.0
.data.rel.ro 77944 77944 0 0.0
.dynamic 624 624 0 0.0
.got 5272 5272 0 0.0
.init 27 27 0 0.0
.init_array 840 840 0 0.0
.rodata 245550 245550 0 0.0
.text 3985827 3985827 0 0.0
ota-provider-app debug (read only) 4108321 4108321 0 0.0
(read/write) 191152 191152 0 0.0
.bss 113248 113248 0 0.0
.data 4256 4256 0 0.0
.data.rel.ro 67760 67760 0 0.0
.dynamic 624 624 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 712 712 0 0.0
.rodata 199502 199502 0 0.0
.text 3719699 3719699 0 0.0
ota-requestor-app debug (read only) 4202297 4202297 0 0.0
(read/write) 195464 195464 0 0.0
.bss 114176 114176 0 0.0
.data 4624 4624 0 0.0
.data.rel.ro 70760 70760 0 0.0
.dynamic 624 624 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 202958 202958 0 0.0
.text 3805891 3805891 0 0.0
shell debug (read only) 2883857 2889593 5736 0.2
(read/write) 149352 149944 592 0.4
.bss 59272 59304 32 0.1
.data 1232 1232 0 0.0
.data.rel.ro 83000 83576 576 0.7
.dynamic 608 592 -16 -2.6
.got 4128 4120 -8 -0.2
.init 27 27 0 0.0
.init_array 1080 1096 16 1.5
.rodata 203730 205170 1440 0.7
.text 2511314 2515426 4112 0.2
thermostat-no-ble arm64 (read only) 4432304 4432304 0 0.0
(read/write) 243240 243240 0 0.0
.bss 122056 122056 0 0.0
.data 3200 3200 0 0.0
.data.rel.ro 101592 101592 0 0.0
.dynamic 560 560 0 0.0
.got 11912 11912 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 161036 161036 0 0.0
.text 3934964 3934964 0 0.0
tv-app debug (read only) 5240977 5240977 0 0.0
(read/write) 348848 348848 0 0.0
.bss 239968 239968 0 0.0
.data 6224 6224 0 0.0
.data.rel.ro 95240 95240 0 0.0
.dynamic 624 624 0 0.0
.got 5624 5624 0 0.0
.init 27 27 0 0.0
.init_array 1128 1128 0 0.0
.rodata 270398 270398 0 0.0
.text 4728387 4728387 0 0.0
tv-casting-app debug (read only) 9877097 9877097 0 0.0
(read/write) 232920 232920 0 0.0
.bss 53856 53856 0 0.0
.data 2896 2896 0 0.0
.data.rel.ro 169352 169352 0 0.0
.dynamic 624 624 0 0.0
.got 5104 5104 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 374916 374916 0 0.0
.text 9046467 9046467 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2515936 2515936 0 0.0
.bss 216312 216312 0 0.0
.data 5152 5152 0 0.0
.text 1478620 1478620 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1206480 1206284 -196 -0.0
bss 153286 153323 37 0.0
rodata 138404 139072 668 0.5
text 835768 834904 -864 -0.1
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1326132 1326976 844 0.1
bss 138696 138733 37 0.0
rodata 134056 134524 468 0.3
text 762668 763004 336 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1151968 1150544 -1424 -0.1
bss 153489 153489 0 0.0
rodata 111732 111732 0 0.0
text 807660 806232 -1428 -0.2
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841360 841320 -40 -0.0
(read/write) 1746764 1748148 1384 0.1
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 189412 189452 40 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2568 2568 0 0.0
.debug_abbrev 1318262 1329383 11121 0.8
.debug_aranges 152136 153472 1336 0.9
.debug_frame 509996 514608 4612 0.9
.debug_info 30032526 3042557 393047 1.3
.debug_line 4112004 4145195 33191 0.8
.debug_line_str 957 957 0 0.0
.debug_loclists 2357014 2378448 21434 0.9
.debug_rnglists 147383 148608 1225 0.8
.debug_str 4472251 4506993 34742 0.8
.heap 841360 841320 -40 -0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 776130 778611 2481 0.3
.symtab 488256 489264 1008 0.2
.text 1546396 1547740 1344 0.1
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 843208 843208 0 0.0
(read/write) 1665116 1664812 -304 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187572 187572 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2560 2560 0 0.0
.debug_abbrev 1285927 1285922 -5 -0.0
.debug_aranges 149368 149248 -120 -0.1
.debug_frame 505792 505288 -504 -0.1
.debug_info 28737367 2873348 -3882 -0.0
.debug_line 4064995 4063576 -1419 -0.0
.debug_line_str 981 981 0 0.0
.debug_loclists 2315258 2313379 -1879 -0.1
.debug_rnglists 144133 144039 -94 -0.1
.debug_str 4414422 4413063 -1359 -0.0
.heap 843208 843208 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 703771 703757 -14 -0.0
.symtab 461904 461840 -64 -0.0
.text 1466596 1466292 -304 -0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 849416 849416 0 0.0
(read/write) 1597756 1597756 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 181532 181532 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2392 2392 0 0.0
.debug_abbrev 1122122 1122122 0 0.0
.debug_aranges 139720 139600 -120 -0.1
.debug_frame 469728 469280 -448 -0.1
.debug_info 23453668 23449904 -3764 -0.0
.debug_line 3636128 3634704 -1424 -0.0
.debug_line_str 942 942 0 0.0
.debug_loclists 2156121 2154239 -1882 -0.1
.debug_rnglists 134161 134071 -90 -0.1
.debug_str 4228008 4226675 -1333 -0.0
.heap 849416 849416 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 627131 627131 0 0.0
.symtab 427392 427392 0 0.0
.text 1405444 1405444 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 821960 821960 0 0.0
(read/write) 1628652 1628652 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 208988 208988 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2392 2392 0 0.0
.debug_abbrev 1104389 1104389 0 0.0
.debug_aranges 137816 137696 -120 -0.1
.debug_frame 462988 462540 -448 -0.1
.debug_info 23151075 23147309 -3766 -0.0
.debug_line 3571511 3570087 -1424 -0.0
.debug_line_str 933 933 0 0.0
.debug_loclists 2124701 2122819 -1882 -0.1
.debug_rnglists 131685 131595 -90 -0.1
.debug_str 4183192 4181859 -1333 -0.0
.heap 821960 821960 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 597360 597360 0 0.0
.symtab 417680 417680 0 0.0
.text 1408884 1408884 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1172544 1172544 0 0.0
.bss 99960 99960 0 0.0
.data 788 788 0 0.0
.text 619384 619384 0 0.0
lock-app qpg6105+debug (read/write) 1130656 1130656 0 0.0
.bss 94816 94816 0 0.0
.data 792 792 0 0.0
.text 577500 577500 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1051180 1049040 -2140 -0.2
bss 98292 98328 36 0.0
text 721964 719136 -2828 -0.4
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 965552 962064 -3488 -0.4
bss 96288 96288 0 0.0
text 668512 665036 -3476 -0.5
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 930908 930908 0 0.0
bss 100308 100308 0 0.0
text 643524 643520 -4 -0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 862652 862652 0 0.0
bss 89972 89972 0 0.0
text 586730 586728 -2 -0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 891304 891304 0 0.0
bss 90516 90516 0 0.0
text 612230 612232 2 0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 969464 969464 0 0.0
bss 98648 98648 0 0.0
text 682438 682436 -2 -0.0
lighting-app-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 980836 980836 0 0.0
bss 102896 102896 0 0.0
text 689950 689952 2 0.0
lighting-app-rpc tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1038948 1038948 0 0.0
bss 100204 100204 0 0.0
text 727326 727324 -2 -0.0
lighting-app-shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1070312 1070312 0 0.0
bss 111288 111288 0 0.0
text 747472 747476 4 0.0
lock-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 917764 917764 0 0.0
bss 90636 90636 0 0.0
text 615398 615398 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 885260 885260 0 0.0
bss 91248 91248 0 0.0
text 608584 608584 0 0.0
pump-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 868284 868276 -8 -0.0
bss 90104 90104 0 0.0
text 592518 592516 -2 -0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 855296 855296 0 0.0
bss 89904 89904 0 0.0
text 582860 582858 -2 -0.0
temperature-measurement-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 851420 851420 0 0.0
bss 89812 89812 0 0.0
text 578460 578460 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 897364 897364 0 0.0
bss 90348 90348 0 0.0
text 617904 617906 2 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 892720 892712 -8 -0.0
bss 90640 90640 0 0.0
text 612802 612800 -2 -0.0

@mergify mergify bot merged commit b3f8db6 into project-chip:master Jul 13, 2023
cliffamzn added a commit to cliffamzn/connectedhomeip that referenced this pull request Jul 18, 2023
* Add Basic Resource Monitoring Server Implementation

* Add Basic Working Resource Monitoring Example App

* Improve log output

* Replace some HepafilterMonitoring specifics with more general ResourceMonitoring defines

- using `using`
- and adding by hand

* Apply clang-format

* More Hepa to ResourceMonitoring replacement

* Add ActivatedCarbonFilterMonitoring Cluster

* Rename ActivatedCarbonFilterMonitoring.cpp to ActivatedCarbonFilterMonitoringDelegate.cpp

* Split delegate definitions into separate files

* Cleanup some Headers

* Rename member variables

* Refactoring: Rename Delegate to Instance

Add cluster-objects.h / cpp instead of defining it inside the server.h / cpp

* Refactoring: Implement Read and Write function

- have External Attribute Storage inside Instances
- implement getters and Setters for Attributes

* Refactoring: reorder methods to math the order in the .h file

* Run Clang-Format

* Add Getter for DegradationDirection Attribute

- also clean up some namespaces

* Add Construction Option To Set OnResetCondition To Supported

Also add basic OnResetCondition implementation.

* Add Default Values

* Modified the AttributePersistenceProvider ReadValue function signiture to take the required attribute information directly rather than as a EmberAfAttributeMetadata structure.

* Force External Storage for All Resource Monitoring Clusters

* Force External Storage for All Resource Monitoring Clusters

Regenerated Code

* Expanded AttributePersistanceProvider API to include reading and wirting of uint8 and nullable uint8

* Add LastChangedTime to Attributes For ResourceMonitoring Clusters

* Add LastChangedTime to Attributes For ResourceMonitoring Clusters

Regenerated Code

* Add `LastChangedTime` to Forced External Storage List For Resource Monitoring

* Add LastChangedTime To Resource-Monitoring Server Implementation

* Templated the AttributePersistanceProvider read and wiret function to work for all uint types.

* Fixed AttributePersistanceProvider accepted types. Added read helper for type bool.

* Restyled by clang-format

* Formatting and some comments

* Make OnResetCondition Pure Virtual

And remove implementation from resource-monitor-server.cpp.
It's not allowed to use the resource-monitoring-server::instance without deriving it yourself.

* Set LastChangedTime In the OnResetCondition Handler

* Fixed mismatched size return error of DefaultAttributePersistenceProvider

* Add All Missing Aliased Clusters

- CeramicFilterMonitoring
- ElectrostaticFilterMonitoring
- FuelTankMonitoring
- InkCartridgeMonitoring
- IonizingFilterMonitoring
- OzoneFilterMonitoring
- TonerCartridgeMonitoring
- UvFilterMonitoring
- WaterTankMonitoring
- ZeoliteFilterMonitoring

* Started work on tests for the AttributePersistenceProvider.

* Add Missing Instances to resourceMonitoring Test App

* Add Persistent Storage To LastChangedTime

* Add README.md

* Remove `ResourceMonitoringAliasesInstanceMap` as it wasn't really needed

* Update Description Of Init()

* Update Description of AppInit() and OnResetCondition()

* Added unit tests for AttributePersistenceProvider testing the storage and retrival of all unsigned types and their nullable veriaties, bool and ByteSpan. Tested for small buffer errors.

* Changed the type of aSize in ReadValue to size_t

* Removed the dependancy on generated code in the AttributePersistencezprovider.h

* Added static funtctions to get the KVS null representation for different types.

* Fix Errors after Merge

* Some Changes From Comments From The ModeBase PR

* Added functions to read and write nullable bools and accompanying tests.

* Incorporated boolean tests in the scalar test.

* Added failure before init test

* Restyled by clang-format

* Move Headers To Resource-Monitoring-Common

* Move Cpp files To resource-monitor-common

* Remove All Unused Aliases For The Resource-Monitoring-Cluster

this was decided in the AirQuality Call on 06.07.2023

* Fixed after merge.

* Removed the failure on init test as it may have been causing seg faults in some tests.

* Renamed GetNull -> GetNullValueForNullableType

* Added the initialisation of valueReadBack and added a new templated function for nullable types to avoid the error: The left operand of '==' is a garbage value, on some platforms.

* Added handline of signed ints and accompanying tests.

* Added handline of nullable signed ints and accompanying tests.

* Type cast null.

* Restyled by clang-format

* Changed shift bit to be af the same type are the return val.

* Added tests got GetNull functions

* Remove Aliased Clusters From Resource Monitoring Clusters except Hepa and ActivatedCarbon

enable LastChangedTime for Hepa and ActivatedCarbon

* Add Resource Monitoring Aliased Clusters Server implementation To Linux All-Clusters-App

* Remove Todo

* Remove Aliased Clusters From Resource Monitoring Clusters except Hepa and ActivatedCarbon

* Remove Redundant Check

apparently it's not necessary / allow to check this

* Apply Restyled patch

* Remove Tests For Removed Aliased Clusters

- all except Hepa and ActivatedCarbon

* Fix Spelling

* Remove Unused / disallowed #include <maps>

* Remove resource-monitoring-instances.h

* Remove Unneeded Destructors

* Use Default Descructor and Make Class Non copyable or moveable

* Change IsAliascluster to IsValidAliasCluster

* Fix Typo

* Reset ChangeIndication Attribute On ResetCondition Command

Spec requires this to be reset as well

* Set FeatureMap To 3

For testing with Warning Feature enabled

* Rename mFeature To mFeatureMap

* Rewrite Some Comments From "function" to "method"

* Remove Const

* Update Comment Of Init() Method

added the exact CHIP_ERROR_XXX that this can return.

* Remove Commented Code

* Added TODO For REP Feature

* Change From "Next value" To "UINT8_MAX"

* Use ChipLogDetail Instead Of ChipLogError

* Fix Log on Some Platforms

On some platforms (e.g. ASR) uint32_t seems to be a long and will produce a error if %u is used. So cast it to unsinged long on all platforms and use %lu.

* Update README.md For Linux Resource-Monitoring-Example-App

* Remove Aliased Clusters From Resource Monitoring Clusters except Hepa and ActivatedCarbon

* Regen Code

* Apply Restylerd Patch

* Update Wordlist

- Add HEPA

* Remove PICS values For Resource Monitoring Clusters That Were Removed

* Remove PICS For Resource Monitoring Clusters from PICS.yaml

* Add Resource Monitoring README.md To docs/examples/index.md

* TC-IDM-1.2 (project-chip#27024)

* TC-IDM-1.2

Adds automation for TC-IDM-1.2
Also Adds suppressResponse to CommandSender as well as a test-only
function to test timedResponse flag with no corresponding
TimedInvoke action + plumbing through the python layers

* Restyled by isort

* Updates from review comments

* Couple formatting fixes

* Cleanup.

* Add a port to pase in python, fix filtering

* Consolidate CommandSender functions

* Timed invoke can be inferred

---------

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

* 【Feature】operational state cluster sdk implementation and example cluster server application (project-chip#26971)

* Add operational state cluster implement

* Enable operational state cluster server in all-clusters-app.zap

* Restyled by clang-format

* Restyled by gn

* Enable CommandHandlerInterfaceOnlyClusters feature in operational state cluster

* Fix the data type no match the operational state cluster xml

* Add Uncopyable feature to operational state server class

* Fix no define function

* Add operational state cluster in other platform

* Restyled by clang-format

* Restyled by gn

* Function / Data Struct in headfile are documented.

* Document why operational states to be in storage

* document the function note

* Add prefix members with m for class OperationalStateServer

* Fix Bug: do const_cast no needed

* Optimize to returning a const reference

* Remove the api no needed to be implemented

* use to_underlying to instead static_cast

* use reduce_size api to optimize the MutableByteSpan

* Fix: memory leak in exceptional situation

* Rename the structs for pretty confusing

* comment the member

* remove the documentation return in functions

* Add delete keyword in Uncopyable class

* modify the document of functions

* modify the document of functions

* Fix spelling error in function notes

* Fix: memory leak in exceptional situation

* Fix: read operational state list or phase list fail in some exception situations

* use MakeOptional to optimize the function call

* modify the document of functions

* Fix: ErrorStateStruct's ErrorStateDetails need to be null/missing

* Add the document for function

* Optimize ErrorStateStruct's field -- ErrorStateLabel and ErrorStateDetails

* document the method signature

* document the class

* remove temporary variable

* Add test cases in TestOperationalStateDataProvider

* Remove implementing EnumerateAcceptedCommands in Operational State Cluster

* Enable all commands in operational state cluster for all-clusters-app

* Zap regen all

* Revert file same as master branch

* Optimize operational state server's implement

* Add operational state delegate implement

* Add operational state cluster delegates

* Zap regen

* Modify path of head file included

* add file included in BUILD.gn

* Restyled by whitespace

* Restyled by clang-format

* Restyled by gn

* add operational state cluster impl in other platforms

* Restyled by gn

* Remove log in operational-state-delegate-impl.cpp

* remove unuseful file

* Update src/app/clusters/operational-state-server/operational-state-delegate.h

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

* Optimize struct GenericOperationalState

* drop the extra chip:: in operational-state api

* Optimize struct GenericOperationalError

* Optimize to put a struct instance on the state, then call the delegate to fill it in

* Use  GetOperationalStateAtIndex api to instead GetOperationalStateList api

* Optimize struct GenericOperationalPhase

* Optimize struct GenericOperationalPhase

* Optimize HandleXXStateCallback api param

* Remove unuseful code and document

* Use constexpr val to instead number

* Fix use of totalOperationalTime

* enable operational state cluster event in Operatinal State cluster

* Add unit test of operational state delegate

* Add the rest unit test of operational state delegate

* Optimize class OperationalStateDelegate , add two private member

* move the constexpr val

* fix the err in TestOperationalStateDelegate

* Optimize api GenericOperationalError

* Add OperationalStateDelegateImpl unit test

* add document

* change Log event api in operational state cluster

* Add document

* sync code to examples/placeholder

* Restyled by whitespace

* Restyled by clang-format

* Restyled by gn

* replace GetOperationalState with GetCurrentOperationalState

* update document

* update document

* update document

* replace GetOperationalError with GenericOperationalError

* update document

* document the api for GetOperationalStateDelegate in head file

* optimize the use of operator [] for Span class

* fix the spelling error

* provide a way to  construct a GenericOperationalState without providing a state

* optimize the code of if-else

* Optimize code

* update document

* Optimize class OperationalStateServer:
put all the public bits together instead of interleaving them with the private bits.

* modify document

* Add CurrentPhase and CountdownTime attribute into AttributeAccessInterface-only

* zap regen

* remove unuseful member in class Delegate

* remove useful code

* document the api

* Add set/get current phase api

* Add set/get countdownTime api

* delegate could be null, and that should be handled without crashing, via returning an error

* command callbacks need to respond with an error

* remove something that is not in the spec

* optimize the name of class member function

* Optimize struct GenericOperationCompletion

* update struct GenericOperationCompletion test case

* Optimize struct GenericOperationCompletion api

* add coutdownTime attribute in operational state cluter

* change api of initializing OperationalStateServer instances

* remove the code using operational state in other platform

* Add operational state server init in linux all-cluster-app

* Restyled by whitespace

* Restyled by clang-format

* Restyled by prettier-json

* Add TestOperationalState.yaml

* rm TestOperationalStateDelegateImpl.cpp

* Restyled by whitespace

* Restyled by gn

* Restyled by prettier-yaml

* remove the api,  filing a followup issue to emit the right events

* fix CI build error

* fix CI build err

* Restyled by clang-format

* fix build error

* Restyled by clang-format

* update document

* use NullOptional to instead Missing

* return CHIP_ERROR_INCORRECT_STATE when delegate is nullptr

* optimize reading the operational state list

* move the position of testcase

* fix ci build err

* fix ci build err

* Restyled by clang-format

* fix readability-else-after-return error

* fix Unknown key in CI build

* add note in ciTest.json for darwin-framework-tool

* update document for api

* use Zcl instead NotSpecified in log

* fix TestOperationalState error

* zap_regen_all

* optimize lambda function use

* Restyled by clang-format

* fix ci error: readability-else-after-return

---------

Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Justin Wood <[email protected]>
Co-authored-by: Boris Zbarsky <[email protected]>

* Add Smoke CO Cluster to All Clusters App (project-chip#27124)

* Smoke/CO: Add Cluster to All Clusters App

Implement SelfTestRequest in all-clusters-app

* Smoke/CO: Update zap

Update endOfServiceAlert
Add Smoke CO Alarm events

* Modify the flash settings of nrf52840dk_nrf52840

* Modify the flash settings of nrf52840dk_nrf52840

* Modify the flash settings of nrf52840dk_nrf52840

* Revert "Modify the flash settings of nrf52840dk_nrf52840"

This reverts commit 3ab364b.

* Revert "Modify the flash settings of nrf52840dk_nrf52840"

This reverts commit 4fc1ff9.

* Revert "Modify the flash settings of nrf52840dk_nrf52840"

This reverts commit 136efe7.

* Disable nrf testing DFU in CI for all-clusters-app

* Revert "Disable nrf testing DFU in CI for all-clusters-app"

This reverts commit 4a7525b.

* Add smco-stub to Open IoT SDK

---------

Co-authored-by: Hare <[email protected]>

* Remove redundant chip::app:: prefixes

* Use Bitset Instead Of Just a Number For FeatureMap

* Remove Options from CHIPProjectAppConfig.h

not needed or wrong

* Remove network commissioning bits

As of earlier today that's handled by AppInit. Which is good, because the bits here are buggy.

* Make Hepa And ActivateCarbon Filter Monitoring Instances Static

* Remove ClusterId From Specialized Hepa and Activated Carbon Construtors

They should know their cluster ids, and now they do!

* Add Getter for Endpoint

* Remove Nonsense Comment

* Remove Aliased Cluster IDs That Got Removed

* Fix Typo

* Simplify HandleResetCondition Method

* [SMCO] Update XML to spec changes (project-chip#27606)

* [SMCO] Update XML to spec changes

* [SMCO] Regen zap

---------

Co-authored-by: Hare <[email protected]>

* Update Smoke CO Alarm Implementation (project-chip#27566)

* Smoke/CO: Add ExpiryDate

* Smoke/CO: Add emberAfHandleEventTrigger

* Smoke/CO: Update the handling of attribute changes

Unmute when critical alarm is triggered

* Smoke/CO: Update the handling of DeviceMuted

Cannot mute when critical alarms exist

* Smoke/CO: Update zap

* Smoke/CO: Update README.md

Add building options description

* Smoke/CO: Update zap

fix UnitTesting cluster

* Revert "Smoke/CO: Update zap"

This reverts commit 4607dab.

* Revert "Smoke/CO: Update zap"

This reverts commit 7534419.

* Add Unit Testing

* Smoke/CO: Update zap

Sync Silab changes

* Smoke/CO: Add ExpressedState priority

* Smoke/CO: Update endOfServiceAlert of zap

* [SMCO] Add mExpressedStatePriority

* [SMCO] Add timer for test

* Separate Warning and Critical Triggered Event

---------

Co-authored-by: Hare <[email protected]>

* [ota-requestor] Added update cancelling in case of apply failure (project-chip#27591)

The Ota Requestor's Apply API returns CHIP_ERROR, however it is
not handled by the DefaultOTARequestorDriver.

Added cancelling update in case of Apply failure to reset the
OTA Requestor state and prevent stucking in kApplying state.

* Zap regen all (project-chip#27939)

Co-authored-by: Andrei Litvin <[email protected]>

* Workaround Fan PercentSetting floating point precision error after "ceil()" (project-chip#27912)

* Workaround Fan Percent Setting floating point err

Workaround floating point precision error which will cause invalid value
after ceil()

For example, the current value:
   speedMax: 10
   percent: 70
   speedMax * (percent * 0.01) = 7.000000000000001 (floating point
precision error)
   ceil(speedMax * (percent * 0.01)) = 8 => The error propagate to ceil
and cause the final result error.

* Restyled by clang-format

* Workaround Fan PercentSetting float error (2nd)

Use integer multiply & devide to workaround floating
point precision error which causes incorrect Fan PercentSetting
value after ceil calculation.

* Update src/app/clusters/fan-control-server/fan-control-server.cpp

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

---------

Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
Co-authored-by: Boris Zbarsky <[email protected]>

* [ReadHandler] Report Scheduler class (project-chip#27553)

* Added a new class that will handle the scheduling of reports.

* Restyled by clang-format

* Removed un-necessary define in TestReportScheduler and applied refactor of SetReportingIntervals to SetMaxReportingIntervals to platform code

* Added TimerDelegate and wrapper functions around calls to Timer. Remove unnecessary checks for nullptr

* Added VerifyOrReturn after NL_TEST_ASSERTS for nullptr

* Completed TimerDelegate class and modified ReadHandlerNodes so they carry their own callback

* Modified TimerDelegate to allow to pass different objects as context

* ifdefing out ScheduleRun() to debug failing CI

* Added issue # to TODOs, refactored Min/Max Intervals to Min/Max Timestamp

* Clarified some comments regarding timing

* Restyled by whitespace

* Restyled by clang-format

* Added interface to GetMonotonicTimestamp in the timer delegate

* Apply suggestions from code review

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

* Completed renaming to eliminate compiling error, moved TestReporScehduler in reporting namespace, addressed some low hanging fruits

* Removed useless objects from tests as well as useless typecasting, and unnecessary check

* Fixed comment about private methods used in ReportScheduler as a friend class

* Changed to SetMinReportInterval to SetMinReportingIntervalForTests, removed the IsChunkedReport from comment about friend class, added a mock timestamp and timer to test to better control time in simulation for specific timing test cases

* Apply suggestions from code review

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

* Restyled by clang-format

* Removed all calls to ReadHandler States to prevent Engine calls from the Test as it seems to impact the CI

---------

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

* [wifi] combine ipv4 and ipv6 event so that dns server will start only when ipv6 is ready (project-chip#27884)

* [Ameba] Route hook voidptr (project-chip#27882)

* [routehook] fix void ptr dereference

* restyle

* Change endpointId type to int to align with other override functions (project-chip#27922)

* Remove dead-code init callbacks from some clusters. (project-chip#27936)

Init callbacks are only called for clusters listed in
ClustersWithInitFunctions.  "Basic" was not the right name for "Basic
Information", so that one was effectively not listed, and neither "Refrigerator
Alarm" nor "Group Key Management" were listed.

* [Python] unrestrict vendor id (project-chip#27911)

* Change the names of cluster-objects function arguments. (project-chip#27945)

Using "tag" as a function argument leads to compile failure when a struct with a
field named "Tag" (which becomes a member named "tag") is added to the spec.
Change to aTag (and aWriter) to avoid the name collision.

This does not change either API or ABI for consumers; just the naming of the
argument inside the function.

* Make FindOrEstablishSession inside CASE callbacks work. (project-chip#27942)

The following sequence of events:

1. Someone calls FindOrEstablishSession.
2. When the session establishment fails, OperationalSessionSetup dispatches the
   relevant notifications.
3. One of those notification handlers tries to FindOrEstablishSession to the
   same peer.

failed, because FindOrEstablishSession would pick up the existing
OperationalSessionSetup and add the new callbacks to it... but the existing
OperationalSessionSetup was already in callback notification, so would just
ignore the new callbacks.  So the new FindOrEstablishSession call would never
complete and would never try any actual session establishment.

The fix is to destroy the OperationalSessionSetup before notifying its
callbacks, so a FindOrEstablishSession from one of the callbacks ends up
creating a new OperationalSessionSetup as needed.

* Allow setting up an auto-resubscribe ReadClient with just a peer id. (project-chip#27941)

* Allow setting up an auto-resubscribe ReadClient with just a peer id.

This delegates all the work of setting up the CASE session, and the attendant
retries, to the ReadClient.

Fixes project-chip#23983

* Address review comment.

* update ci to 0.7.25 (project-chip#27585)

* update ci to 0.7.25

* change some container versions to fix ci error

* Add Copyright

* Sort out Includes

Add what is needed using "include what you use" tool

* Make Methods To Private

and move private section to bottom instead of in between

* Initialize All The Member Varaibles With Initializer List

also updated the comment with the new parameters

* Explicit Delete Move Constructors

* Make More Methods To Private

* Update Comment For OnResetCondition Command Handler

* Add FeatureMap To Zcl*.json Files

* [Ameba] [wifi] fix ssid and password length after getting from nvs (project-chip#27883)

* [wifi] fix ssid and password length after getting from nvs

* Restyled by clang-format

---------

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

* [Python] SetupPayload export version property. (project-chip#27959)

* Moving us to github container registry (project-chip#27879)

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

* Add a "country-code" argument to darwin-framework-tool pairing commands. (project-chip#27951)

* [matter_yamltests] Add timeout argument supports for the chip-tool/python yaml runner (project-chip#27934)

* [Python] Modify rotatingId to a hexadecimal string (project-chip#27933)

* Allow use of already commissioned device in TC_DeviceBasicComposition (project-chip#27919)

Testcase adjusted to allow commissioned device in test instead of PASE based device

* [Bouffalolab] Add build option to enable rotating device id (project-chip#27906)

* add option to enable rotating device id

* add more files for mbedtls for bl702

* fix restyle and test data

* [ICD]Post the MsgSentEvent on retransmits also (project-chip#27968)

* Post the MsgSentEvent on retransmits also

* Add a comment explaining why we set ExpectedResponse to false

* Fixing the .zap files for contradicting device type data (project-chip#27962)

* Fixing the .zap files for contradicting device type data
Github: ZAP#862

* Minor cleanup
Github: ZAP#862

* Fixing script typos (project-chip#27971)

* [Telink] Add Smoke Sensor app demo (project-chip#27609)

* [Telink]: Added draft smoke sensor

Added draft smoke sensor app for telink platform

Signed-off-by: dmytro.k <[email protected]>

* [Telink]: Added draft smoke sensor

Added draft smoke sensor app for telink platform

Signed-off-by: dmytro.k <[email protected]>

* [Telink]: Added draft smoke sensor

Added smoke sensor app for telink platform

Signed-off-by: dmytro.k <[email protected]>

* [Teilnk] format fix

* [Telink]: Added smoke sensor

Added smoke sensor app for telink platform

Signed-off-by: dmytro.k <[email protected]>

* [Telink] remove spaces

* Restyled by whitespace

* Restyled by clang-format

* Restyled by prettier-markdown

* code style fix

* reviewer feedback fix

---------

Signed-off-by: dmytro.k <[email protected]>
Co-authored-by: dmytro.k <[email protected]>
Co-authored-by: Restyled.io <[email protected]>

* Do not allow zero size array in test (project-chip#27973)

* Modifed test july 14 (project-chip#27960)

* Semi-Automated ---> Automated
TC-ACL-2.2
TC-APPLAUNCHER-3.8
TC-APPLAUNCHER-3.9
TC-SC-5.1
TC-SC-5.2

Semi-Automated test
TC-BINFO-2.2

* Auto generated files

* Modified endpoint variable to readable format

* Update Smoke CO Alarm Implementation (project-chip#27955)

* Add event field to Smoke CO Alarm implementation

* Fix INVALID_COMMAND

* Simplify the switch-case

---------

Co-authored-by: Hare <[email protected]>

* [Linux] DnssdImpl: rework avahi implementation (project-chip#26397)

* InetInterface: add IsLoopback() to InterfaceIterator and InterfaceAddressIterator

Required for improving dns-sd avahi based implementation

* [Linux] DnssdImpl: rework avahi implementation

This commit fixes two problems with the previous avahi based dns-sd implementation:

- Publishing more than one service at the same time did not work.
  This needs to be possible e.g. when a node is commissioned into multiple fabrics.
  The previous implementation falsely assumed that additional services can be added
  to already committed (=published) AvahiEntryGroup, which is not the case.
  An AvahiEntryGroup can only publish multiple services ALL AT ONCE.
  The new implementation creates a new AvahiEntryGroup per service, on demand.

- The previous implementation took ownership of the platform-global default hostname,
  (by overwriting it). This is not a good idea because the default hostname is usually
  of relevance for other non-matter services on a given Linux platform.
  The new implementation establishes the matter-mandated MAC-derived hostname separately
  and explicitly adds interface addresses.

* DnssdImpl.cpp: avoid shadowing local vars to prevent warning/error

* DnssdImpl.cpp: make work without INET_CONFIG_ENABLE_IPV4

* DnssdImpl.cpp: fix missing error variable assignment in SuccessOrExit()

(found by code-lints)

* Apply restyled Patch

* Remove ResetCondtion::Type And Encode

they are only needed for sending the command, it does not send the command.

* Remove While Loop's Body

is a very complicated no-op. Keep the while itself, it basically check if this is not malformed TLV

* Reclassify excessive logging in LevelControl and OnOffServer from Progress to Detail (project-chip#27938)

* [OPSTATE] Fix: change in type for OperationalState attribute (project-chip#27958)

* OperationalState attribute simply to Enum

* temporary remove some test step in TestOperationalState

* zap regen all

* modify the code related of the OperationalState attribute type

* update OperationalState type to Enum in TestOperationalState.yaml

* Restyled by clang-format

* modify the api of GetCurrentOperationalState in class Delegate

* modify the api of SetOperationalState in class Delegate

* optimize the Operational State cluster definition

* zap regen all

* Restyled by clang-format

* modify the note for RVC Operational State cluster definition

---------

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

* Add a "country-code" argument to chip-tool pairing commands. (project-chip#27948)

* Move cloudbuild to github images since 0.7.25 vscode image does not exist (project-chip#27992)

* Bump third_party/openthread/repo from `8bc2504` to `f7690fe` (project-chip#27984)

Bumps [third_party/openthread/repo](https://github.com/openthread/openthread) from `8bc2504` to `f7690fe`.
- [Release notes](https://github.com/openthread/openthread/releases)
- [Commits](openthread/openthread@8bc2504...f7690fe)

---
updated-dependencies:
- dependency-name: third_party/openthread/repo
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump third_party/mbedtls/repo from `b18d45f` to `4e73afe` (project-chip#27983)

Bumps [third_party/mbedtls/repo](https://github.com/ARMmbed/mbedtls) from `b18d45f` to `4e73afe`.
- [Release notes](https://github.com/ARMmbed/mbedtls/releases)
- [Commits](Mbed-TLS/mbedtls@b18d45f...4e73afe)

---
updated-dependencies:
- dependency-name: third_party/mbedtls/repo
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Move OnResetCondition Handling to Cluster Implementation

- add PreResetCondition and PostResetCondition() methods to be overwritten

fixes project-chip#27986

* Apply Restyled Patch

* Fix Typo

* Update cloudbuild image to 1 from 0.8 (project-chip#27994)

* TC-TIMESYNC-3.1: python automation (project-chip#27925)

Using python because it's the easiest way to do wildcard
and iterate over all the endpoints

Also changing other tests to force EP0

* update time sync TC_TIMESYNC_2_7 and TC_TIMESYNC_2_8 (project-chip#27545)

* include missed set time zone

* expect null when DST expires, missed offset sign, removed unused variables

* Remove gdbgui requirement for esp32 (project-chip#28007)

* Remove gdbgui requirement for esp32

* Fix qemu

* Fix chef as well

* Added check for board control before including header/function calls (project-chip#28008)

* Bump pip-tools to 7.0.0 (project-chip#28009)

* Enforce length constraint for CountryCode in SetRegulatoryConfig. (project-chip#27949)

We were not checking the length (which must be 2), so would allow 1-char or
0-char values.

Also aligns the exact logic with the Location attribute write code and adds some
error logging.

* [matter_yamltests] Be stricter about the response key for command targetting group and disallow the use of the endpoint key (project-chip#27989)

Co-authored-by: Andrei Litvin <[email protected]>

* [ICD]Add needed elements to the ICD Manager to handle LIT mode (project-chip#27916)

* Add needed elements to the ICD Manager to handle LIT mode

* separate IcdMonitorinTable in its own sourceset to fix build issues on examples that have the ICD cluster but not not enable chip_enable_icd_server

* address comments. Don't force Slow Polling interval in SIT to 15s to respect the current SHOULD conformance

* fix test build

* Make the Darwin compat story for struct/event renames better (project-chip#28012)

* Refactor struct/event codegen in Darwin a bit.

This makes the cluster and struct/event names into inline partial parameters.
This changeset has been tested to not modify the generated code at all.

* Make our renamed struct/event codegen more backwards compatible.

When we just moved all the members to the super-class, it left the subclass in a
situation where none of its properties are available in the release where the
subclass itself is available.

This change restores those properties on the subclasses.

The @dynamic in implementations is needed to avoid compiler errors.

* Remove Init For Resource Monitoring Clusters From main-common.cpp

And put it in resource-monitoring-helper.cpp.
This will use the ClusterInitCallbacks to initialize the instance objects.

This removes the need to have the init code in every example app, just include the helper.cpp file.

* Apply Restyled Patch

---------

Signed-off-by: dmytro.k <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Graf Tobias <[email protected]>
Co-authored-by: William Hicklin <[email protected]>
Co-authored-by: William <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: C Freeman <[email protected]>
Co-authored-by: mideayanghui <[email protected]>
Co-authored-by: Justin Wood <[email protected]>
Co-authored-by: Boris Zbarsky <[email protected]>
Co-authored-by: EricZijian_Siter <[email protected]>
Co-authored-by: Hare <[email protected]>
Co-authored-by: Kamil Kasperczyk <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
Co-authored-by: Andrei Litvin <[email protected]>
Co-authored-by: Erwin Pan <[email protected]>
Co-authored-by: lpbeliveau-silabs <[email protected]>
Co-authored-by: pankore <[email protected]>
Co-authored-by: Yufeng Wang <[email protected]>
Co-authored-by: tianfeng-yang <[email protected]>
Co-authored-by: Vivien Nicolas <[email protected]>
Co-authored-by: Timothy Maes <[email protected]>
Co-authored-by: wyhong <[email protected]>
Co-authored-by: Junior Martinez <[email protected]>
Co-authored-by: Bharat Raju <[email protected]>
Co-authored-by: Alex Tsitsiura <[email protected]>
Co-authored-by: dmytro.k <[email protected]>
Co-authored-by: manjunath-grl <[email protected]>
Co-authored-by: Lukas Zeller <[email protected]>
Co-authored-by: milanr-q <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fesseha-eve <[email protected]>
Co-authored-by: CuRahman <[email protected]>
Co-authored-by: Anthony DiGirolamo <[email protected]>
@erwinpan1 erwinpan1 deleted the fix_fan_floating_point_precision_error branch August 25, 2023 01:35
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