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

Document mask argument of DECLARE_DYNAMIC_ATTRIBUTE. #35228

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

bzbarsky-apple
Copy link
Contributor

People keep forgetting ATTRIBUTE_MASK_WRITABLE here, then being confused why writes do not work.

People keep forgetting ATTRIBUTE_MASK_WRITABLE here, then being confused why
writes do not work.
Copy link

Review changes with SemanticDiff.

Copy link

github-actions bot commented Aug 27, 2024

PR #35228: Size comparison from 32c961f to d97b5af

Full report (77 builds for bl602, bl702, bl702l, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 32c961f d97b5af change % change
bl602 lighting-app bl602 FLASH 1278596 1278596 0 0.0
RAM 95880 95880 0 0.0
bl602+mfd FLASH 1292706 1292706 0 0.0
RAM 96024 96024 0 0.0
bl602+rpc FLASH 1317560 1317560 0 0.0
RAM 104304 104304 0 0.0
bl702 lighting-app bl702 FLASH 944224 944224 0 0.0
RAM 15209 15209 0 0.0
bl702+mfd FLASH 946624 946624 0 0.0
RAM 15353 15353 0 0.0
bl702+rpc FLASH 1039536 1039536 0 0.0
RAM 24221 24221 0 0.0
bl706-eth FLASH 647296 647296 0 0.0
RAM 25305 25305 0 0.0
bl706-wifi FLASH 894668 894668 0 0.0
RAM 14525 14525 0 0.0
bl702l lighting-app bl702l FLASH 960884 960884 0 0.0
RAM 16868 16868 0 0.0
bl702l+mfd FLASH 963506 963506 0 0.0
RAM 17012 17012 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 672457 672457 0 0.0
RAM 78300 78300 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 692309 692309 0 0.0
RAM 80932 80932 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 692309 692309 0 0.0
RAM 80932 80932 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 649253 649253 0 0.0
RAM 73368 73368 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 610969 610969 0 0.0
RAM 71292 71292 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 630597 630597 0 0.0
RAM 73844 73844 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 630597 630597 0 0.0
RAM 73844 73844 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 629001 629001 0 0.0
RAM 74308 74308 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 648717 648717 0 0.0
RAM 76860 76860 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 648717 648717 0 0.0
RAM 76860 76860 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 602797 602797 0 0.0
RAM 68348 68348 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 622649 622649 0 0.0
RAM 70980 70980 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 622649 622649 0 0.0
RAM 70980 70980 0 0.0
efr32 lighting-app BRD4187C FLASH 930532 930532 0 0.0
RAM 135096 135096 0 0.0
lock-app BRD4338a FLASH 740604 740596 -8 -0.0
RAM 208492 208492 0 0.0
window-app BRD4187C FLASH 1015656 1015656 0 0.0
RAM 127036 127036 0 0.0
esp32 all-clusters-app c3devkit DRAM 94200 94200 0 0.0
FLASH 1533674 1533674 0 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115136 115136 0 0.0
FLASH 1543634 1543634 0 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4624 4624 0 0.0
FLASH 2758323 2758323 0 0.0
RAM 128472 128472 0 0.0
all-clusters-app debug unknown 5408 5408 0 0.0
FLASH 6045250 6045250 0 0.0
RAM 510056 510056 0 0.0
all-clusters-minimal-app debug unknown 5304 5304 0 0.0
FLASH 5381162 5381162 0 0.0
RAM 240200 240200 0 0.0
bridge-app debug unknown 5288 5288 0 0.0
FLASH 4729896 4729896 0 0.0
RAM 216952 216952 0 0.0
chip-tool debug unknown 5832 5832 0 0.0
FLASH 12648884 12648884 0 0.0
RAM 558354 558354 0 0.0
chip-tool-ipv6only arm64 unknown 20352 20352 0 0.0
FLASH 11320668 11320668 0 0.0
RAM 608440 608440 0 0.0
fabric-admin debug unknown 5664 5664 0 0.0
FLASH 10926671 10926671 0 0.0
RAM 556554 556554 0 0.0
fabric-bridge-app debug unknown 4520 4520 0 0.0
FLASH 4552096 4552096 0 0.0
RAM 203680 203680 0 0.0
lighting-app debug+rpc+ui unknown 5936 5936 0 0.0
FLASH 5665937 5665937 0 0.0
RAM 228008 228008 0 0.0
lock-app debug unknown 5224 5224 0 0.0
FLASH 4785242 4785242 0 0.0
RAM 203736 203736 0 0.0
ota-provider-app debug unknown 4600 4600 0 0.0
FLASH 4424716 4424716 0 0.0
RAM 197720 197720 0 0.0
ota-requestor-app debug unknown 4536 4536 0 0.0
FLASH 4563334 4563334 0 0.0
RAM 202256 202256 0 0.0
shell debug unknown 4176 4176 0 0.0
FLASH 3083581 3083581 0 0.0
RAM 159000 159000 0 0.0
thermostat-no-ble arm64 unknown 9296 9296 0 0.0
FLASH 4321068 4321068 0 0.0
RAM 241848 241848 0 0.0
tv-app debug unknown 5504 5504 0 0.0
FLASH 6009765 6009765 0 0.0
RAM 583256 583256 0 0.0
tv-casting-app debug unknown 5168 5168 0 0.0
FLASH 10853629 10853629 0 0.0
RAM 645784 645784 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 910212 910212 0 0.0
RAM 142219 142219 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 882200 882200 0 0.0
RAM 140358 140358 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 841268 841268 0 0.0
RAM 141038 141038 0 0.0
nxp contact k32w0+release FLASH 577580 577580 0 0.0
RAM 70444 70444 0 0.0
k32w1+release FLASH 590208 590208 0 0.0
RAM 62488 62488 0 0.0
light k32w0+release FLASH 613008 613008 0 0.0
RAM 69916 69916 0 0.0
k32w1+release FLASH 674880 674880 0 0.0
RAM 71472 71472 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1641036 1641036 0 0.0
RAM 210920 210920 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1544732 1544732 0 0.0
RAM 207632 207632 0 0.0
light cy8ckit_062s2_43012 FLASH 1464364 1464364 0 0.0
RAM 200728 200728 0 0.0
lock cy8ckit_062s2_43012 FLASH 1463412 1463412 0 0.0
RAM 225064 225064 0 0.0
qpg lighting-app qpg6105+debug FLASH 656068 656068 0 0.0
RAM 105128 105128 0 0.0
lock-app qpg6105+debug FLASH 613992 613992 0 0.0
RAM 99612 99612 0 0.0
stm32 light STM32WB5MM-DK FLASH 478424 478424 0 0.0
RAM 144716 144716 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 620280 620280 0 0.0
RAM 50932 50932 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 682044 682044 0 0.0
RAM 149552 149552 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 774286 774286 0 0.0
RAM 110712 110712 0 0.0
bridge-app tlsr9258a FLASH 679010 679010 0 0.0
RAM 91588 91588 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 621872 621872 0 0.0
RAM 50972 50972 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 707880 707880 0 0.0
RAM 74312 74312 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 620712 620712 0 0.0
RAM 145532 145532 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 806844 806844 0 0.0
RAM 99456 99456 0 0.0
lock-app-dfu tlsr9528a FLASH 654854 654854 0 0.0
RAM 67008 67008 0 0.0
ota-requestor-app tlsr9258a FLASH 697138 697138 0 0.0
RAM 91272 91272 0 0.0
pump-app-usb tlsr9518adk80d FLASH 631318 631318 0 0.0
RAM 55752 55752 0 0.0
pump-controller-app tlsr9518adk80d FLASH 608828 608828 0 0.0
RAM 52996 52996 0 0.0
shell tlsr9518adk80d FLASH 466816 466816 0 0.0
RAM 68660 68660 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 628662 628662 0 0.0
RAM 52692 52692 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 652810 652810 0 0.0
RAM 56632 56632 0 0.0
thermostat tlsr9518adk80d FLASH 635128 635128 0 0.0
RAM 53400 53400 0 0.0
window-covering tlsr9118bdk40d FLASH 522814 522814 0 0.0
RAM 98532 98532 0 0.0
tizen all-clusters-app arm unknown 4832 4832 0 0.0
FLASH 1706760 1706760 0 0.0
RAM 89340 89340 0 0.0
chip-tool-ubsan arm unknown 10272 10272 0 0.0
FLASH 17494190 17494190 0 0.0
RAM 7600188 7600188 0 0.0

@mergify mergify bot merged commit 02316de into project-chip:master Sep 10, 2024
67 checks passed
@bzbarsky-apple bzbarsky-apple deleted the improve-docs branch September 11, 2024 03:02
yyzhong-g pushed a commit to yyzhong-g/connectedhomeip that referenced this pull request Dec 12, 2024
)

People keep forgetting ATTRIBUTE_MASK_WRITABLE here, then being confused why
writes do not work.
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