Skip to content

Commit 696dfe2

Browse files
committed
cmake: sysbuild: sign: Fix skip size for nRF5340 network core
Fixes an issue with network core images for nRF5340 where there is nothing to skip since the MCUboot header is applied externally after the build by sysbuild Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
1 parent 156f388 commit 696dfe2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cmake/sysbuild/sign.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ function(b0_sign_image slot cpunet_target)
104104
set(skip_size 0)
105105
elseif(NOT SB_CONFIG_BOOTLOADER_MCUBOOT)
106106
set(skip_size 0)
107+
elseif(cpunet_target)
108+
set(skip_size 0)
107109
else()
108110
sysbuild_get(build_with_tfm IMAGE ${DEFAULT_IMAGE} VAR CONFIG_BUILD_WITH_TFM KCONFIG)
109111
if(build_with_tfm)

0 commit comments

Comments
 (0)