@@ -22,12 +22,12 @@ macro(add_region)
2222 list (APPEND ${underscore_domain} region_arguments "--${REGION_NAME} -base-address;${REGION_BASE} " )
2323 list (APPEND ${underscore_domain} region_arguments
2424 "--${REGION_NAME} -placement-strategy;${REGION_PLACEMENT} " )
25- if (REGION_DEVICE)
25+ if (REGION_DEVICE)
2626 list (APPEND ${underscore_domain} region_arguments "--${REGION_NAME} -device;${REGION_DEVICE} " )
2727 list (APPEND ${underscore_domain} region_arguments
2828 "--${REGION_NAME} -default-driver-kconfig;${REGION_DEFAULT_DRIVER_KCONFIG} " )
2929 endif ()
30- if (REGION_DYNAMIC_PARTITION)
30+ if (REGION_DYNAMIC_PARTITION)
3131 list (APPEND ${underscore_domain} region_arguments
3232 "--${REGION_NAME} -dynamic-partition;${REGION_DYNAMIC_PARTITION} " )
3333 endif ()
@@ -69,13 +69,13 @@ function(partition_manager)
6969
7070 if (EXISTS "${user_def_pm_static} " AND NOT IS_DIRECTORY "${user_def_pm_static} " )
7171 set (static_configuration_file ${user_def_pm_static} )
72- elseif (EXISTS ${conf_dir_pm_static} )
72+ elseif (EXISTS ${conf_dir_pm_static} )
7373 set (static_configuration_file ${conf_dir_pm_static} )
74- elseif (EXISTS ${board_dir_pm_static} )
74+ elseif (EXISTS ${board_dir_pm_static} )
7575 set (static_configuration_file ${board_dir_pm_static} )
7676 endif ()
7777
78- if (EXISTS ${static_configuration_file} )
78+ if (EXISTS ${static_configuration_file} )
7979 message (STATUS "Found partition manager static configuration ${PM_DOMAIN} : "
8080 "${static_configuration_file} "
8181 )
@@ -138,7 +138,7 @@ function(partition_manager)
138138 )
139139 endif ()
140140
141- if (DEFINED PM_DOMAIN)
141+ if (DEFINED PM_DOMAIN)
142142 set (underscore _)
143143 else ()
144144 set (underscore)
@@ -273,7 +273,7 @@ function(partition_manager)
273273 endif ()
274274 endforeach ()
275275
276- if (DEFINED PM_DOMAIN)
276+ if (DEFINED PM_DOMAIN)
277277 set (merged_suffix _${PM_DOMAIN} )
278278 string (TOUPPER ${merged_suffix} MERGED_SUFFIX)
279279 endif ()
@@ -330,12 +330,12 @@ function(partition_manager)
330330 ${CMAKE_BINARY_DIR} /${container} .hex
331331 )
332332
333- if (DEFINED PM_DOMAIN)
333+ if (DEFINED PM_DOMAIN)
334334 get_property (image_name GLOBAL PROPERTY DOMAIN_APP_${PM_DOMAIN} )
335335 update_runner(IMAGE ${image_name} HEX ${CMAKE_BINARY_DIR} /${container} .hex)
336336 endif ()
337337
338- if ("${container} " STREQUAL "merged" )
338+ if ("${container} " STREQUAL "merged" )
339339 update_runner(IMAGE ${DEFAULT_IMAGE} HEX ${CMAKE_BINARY_DIR} /${container} .hex)
340340 endif ()
341341 endforeach ()
@@ -406,7 +406,7 @@ get_property(PM_SUBSYS_PREPROCESSED GLOBAL PROPERTY PM_SUBSYS_PREPROCESSED)
406406# have a statically defined size. There is only one dynamic partition per
407407# domain. For the "root domain" (ie the domain of the root image) this is
408408# always "app".
409- if (NOT is_dynamic_partition_in_domain)
409+ if (NOT is_dynamic_partition_in_domain)
410410 set (dynamic_partition "app" )
411411else ()
412412 set (dynamic_partition ${${DOMAIN} _PM_DOMAIN_DYNAMIC_PARTITION})
@@ -559,7 +559,7 @@ foreach(d APP ${PM_DOMAINS})
559559 sysbuild_get(${image_name} _CONFIG_FLASH_SIZE IMAGE ${image_name} VAR CONFIG_FLASH_SIZE KCONFIG)
560560 math (EXPR flash_size "${${image_name} _CONFIG_FLASH_SIZE} * 1024" OUTPUT_FORMAT HEXADECIMAL)
561561
562- if (${image_name} _CONFIG_SOC_SERIES_NRF91X OR ${image_name} _CONFIG_SOC_NRF5340_CPUAPP OR ${image_name} _CONFIG_SOC_SERIES_NRF54LX)
562+ if (${image_name} _CONFIG_SOC_SERIES_NRF91X OR ${image_name} _CONFIG_SOC_NRF5340_CPUAPP OR ${image_name} _CONFIG_SOC_SERIES_NRF54LX)
563563 add_region(
564564 NAME otp
565565 SIZE ${otp_size}
@@ -645,7 +645,7 @@ endforeach()
645645list (APPEND pm_out_partition_file ${APPLICATION_BINARY_DIR} /partitions.yml)
646646list (APPEND pm_out_region_file ${APPLICATION_BINARY_DIR} /regions.yml)
647647
648- if (is_dynamic_partition_in_domain)
648+ if (is_dynamic_partition_in_domain)
649649 # Nothing is built as child.
650650 # We have all required info available, just need to use them.
651651 # We are being built as sub image.
@@ -668,7 +668,7 @@ else()
668668 list (REMOVE_DUPLICATES PM_DOMAINS)
669669 foreach (d ${PM_DOMAINS} )
670670 # Don't include shared vars from own domain.
671- if (NOT ("${DOMAIN} " STREQUAL "${d} " ))
671+ if (NOT ("${DOMAIN} " STREQUAL "${d} " ))
672672 get_shared(shared_header_files IMAGE ${d} PROPERTY PM_DOMAIN_HEADER_FILES)
673673 get_shared(shared_prefixed_images IMAGE ${d} PROPERTY PM_DOMAIN_IMAGES)
674674 get_shared(shared_pm_out_partition_file IMAGE ${d} PROPERTY PM_DOMAIN_PARTITIONS)
0 commit comments