Skip to content

Commit ceb7c0b

Browse files
committed
partition_manager: Fix RAM size for vpr_launcher
Fix size of RAM avaiable to vpr_launcher (cpuapp). Hardcoded value of 0x28000 is correct for nRF54L15 only. Hardcode values for: - nRF54L09, - nRF54LV10A, - nRF54L20, - nRF54LM20A, - nRF7120. Signed-off-by: Sebastian Głąb <[email protected]>
1 parent e914cbf commit ceb7c0b

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

subsys/partition_manager/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,18 @@ config PM_PARTITION_SIZE_VPR_LAUNCHER
123123
Must match the size of the cpuapp_rram/cpuapp_mram partition which is deleted.
124124
This to place the flpr app's code at the address found in the devicetree.
125125

126+
config PM_RAM_SIZE_VPR_LAUNCHER
127+
hex
128+
depends on SOC_NRF54L15_CPUFLPR || SOC_NRF54L09_ENGA_CPUFLPR || SOC_NRF54LV10A_ENGA_CPUFLPR || SOC_NRF54L20_ENGA_CPUFLPR || SOC_NRF54LM20A_ENGA_CPUFLPR || SOC_NRF7120_ENGA_CPUFLPR
129+
default 0x28000 if SOC_NRF54L15_CPUFLPR || SOC_NRF7120_ENGA_CPUFLPR
130+
default 0x23c00 if SOC_NRF54L09_ENGA_CPUFLPR
131+
default 0x1fc00 if SOC_NRF54LV10A_ENGA_CPUFLPR
132+
default 0x6fc00 if SOC_NRF54L20_ENGA_CPUFLPR
133+
default 0x67c00 if SOC_NRF54LM20A_ENGA_CPUFLPR
134+
help
135+
Size of RAM available for the vpr_launcher application (usually run on cpuapp).
136+
Must match the size of the cpuapp_sram node.
137+
126138
if WIFI_NRF70 && NRF_WIFI_PATCHES_EXT_FLASH_STORE
127139

128140
partition=NRF70_WIFI_FW

subsys/partition_manager/pm.yml.vpr_launcher

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ vpr_launcher:
77
vpr_launcher_sram:
88
region: sram_primary
99
placement: {before: app}
10-
size: 0x28000
10+
size: CONFIG_PM_RAM_SIZE_VPR_LAUNCHER

0 commit comments

Comments
 (0)