Skip to content

Commit

Permalink
partition_manager: Support building images for nRF7120_cpuflpr
Browse files Browse the repository at this point in the history
Add case for cpuflpr_sram in PM_SRAM_(BASE|SIZE). This is needed because
the dts files for cpuflpr deletes the cpuapp_sram and cpuapp_mram nodes.

Signed-off-by: Robert Robinson <[email protected]>
  • Loading branch information
rob-robinson-14 committed Feb 7, 2025
1 parent c33c2ae commit aa5d1a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions subsys/partition_manager/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -222,12 +222,14 @@ config PM_SRAM_BASE
hex
default $(dt_node_reg_addr_hex,/soc/memory@21000000) if SOC_NRF5340_CPUNET
default 0x20000000 if SOC_NRF54L15_CPUFLPR # Because the cpuapp_sram DT node is deleted in nrf54l15_cpuflpr.dtsi
default 0x20000000 if SOC_NRF7120_ENGA_CPUFLPR # Because the cpuapp_sram DT node is deleted in nrf7120_enga_cpuflpr.dtsi
default $(dt_node_reg_addr_hex,/soc/memory@20000000)

config PM_SRAM_SIZE
hex
default $(dt_node_reg_size_hex,/soc/memory@21000000) if SOC_NRF5340_CPUNET
default 0x40000 if SOC_NRF54L15_CPUFLPR # Because the cpuapp_rram DT node is deleted in nrf54l15_cpuflpr.dtsi
default 0x100000 if SOC_NRF7120_ENGA_CPUFLPR # Because the cpuapp_mram DT node is deleted in nrf7120_enga_cpuflpr.dtsi
default $(dt_node_reg_size_hex,/soc/memory@20000000)

config PM_USE_CONFIG_SRAM_SIZE
Expand Down

0 comments on commit aa5d1a2

Please sign in to comment.