Skip to content

Conversation

@malbert-silabs
Copy link
Contributor

@malbert-silabs malbert-silabs commented Nov 21, 2025

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.

  • Tracing:
    • New component: slc/component/matter-core-sdk/energy_tracing.slcc
      • Adds energy tracing support via SilabsPowerTracing.cpp/h includes and defines SL_TRACING_ENERGY_TRACES=1.
      • Registered in packages/matter/matter.slce.extra components list.
    • Configuration: Updates slc/inc/platform/silabs/tracing/SilabsTracingConfig.h
      • Converts to config-wizard style and keeps runtime stats options.
      • Adds energy tracing options: SL_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.

* Added component

* Update config

* bump submodule

* bump submodule

* bump submodule

* Rename defines

* bump submodule

* update slcc

* cursor review comments

* bump submodule

* bump submodule
@malbert-silabs malbert-silabs marked this pull request as ready for review November 21, 2025 14:33
@malbert-silabs malbert-silabs requested a review from a team as a code owner November 21, 2025 14:33
Copilot AI review requested due to automatic review settings November 21, 2025 14:33
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR cherry-picks energy tracing functionality from PR #224 to the release 2.8 branch. The changes add support for tracking and reporting energy mode statistics in the Matter SDK platform layer.

  • Updates the Matter SDK submodule to include energy tracing implementation
  • Adds configuration options for energy statistics collection in the tracing configuration header
  • Introduces a new energy_tracing component that can be optionally included in builds

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
third_party/matter_sdk Updates submodule commit to version containing energy tracing implementation
slc/inc/platform/silabs/tracing/SilabsTracingConfig.h Adds three new configuration macros for energy statistics and reformats existing ones with configuration wizard annotations
slc/component/matter-core-sdk/energy_tracing.slcc Creates new component definition for energy tracing with required includes, source files, and compiler defines
packages/matter/matter.slce.extra Registers the new energy_tracing component in the package manifest

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@malbert-silabs malbert-silabs force-pushed the cherry-pick/em-tracing-component branch from 299c7c4 to d8f329e Compare November 21, 2025 18:25
@lpbeliveau-silabs lpbeliveau-silabs merged commit 14a0acd into release_2.8-1.5 Nov 21, 2025
172 checks passed
@lpbeliveau-silabs lpbeliveau-silabs deleted the cherry-pick/em-tracing-component branch November 21, 2025 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants