Skip to content

Commit 4da330e

Browse files
adamkondraciukrlubos
authored andcommitted
partition_manager: Add support for nRF54L09 Enga cpuflpr
Set default values for `CONFIG_SOC_NRF54L09_ENGA_FPUFLPR` Signed-off-by: Adam Kondraciuk <[email protected]>
1 parent d1c280d commit 4da330e

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

Kconfig.nrf

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,19 +106,21 @@ config NORDIC_QSPI_NOR_FLASH_LAYOUT_PAGE_SIZE
106106
config GETOPT
107107
default n
108108

109-
# Temporary hack to be able to build samples and tests on the nRF51L15/nRF54L20 Eng A/nRF7120 FLPR core
109+
# Temporary hack to be able to build samples and tests on the nRF51L15/nRF54L09 Eng A/nRF54L20 Eng A/nRF7120 FLPR core
110110
config FLASH_BASE_ADDRESS
111111
hex
112112
depends on PARTITION_MANAGER_ENABLED
113-
depends on SOC_NRF54L15_CPUFLPR || SOC_NRF54L20_ENGA_CPUFLPR || SOC_NRF7120_ENGA_CPUFLPR
114-
default 0x0 if SOC_NRF54L15_CPUFLPR || SOC_NRF54L20_ENGA_CPUFLPR
113+
depends on SOC_NRF54L15_CPUFLPR || SOC_NRF54L09_ENGA_CPUFLPR || SOC_NRF54L20_ENGA_CPUFLPR || SOC_NRF7120_ENGA_CPUFLPR
114+
default 0x0 if SOC_NRF54L15_CPUFLPR || SOC_NRF54L09_ENGA_CPUFLPR || SOC_NRF54L20_ENGA_CPUFLPR
115115
default 0x2C0000 if SOC_NRF7120_ENGA_CPUFLPR
116116

117117
config FLASH_SIZE
118118
int
119119
depends on PARTITION_MANAGER_ENABLED
120-
depends on SOC_NRF54L15_CPUFLPR || SOC_NRF54L20_ENGA_CPUFLPR || SOC_NRF7120_ENGA_CPUFLPR
121-
default 1524 if SOC_NRF54L15_CPUFLPR || SOC_NRF54L20_ENGA_CPUFLPR
120+
depends on SOC_NRF54L15_CPUFLPR || SOC_NRF54L09_ENGA_CPUFLPR || SOC_NRF54L20_ENGA_CPUFLPR || SOC_NRF7120_ENGA_CPUFLPR
121+
default 1012 if SOC_NRF54L09_ENGA_CPUFLPR
122+
default 1524 if SOC_NRF54L15_CPUFLPR
123+
default 2036 if SOC_NRF54L20_ENGA_CPUFLPR
122124
default 128 if SOC_NRF7120_ENGA_CPUFLPR
123125

124126
config NRF_SECURITY_ENABLER

subsys/partition_manager/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ if (CONFIG_NRF_MODEM_LIB_TRACE_BACKEND_FLASH)
127127
ncs_add_partition_manager_config(pm.yml.modem_trace)
128128
endif()
129129

130-
if (CONFIG_SOC_NRF54L15_CPUFLPR OR CONFIG_SOC_NRF54L20_ENGA_CPUFLPR OR CONFIG_SOC_NRF7120_ENGA_CPUFLPR)
130+
if (CONFIG_SOC_NRF54L15_CPUFLPR OR CONFIG_SOC_NRF54L09_ENGA_CPUFLPR OR CONFIG_SOC_NRF54L20_ENGA_CPUFLPR OR CONFIG_SOC_NRF7120_ENGA_CPUFLPR)
131131
ncs_add_partition_manager_config(pm.yml.vpr_launcher)
132132
endif()
133133

subsys/partition_manager/Kconfig

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,10 @@ endif
130130

131131
config PM_PARTITION_SIZE_VPR_LAUNCHER
132132
hex
133-
depends on SOC_NRF54L15_CPUFLPR || SOC_NRF54L20_ENGA_CPUFLPR || SOC_NRF7120_ENGA_CPUFLPR
133+
depends on SOC_NRF54L15_CPUFLPR || SOC_NRF54L09_ENGA_CPUFLPR || SOC_NRF54L20_ENGA_CPUFLPR || SOC_NRF7120_ENGA_CPUFLPR
134134
default $(dt_node_reg_addr_hex,/soc/rram-controller@5004b000/rram@165000) if SOC_NRF54L15_CPUFLPR
135135
default $(dt_node_reg_addr_hex,/soc/rram-controller@5004e000/rram@1ed000) if SOC_NRF54L20_ENGA_CPUFLPR
136+
default $(dt_node_reg_addr_hex,/soc/rram-controller@5004e000/rram@ee000) if SOC_NRF54L09_ENGA_CPUFLPR
136137
default $(dt_node_reg_addr_hex,/soc/mram@3e1000) if SOC_NRF7120_ENGA_CPUFLPR
137138
help
138139
Memory set aside for the vpr_launcher partition.
@@ -211,16 +212,15 @@ config PM_OVERRIDE_EXTERNAL_DRIVER_CHECK
211212
config PM_SRAM_BASE
212213
hex
213214
default $(dt_node_reg_addr_hex,/soc/memory@21000000) if SOC_NRF5340_CPUNET
214-
default 0x20000000 if SOC_NRF54L15_CPUFLPR # Because the cpuapp_sram DT node is deleted in nrf54l15_cpuflpr.dtsi
215-
default 0x20000000 if SOC_NRF54L20_ENGA_CPUFLPR # Because the cpuapp_sram DT node is deleted in nrf54l20_enga_cpuflpr.dtsi
216-
default 0x20000000 if SOC_NRF7120_ENGA_CPUFLPR # Because the cpuapp_sram DT node is deleted in nrf7120_enga_cpuflpr.dtsi
215+
default 0x20000000 if SOC_NRF54L15_CPUFLPR || SOC_NRF54L09_ENGA_CPUFLPR || SOC_NRF54L20_ENGA_CPUFLPR || SOC_NRF7120_ENGA_CPUFLPR
217216
default $(dt_node_reg_addr_hex,/soc/memory@20000000)
218217

219218
config PM_SRAM_SIZE
220219
hex
221220
default $(dt_node_reg_size_hex,/soc/memory@21000000) if SOC_NRF5340_CPUNET
221+
default 0x2fc00 if SOC_NRF54L09_ENGA_CPUFLPR # Because the cpuapp_rram DT node is deleted in nrf54l09_enga_cpuflpr.dtsi
222222
default 0x40000 if SOC_NRF54L15_CPUFLPR # Because the cpuapp_rram DT node is deleted in nrf54l15_cpuflpr.dtsi
223-
default 0x40000 if SOC_NRF54L20_ENGA_CPUFLPR # Because the cpuapp_rram DT node is deleted in nrf54l20_enga_cpuflpr.dtsi
223+
default 0x7fc00 if SOC_NRF54L20_ENGA_CPUFLPR # Because the cpuapp_rram DT node is deleted in nrf54l20_enga_cpuflpr.dtsi
224224
default 0x40000 if SOC_NRF7120_ENGA_CPUFLPR # Because the cpuapp_mram DT node is deleted in nrf7120_enga_cpuflpr.dtsi
225225
default $(dt_node_reg_size_hex,/soc/memory@20000000)
226226

0 commit comments

Comments
 (0)