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 e2cfdfd commit 90bc8bd
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 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
@@ -1,51 +1,52 @@
mcuboot:
address: 0x0
region: flash_primary
size: 0xa000
size: 0xD000
mcuboot_pad:
address: 0xa000
address: 0xD000
region: flash_primary
size: 0x800
app:
address: 0xa800
address: 0xD800
region: flash_primary
size: 0xd6800
size: 0xD8800
mcuboot_primary:
address: 0xa000
address: 0xD000
orig_span: &id001
- app
- mcuboot_pad
region: flash_primary
size: 0xd7000
size: 0xD9000
span: *id001
mcuboot_primary_app:
address: 0xa800
address: 0xD800
orig_span: &id002
- app
region: flash_primary
size: 0xd6800
size: 0xD8800
span: *id002
mcuboot_secondary:
address: 0xe1000
address: 0xE6000
orig_span: &id003
- mcuboot_secondary_pad
- mcuboot_secondary_app
region: flash_primary
size: 0x90000
size: 0x8C000
span: *id003
mcuboot_secondary_pad:
region: flash_primary
address: 0xe1000
address: 0xE6000
size: 0x800
# Compression rate 35.10%
mcuboot_secondary_app:
region: flash_primary
address: 0xe1800
size: 0x8f800
address: 0xE6800
size: 0x8B800
factory_data:
address: 0x171000
address: 0x172000
region: flash_primary
size: 0x1000
settings_storage:
address: 0x172000
address: 0x173000
region: flash_primary
size: 0xb000
size: 0xA000

0 comments on commit 90bc8bd

Please sign in to comment.