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

[Silabs] Enabling the sleepy device for EFR32 and rs911x combo #25519

Merged

Conversation

chirag-silabs
Copy link
Contributor

Enabling the sleepy device changes for EFR32+RS911x combos

setting to EM1 mode during the spi communication and setting it back to EM2
RS9116 going to sleep based on the DTIM based interval

Verified locally using EFR32+RS9116

@github-actions
Copy link

PR #25519: Size comparison from 7a52877 to 7577f3d

Full report (1 build for cc32xx)
platform target config section 7a52877 7577f3d change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 645489 645489 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 930293 930293 0 0.0
.debug_aranges 87384 87384 0 0.0
.debug_frame 300248 300248 0 0.0
.debug_info 20245968 20245968 0 0.0
.debug_line 2660979 2660979 0 0.0
.debug_loc 2804909 2804909 0 0.0
.debug_ranges 283168 283168 0 0.0
.debug_str 3026947 3026947 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 106009 106009 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 380271 380271 0 0.0
.symtab 257312 257312 0 0.0
.text 537360 537360 0 0.0

@github-actions
Copy link

PR #25519: Size comparison from 7a52877 to 505ead7

Increases (1 build for cc32xx)
platform target config section 7a52877 505ead7 change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20245968 20245969 1 0.0
Full report (1 build for cc32xx)
platform target config section 7a52877 505ead7 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 645489 645489 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 930293 930293 0 0.0
.debug_aranges 87384 87384 0 0.0
.debug_frame 300248 300248 0 0.0
.debug_info 20245968 20245969 1 0.0
.debug_line 2660979 2660979 0 0.0
.debug_loc 2804909 2804909 0 0.0
.debug_ranges 283168 283168 0 0.0
.debug_str 3026947 3026947 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 106009 106009 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 380271 380271 0 0.0
.symtab 257312 257312 0 0.0
.text 537360 537360 0 0.0

Copy link
Contributor

@jepenven-silabs jepenven-silabs left a comment

Choose a reason for hiding this comment

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

LGTM

@jepenven-silabs jepenven-silabs requested review from mkardous-silabs and removed request for pjzander-signify March 16, 2023 18:01
@github-actions
Copy link

PR #25519: Size comparison from 7a52877 to 251f695

Full report (2 builds for cc32xx, mbed)
platform target config section 7a52877 251f695 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 645489 645489 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 930293 930293 0 0.0
.debug_aranges 87384 87384 0 0.0
.debug_frame 300248 300248 0 0.0
.debug_info 20245968 20245968 0 0.0
.debug_line 2660979 2660979 0 0.0
.debug_loc 2804909 2804909 0 0.0
.debug_ranges 283168 283168 0 0.0
.debug_str 3026947 3026947 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 106009 106009 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 380271 380271 0 0.0
.symtab 257312 257312 0 0.0
.text 537360 537360 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2468312 2468312 0 0.0
.bss 215964 215964 0 0.0
.data 5880 5880 0 0.0
.text 1430956 1430956 0 0.0

Copy link
Contributor

@mkardous-silabs mkardous-silabs left a comment

Choose a reason for hiding this comment

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

one nit left, but other wise good to go

@github-actions
Copy link

PR #25519: Size comparison from 3edd101 to c675664

Decreases (1 build for cc32xx)
platform target config section 3edd101 c675664 change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20265057 20265056 -1 -0.0
Full report (1 build for cc32xx)
platform target config section 3edd101 c675664 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 645945 645945 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 930399 930399 0 0.0
.debug_aranges 87520 87520 0 0.0
.debug_frame 300716 300716 0 0.0
.debug_info 20265057 20265056 -1 -0.0
.debug_line 2663587 2663587 0 0.0
.debug_loc 2808805 2808805 0 0.0
.debug_ranges 283608 283608 0 0.0
.debug_str 3036926 3036926 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 106009 106009 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 381423 381423 0 0.0
.symtab 257664 257664 0 0.0
.text 537816 537816 0 0.0

@github-actions
Copy link

PR #25519: Size comparison from 3edd101 to d6ff6b7

Decreases (1 build for cc32xx)
platform target config section 3edd101 d6ff6b7 change % change
cc32xx lock CC3235SF_LAUNCHXL (read only) 645945 645601 -344 -0.1
.debug_abbrev 930399 930289 -110 -0.0
.debug_aranges 87520 87400 -120 -0.1
.debug_frame 300716 300316 -400 -0.1
.debug_info 20265057 20248009 -17048 -0.1
.debug_line 2663587 2661469 -2118 -0.1
.debug_loc 2808805 2805592 -3213 -0.1
.debug_ranges 283608 283208 -400 -0.1
.debug_str 3036926 3027174 -9752 -0.3
.rodata 106009 105993 -16 -0.0
.strtab 381423 380421 -1002 -0.3
.symtab 257664 257408 -256 -0.1
.text 537816 537488 -328 -0.1
Full report (1 build for cc32xx)
platform target config section 3edd101 d6ff6b7 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 645945 645601 -344 -0.1
(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 930399 930289 -110 -0.0
.debug_aranges 87520 87400 -120 -0.1
.debug_frame 300716 300316 -400 -0.1
.debug_info 20265057 20248009 -17048 -0.1
.debug_line 2663587 2661469 -2118 -0.1
.debug_loc 2808805 2805592 -3213 -0.1
.debug_ranges 283608 283208 -400 -0.1
.debug_str 3036926 3027174 -9752 -0.3
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 106009 105993 -16 -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 381423 380421 -1002 -0.3
.symtab 257664 257408 -256 -0.1
.text 537816 537488 -328 -0.1

@jmartinez-silabs jmartinez-silabs enabled auto-merge (squash) March 20, 2023 16:15
@jmartinez-silabs jmartinez-silabs merged commit 4efc0f8 into project-chip:master Mar 20, 2023
lecndav pushed a commit to lecndav/connectedhomeip that referenced this pull request Mar 22, 2023
…ct-chip#25519)

* enabling the sleepy device for EFR32 and rs911x combo

* Restyled by whitespace

* Restyled by clang-format

* Restyled by gn

* addressing review comments

* 917 modifications and addressing some review comments

* Adding comments on the DMA transactions

* Restyled by clang-format

* modifying the function signature

* switch case modifications as per the suggestions

* bugfix switch case missed break

* addressing review comments

* Restyled by clang-format

* addressing review comments

* restyle changes

* Addressing review comments

* sleepy devices when rs9116 ble is in use

---------

Co-authored-by: Restyled.io <commits@restyled.io>
@rosahay-silabs rosahay-silabs deleted the feature/rs911x_sleepy branch May 15, 2023 09:36
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.

None yet

6 participants