-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[examples] Enable Descriptor cluster on all endpoints #10761
Conversation
@Damian-Nordic I would have expected setting things external to in fact reduce the .bss use, and that is the plan of record for what to do with descriptor, once we make reporting work without the actual attribute write there. Sounds like that's a pretty high priority, as is figuring out why setting things external is not helping. I'm looking into the latter right now. |
@bzbarsky-apple Thanks, I'll take a look into that tomorrow. It seems that |
@Damian-Nordic Once #10826 merges, setting things external should work right. |
@Damian-Nordic can you take a peek at conflicts? Thanks! |
Probably needs a regen now that #10826 merged.... |
b30456c
to
483e35c
Compare
@bzbarsky-apple Thanks a lot for this work. I rebased my change now and switched Descriptor attributes on all endpoints to the external storage. |
PR #10761: Size comparison from d88736a to 483e35c Increases above 1.0% from d88736a to 483e35c:
35 builds (for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 👍
@Damian-Nordic - merge conflicts |
483e35c
to
345b76b
Compare
PR #10761: Size comparison from 341c00d to 345b76b 8 builds (for k32w, p6, qpg, telink)
|
345b76b
to
5c6165d
Compare
PR #10761: Size comparison from 341c00d to 5c6165d 8 builds (for k32w, p6, qpg, telink)
4 builds (for efr32)
4 builds (for mbed)
12 builds (for esp32, nrfconnect)
|
Enable Descriptor cluster on all endpoints in all examples to make sure that a controller can find out all clusters supported by a given device.
5c6165d
to
f9603b1
Compare
PR #10761: Size comparison from 62a6f85 to f9603b1 8 builds (for k32w, p6, qpg, telink)
Increases above 1.0% from 62a6f85 to f9603b1:
12 builds (for efr32, linux)
4 builds (for mbed)
12 builds (for esp32, nrfconnect)
|
Size increase report for "gn_qpg-example-build" from 62a6f85
Full report output
|
Size increase report for "esp32-example-build" from 62a6f85
Full report output
|
Size increase report for "nrfconnect-example-build" from 62a6f85
Full report output
|
…0761) Enable Descriptor cluster on all endpoints in all examples to make sure that a controller can find out all clusters supported by a given device.
Problem
Currently, the Descriptor cluster is enabled only on endpoint 0 while it should be enabled on all endpoints to expose all clusters available on a given node.
Change overview
Enable Descriptor cluster on all endpoints in all examples to make sure that a controller can find out all clusters supported by a given device.
Testing
Tested manually all examples available for the nRF52840 DK, using Python CHIP Controller.