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

Replacing stateful helpers with stateless helpers #25850

Conversation

brdandu
Copy link
Contributor

@brdandu brdandu commented Mar 27, 2023

  • Replacing chip_client_clusters, chip_cluster_commands, chip_cluster_responses and chip_cluster_command_arguments with all_user_clusters, zcl_commands, zcl_command_responses and zcl_command_arguments respectively in templates
  • Updating the required zap version in sdk.json
  • Github: ZAP#971

@github-actions
Copy link

PR #25850: Size comparison from 840f637 to ef4cbb0

Increases (1 build for cc32xx)
platform target config section 840f637 ef4cbb0 change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20309906 20309907 1 0.0
Decreases (1 build for cc32xx)
platform target config section 840f637 ef4cbb0 change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_line 2680953 2680947 -6 -0.0
Full report (1 build for cc32xx)
platform target config section 840f637 ef4cbb0 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 645745 645745 0 0.0
(read/write) 203848 203848 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197248 197248 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 933102 933102 0 0.0
.debug_aranges 87704 87704 0 0.0
.debug_frame 301604 301604 0 0.0
.debug_info 20309906 20309907 1 0.0
.debug_line 2680953 2680947 -6 -0.0
.debug_loc 2827596 2827596 0 0.0
.debug_ranges 286376 286376 0 0.0
.debug_str 3041114 3041114 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105953 105953 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 380555 380555 0 0.0
.symtab 257456 257456 0 0.0
.text 537672 537672 0 0.0

@brdandu brdandu force-pushed the bug/fixClusterAndCommandStatefulness/ZAP#971 branch from ef4cbb0 to 46916d4 Compare March 28, 2023 16:58
@github-actions
Copy link

PR #25850: Size comparison from a5e9259 to 46916d4

Decreases (1 build for cc32xx)
platform target config section a5e9259 46916d4 change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20309907 20309906 -1 -0.0
.debug_line 2680953 2680947 -6 -0.0
Full report (1 build for cc32xx)
platform target config section a5e9259 46916d4 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 645745 645745 0 0.0
(read/write) 203848 203848 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197248 197248 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 933102 933102 0 0.0
.debug_aranges 87704 87704 0 0.0
.debug_frame 301604 301604 0 0.0
.debug_info 20309907 20309906 -1 -0.0
.debug_line 2680953 2680947 -6 -0.0
.debug_loc 2827596 2827596 0 0.0
.debug_ranges 286376 286376 0 0.0
.debug_str 3041114 3041114 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105953 105953 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 380555 380555 0 0.0
.symtab 257456 257456 0 0.0
.text 537672 537672 0 0.0

@brdandu brdandu force-pushed the bug/fixClusterAndCommandStatefulness/ZAP#971 branch from 46916d4 to 4a90cad Compare March 29, 2023 14:38
@brdandu brdandu force-pushed the bug/fixClusterAndCommandStatefulness/ZAP#971 branch from b16e856 to f4d9b1d Compare March 29, 2023 21:21
brdandu added 2 commits March 31, 2023 15:29
- Replacing chip_client_clusters, chip_cluster_commands, chip_cluster_responses and chip_cluster_command_arguments with all_user_clusters, zcl_commands, zcl_command_responses and zcl_command_arguments respectively in templates
- Updating the required zap version in sdk.json
- updating minimum version of zap
- Github: ZAP#971
…is under a block helper does not make it retrieve the parent context. However using parent. within the same if case retrieves the parent block helper's context. It is weird that ../ and parent. are not behaving the same way inside an inline partial with arguments.

Therefore moving the inline outside the if case and switching back to ../manufacturerCode and ../code instead of ../../manufacturerCode and ../../code
Github: ZAP#971
@brdandu brdandu force-pushed the bug/fixClusterAndCommandStatefulness/ZAP#971 branch from 816eb61 to 7975508 Compare March 31, 2023 19:31
@github-actions
Copy link

PR #25850: Size comparison from 3f0e043 to 7975508

Increases (1 build for cc32xx)
platform target config section 3f0e043 7975508 change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20310330 20310331 1 0.0
Full report (1 build for cc32xx)
platform target config section 3f0e043 7975508 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 645825 645825 0 0.0
(read/write) 203848 203848 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197248 197248 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 933102 933102 0 0.0
.debug_aranges 87704 87704 0 0.0
.debug_frame 301596 301596 0 0.0
.debug_info 20310330 20310331 1 0.0
.debug_line 2681125 2681125 0 0.0
.debug_loc 2827568 2827568 0 0.0
.debug_ranges 286448 286448 0 0.0
.debug_str 3041144 3041144 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105953 105953 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 380543 380543 0 0.0
.symtab 257472 257472 0 0.0
.text 537752 537752 0 0.0

@yufengwangca yufengwangca merged commit bc5d5a6 into project-chip:master Apr 1, 2023
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