[MATTER-5331] [Cherry-Pick] Add energy tracing #246
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Cherry pick #224
This is a cherry pick for #224 to bring it to release 2.8. Rest of the description is from the original PR
Issue Link:
https://jira.silabs.com/browse/MATTER-5331
Description of Problem/Feature:
Sister PR of SiliconLabsSoftware/matter_sdk#699
Description of Fix/Solution:
Adds a new component and adds options to the SilabsTracingConfig to be able to enable the new energy tracing features
Testing Done:
Unit tests were added in the matter_sdk PR
Testing was done on series 2 and 3 for this on a lighting app.
Note
Introduces an energy tracing component and extends Silabs tracing config with energy tracing controls and config-wizard formatting.
slc/component/matter-core-sdk/energy_tracing.slccSilabsPowerTracing.cpp/hincludes and definesSL_TRACING_ENERGY_TRACES=1.packages/matter/matter.slce.extracomponents list.slc/inc/platform/silabs/tracing/SilabsTracingConfig.hSL_TRACING_ENERGY_STATS,SL_TRACING_ENERGY_TRACES_SECONDS,SL_TRACING_ENERGY_TRACES_MAX.Written by Cursor Bugbot for commit d8f329e. This will update automatically on new commits. Configure here.