Skip to content

Commit

Permalink
samples: matter: Align nRF54L15 internal pm_static
Browse files Browse the repository at this point in the history
We need to reach 35% of the compression rate, so we need to
align the nRF54L15 internal partition map in the pm_static file.

Signed-off-by: Arkadiusz Balys <[email protected]>
  • Loading branch information
ArekBalysNordic committed Dec 4, 2024
1 parent e1e1f20 commit 976b2bd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ CONFIG_BT_LL_SOFTDEVICE_MULTIROLE=y
CONFIG_CHIP_MALLOC_SYS_HEAP_SIZE=10240
CONFIG_MPSL_WORK_STACK_SIZE=2048

# Set the ZMS sector count to match the settings partition size that is 44 kB for this application.
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=11
# Set the ZMS sector count to match the settings partition size that is 40 kB for this application.
CONFIG_SETTINGS_ZMS_SECTOR_COUNT=10
# Workaround required as Zephyr L2 implies usage of NVS backend for settings.
# It should be removed once the proper fix will be applied in Zephyr.
CONFIG_NVS=n
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,38 +9,39 @@ mcuboot_pad:
app:
address: 0xD800
region: flash_primary
size: 0xD4800
size: 0xD7800
mcuboot_primary:
address: 0xD000
orig_span: &id001
- app
- mcuboot_pad
region: flash_primary
size: 0xD5000
size: 0xD8000
span: *id001
mcuboot_primary_app:
address: 0xD800
orig_span: &id002
- app
region: flash_primary
size: 0xD4800
size: 0xD7800
span: *id002
mcuboot_secondary:
address: 0xE2000
address: 0xE5000
orig_span: &id003
- mcuboot_secondary_pad
- mcuboot_secondary_app
region: flash_primary
size: 0x90000
size: 0x8D000
span: *id003
mcuboot_secondary_pad:
region: flash_primary
address: 0xE2000
address: 0xE5000
size: 0x800
# Compression rate 34.80%
mcuboot_secondary_app:
region: flash_primary
address: 0xE2800
size: 0x8F800
address: 0xE5800
size: 0x8C800
factory_data:
address: 0x172000
region: flash_primary
Expand Down

0 comments on commit 976b2bd

Please sign in to comment.