From 9e153bec7012df50d362832a200e4730e5b26ee2 Mon Sep 17 00:00:00 2001 From: Sergei Lissianoi Date: Tue, 2 Sep 2025 13:24:39 -0400 Subject: [PATCH] Link the Code Savings Guide --- sld407-matter-ota/01-ota-bootloader.md | 2 +- sld407-matter-ota/02-ota-software-update.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sld407-matter-ota/01-ota-bootloader.md b/sld407-matter-ota/01-ota-bootloader.md index eabf25b..4dd0353 100644 --- a/sld407-matter-ota/01-ota-bootloader.md +++ b/sld407-matter-ota/01-ota-bootloader.md @@ -33,7 +33,7 @@ Build the project by clicking on the hammer icon in the Studio toolbar. Flash th ## Internal Bootloader: Image Size, Selecting Storage Slot Address and Size -The internal storage bootloader for Matter OTA Software Update is supported on MG24/MG26 boards. In this use case, both the running image and the downloadable update image must fit on the internal flash at the same time. This in turn requires that both images are built with a reduced feature set such as disabled logging and Matter shell (see [here](./02-ota-software-update.md#Internal-Storage-Bootloader) for the list of features). Using LZMA compression when building the GBL file further reduces the downloaded image size. +The internal storage bootloader for Matter OTA Software Update is supported on MG24/MG26 boards. In this use case, both the running image and the downloadable update image must fit on the internal flash at the same time. This in turn requires that both images are built with a reduced feature set such as disabled logging and Matter shell (see [here](./02-ota-software-update.md#Internal-Storage-Bootloader) for the list of features). See [Code Savings Guide](/matter/{build-docspace-version}/matter-overview-guides/code-size-savings) for a general guide on reducing the application image size. Using LZMA compression when building the GBL file further reduces the downloaded image size. When building an internal storage bootloader, the two key configuration parameters are the **Slot Start Address** and **Slot Size** in the **Bootloader Storage Slot** component. The storage slot must not overlap with the running image and the NVM section of the flash. In other words, the slot start address must be greater than the end of the running image address and the sum of the start address and the slot size must be less than the address of the NVM section. diff --git a/sld407-matter-ota/02-ota-software-update.md b/sld407-matter-ota/02-ota-software-update.md index 4d00ff3..87d7c20 100644 --- a/sld407-matter-ota/02-ota-software-update.md +++ b/sld407-matter-ota/02-ota-software-update.md @@ -125,7 +125,7 @@ With this configuration the device will query the OTA-Provider for an available ## Internal Storage Bootloader -Internal storage bootloader for Matter OTA software update is supported on MG24/MG26 boards. In this use case, both the running image and the downloadable update image must fit on the internal flash at the same time. This in turn requires that both images are built with a reduced feature set, such as disabled logging and Matter shell. See [Creating the Bootloader for Use in Matter OTA](01-ota-bootloader.md) for more details. +Internal storage bootloader for Matter OTA software update is supported on MG24/MG26 boards. In this use case, both the running image and the downloadable update image must fit on the internal flash at the same time. This in turn requires that both images are built with a reduced feature set, such as disabled logging and Matter shell. See [Creating the Bootloader for Use in Matter OTA](01-ota-bootloader.md) for more details. See [Code Savings Guide](/matter/{build-docspace-version}/matter-overview-guides/code-size-savings) for a general guide on reducing the application image size. Installing the Lower Power Mode component in the project's Software Components tool in Simplicity Studio will uninstall the following optional components and reduce the image size: