Skip to content

Commit 7b50f60

Browse files
gmarulljukkar
authored andcommitted
[nrf noup] samples: sysbuild: hello_world: support PM on nRF53
PM support is still required for nRF53/nRF54l15 in the context of NCS. Signed-off-by: Gerard Marull-Paretas <[email protected]> (cherry picked from commit 470fcc9)
1 parent 6a85038 commit 7b50f60

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

samples/sysbuild/hello_world/sysbuild.cmake

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,17 @@ ExternalZephyrProject_Add(
1111
BOARD ${SB_CONFIG_REMOTE_BOARD}
1212
)
1313

14+
if(SB_CONFIG_SOC_SERIES_NRF53X)
15+
set_property(GLOBAL APPEND PROPERTY PM_DOMAINS CPUNET)
16+
set_property(GLOBAL APPEND PROPERTY PM_CPUNET_IMAGES remote)
17+
set_property(GLOBAL PROPERTY DOMAIN_APP_CPUNET remote)
18+
set(CPUNET_PM_DOMAIN_DYNAMIC_PARTITION remote CACHE INTERNAL "")
19+
else(SB_CONFIG_SOC_SERIES_NRF54LX)
20+
set_property(GLOBAL APPEND PROPERTY PM_DOMAINS CPUFLPR)
21+
set_property(GLOBAL APPEND PROPERTY PM_CPUFLPR_IMAGES remote)
22+
set_property(GLOBAL PROPERTY DOMAIN_APP_CPUFLPR remote)
23+
set(CPUFLPR_PM_DOMAIN_DYNAMIC_PARTITION remote CACHE INTERNAL "")
24+
endif()
25+
1426
add_dependencies(${DEFAULT_IMAGE} remote)
1527
sysbuild_add_dependencies(FLASH ${DEFAULT_IMAGE} remote)

0 commit comments

Comments
 (0)