-
Notifications
You must be signed in to change notification settings - Fork 1.4k
subsys: partition_manager: Fix RAM size for vpr_launcher #23026
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -123,6 +123,18 @@ config PM_PARTITION_SIZE_VPR_LAUNCHER | |
Must match the size of the cpuapp_rram/cpuapp_mram partition which is deleted. | ||
This to place the flpr app's code at the address found in the devicetree. | ||
|
||
config PM_RAM_SIZE_VPR_LAUNCHER | ||
hex | ||
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 | ||
default 0x28000 if SOC_NRF54L15_CPUFLPR || SOC_NRF7120_ENGA_CPUFLPR | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Those values are redundant, already in DT. I was wondering if you could use something like:
We are in flpr Kconfig so There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it's already in upstream: zephyrproject-rtos/zephyr#91552 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Currently, I get build error.
Let's use hardcoded values for now and improve it later. |
||
default 0x23c00 if SOC_NRF54L09_ENGA_CPUFLPR | ||
|
||
default 0x1fc00 if SOC_NRF54LV10A_ENGA_CPUFLPR | ||
|
||
default 0x6fc00 if SOC_NRF54L20_ENGA_CPUFLPR | ||
|
||
default 0x67c00 if SOC_NRF54LM20A_ENGA_CPUFLPR | ||
|
||
help | ||
Size of RAM available for the vpr_launcher application (usually run on cpuapp). | ||
Must match the size of the cpuapp_sram node. | ||
|
||
if WIFI_NRF70 && NRF_WIFI_PATCHES_EXT_FLASH_STORE | ||
|
||
partition=NRF70_WIFI_FW | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0x28000 for L15 is set here https://github.com/nrfconnect/sdk-zephyr/blob/main/snippets/nordic-flpr/soc/nrf54l15_cpuapp.overlay#L17
I don't know what is the correct value for nRF7120.