From 64d5810e20d71c2db02aca8a96b27db690a12251 Mon Sep 17 00:00:00 2001 From: Michael Rupp Date: Tue, 11 Oct 2022 17:40:18 +0000 Subject: [PATCH] Pull request #163: Code savings doc PR Merge in WMN_TOOLS/matter from code_savings to silabs Squashed commit of the following: commit 19be88b7ba5d132041170da3735260020b58100f Author: Michael Rupp Date: Tue Oct 11 11:17:17 2022 -0400 fix relative pathing to lighting lite app commit afe599283d0a97a3375cac33905f3527520dbb18 Author: Michael Rupp Date: Fri Oct 7 11:29:29 2022 -0400 Code savings doc PR --- docs/silabs/README.md | 11 ++--------- docs/silabs/general/CODE_SIZE_SAVINGS.md | 8 ++++++++ 2 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 docs/silabs/general/CODE_SIZE_SAVINGS.md diff --git a/docs/silabs/README.md b/docs/silabs/README.md index 4e90c89bfe0de3..5592d9314f1554 100644 --- a/docs/silabs/README.md +++ b/docs/silabs/README.md @@ -54,17 +54,10 @@ 11. [Using Simplicity Studio's Pin Tool and Project Configurator with Matter](./general/PINTOOL.md) 12. [Using Simplicity Studio's BLE GATT Configurator with Matter](./general/GATT.md) 13. [Using Simplicity Studio's Energy Profiler with Matter](./general/EP.md) - 14. [Using Wireshark to Capture Network Traffic in Matter](./general/WIRESHARK.md)

+ 14. [Using Wireshark to Capture Network Traffic in Matter](./general/WIRESHARK.md) + 15. [Matter EFR32 Flash Savings Guide](general/CODE_SIZE_SAVINGS.md)

8. Frequently Asked Questions (FAQ) / Troubleshooting - [Thread FAQ](thread/FAQ.md) - [Wi-Fi FAQ](wifi/FAQ.md) - - diff --git a/docs/silabs/general/CODE_SIZE_SAVINGS.md b/docs/silabs/general/CODE_SIZE_SAVINGS.md new file mode 100644 index 00000000000000..b6b181cb053e61 --- /dev/null +++ b/docs/silabs/general/CODE_SIZE_SAVINGS.md @@ -0,0 +1,8 @@ +## Code Savings Guide for Building Matter Applications + +* Remove unnecessary clusters from the zap configuration. Example applications have clusters enabled to support both Thread and WiFi transport layers such as the Diagnostics clusters. + +* Remove optional features in Matter that may not be needed for a certain application. In the EFR32 build [script](../../../scripts/examples/gn_efr32_example.sh), there are additional build arguments that are added to either add or remove optional Matter features. For example, added a build argument disable_lcd=true will save flash by disabling the lcd screen. For inspiration, a minimalistic lighting application is [provided](../../../silabs_examples/lighting-lite-app/efr32/README.md). This example showcases the minimal requirements to build a lighting application over the Thread protocol. + +--- +[Table of Contents](../README.md) | [Thread Demo](../thread/DEMO_OVERVIEW.md) | [Wi-Fi Demo](../wifi/DEMO_OVERVIEW.md) \ No newline at end of file