Optimizing Memory Usage#
This page provides information on optimizing memory usage for Silicon Labs devices.
How to Optimize Memory#
To optimize an application's memory footprint, check the following:
Analyze and reduce stack usage of the application wherever possible.
Disable any included debug modules.
Turn off unused peripherals, features, and functions.
Disabling Debug Logging#
Memory can be optimized by disabling debug logs. The matter_no_debug component disables the following from the project.
Disables Silabs specific logging used in Matter
Disables Hard Fault logs
Keeps Log Level to None
To add matter_no_debug Component, modify the corresponding app-specific .slcp project file.
- id: matter_no_debug
from: matter