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

[Scenes] LastConfiguredBy Removal #38003

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

lpbeliveau-silabs
Copy link
Contributor

Removal of LastConfiguredAttribute in code and Test to follow spec changes in https://github.com/CHIP-Specifications/chip-test-plans/pull/4991

Testing

Locally build and run Scenes Yaml tests.

Copy link

PR #38003: Size comparison from 80a647c to 9c409ec

Full report (1 build for stm32)
platform target config section 80a647c 9c409ec change % change
stm32 light STM32WB5MM-DK FLASH 460952 460952 0 0.0
RAM 141496 141496 0 0.0

@lpbeliveau-silabs lpbeliveau-silabs force-pushed the feature/last-configured-by-removal branch from 7d90801 to ff8ca4c Compare March 14, 2025 19:53
<arg name="TransitionTime" type="int32u"/>
<arg name="SceneName" type="char_string"/>
<arg name="ExtensionFieldSets" type="ExtensionFieldSet" array="true"/>
<description>It is not mandatory for an extension field set to be included in the command for every cluster on that endpoint that has a defined extension field set.</description>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is ... a pretty terrible description. Followup: get this fixed.

Comment on lines +88 to +89
<attribute side="server" code="0x0000" name="SceneTableSize" define="SCENE_TABLE_SIZE" type="int16u" default="16">SceneTableSize</attribute>
<attribute side="server" code="0x0001" name="FabricSceneInfo" define="FABRIC_SCENE_INFO" type="array" entryType="SceneInfoStruct">FabricSceneInfo</attribute>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be using an old version of alchemy, so it's adding the name of the attribute in multiple places?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pull the latest version and the generated output remains the same, when you say:

adding the name of the attribute in multiple places

You mean that name="SceneTableSize" should not be in the xml?

@lpbeliveau-silabs lpbeliveau-silabs force-pushed the feature/last-configured-by-removal branch 2 times, most recently from 10d5039 to 9d5de2e Compare March 14, 2025 20:25
Copy link

github-actions bot commented Mar 14, 2025

PR #38003: Size comparison from 1675464 to 9d5de2e

Full report (3 builds for cc32xx, stm32)
platform target config section 1675464 9d5de2e change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 541830 541830 0 0.0
RAM 205152 205152 0 0.0
lock CC3235SF_LAUNCHXL FLASH 575930 575930 0 0.0
RAM 205400 205400 0 0.0
stm32 light STM32WB5MM-DK FLASH 460952 460952 0 0.0
RAM 141496 141496 0 0.0

@lpbeliveau-silabs lpbeliveau-silabs force-pushed the feature/last-configured-by-removal branch 2 times, most recently from 2de31ea to eea7784 Compare March 14, 2025 21:06
@lpbeliveau-silabs lpbeliveau-silabs force-pushed the feature/last-configured-by-removal branch from eea7784 to 6d56afe Compare March 14, 2025 21:23
Copy link

github-actions bot commented Mar 14, 2025

PR #38003: Size comparison from 1675464 to 6d56afe

Full report (3 builds for cc32xx, stm32)
platform target config section 1675464 6d56afe change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 541830 541830 0 0.0
RAM 205152 205152 0 0.0
lock CC3235SF_LAUNCHXL FLASH 575930 575930 0 0.0
RAM 205400 205400 0 0.0
stm32 light STM32WB5MM-DK FLASH 460952 460952 0 0.0
RAM 141496 141496 0 0.0

Copy link

github-actions bot commented Mar 14, 2025

PR #38003: Size comparison from 1675464 to 2744cd4

Full report (5 builds for cc32xx, stm32, tizen)
platform target config section 1675464 2744cd4 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 541830 541830 0 0.0
RAM 205152 205152 0 0.0
lock CC3235SF_LAUNCHXL FLASH 575930 575930 0 0.0
RAM 205400 205400 0 0.0
stm32 light STM32WB5MM-DK FLASH 460952 460952 0 0.0
RAM 141496 141496 0 0.0
tizen all-clusters-app arm unknown 5152 5152 0 0.0
FLASH 1783288 1782172 -1116 -0.1
RAM 94168 94128 -40 -0.0
chip-tool-ubsan arm unknown 11560 11560 0 0.0
FLASH 19092774 19103366 10592 0.1
RAM 8355048 8354520 -528 -0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

2 participants