diff --git a/tests/boot/mcuboot_data_sharing/src/main.c b/tests/boot/mcuboot_data_sharing/src/main.c index f26da710fa1..66db1eebac5 100644 --- a/tests/boot/mcuboot_data_sharing/src/main.c +++ b/tests/boot/mcuboot_data_sharing/src/main.c @@ -16,7 +16,7 @@ #define FLASH_SECTOR_SIZE 1024 #define FLASH_SECTOR_SIZE_KB 4 #define FLASH_MAX_APP_SECTORS 34 -#define FLASH_RESERVED_SECTORS 1 +#define FLASH_RESERVED_SECTORS 2 #define FLASH_MAX_APP_SIZE ((FLASH_MAX_APP_SECTORS - FLASH_RESERVED_SECTORS) \ * FLASH_SECTOR_SIZE_KB) #define RUNNING_SLOT 0 diff --git a/tests/boot/mcuboot_data_sharing/sysbuild/mcuboot/prj.conf b/tests/boot/mcuboot_data_sharing/sysbuild/mcuboot/prj.conf index 102bd1bc1bf..c9435c47cd9 100644 --- a/tests/boot/mcuboot_data_sharing/sysbuild/mcuboot/prj.conf +++ b/tests/boot/mcuboot_data_sharing/sysbuild/mcuboot/prj.conf @@ -5,3 +5,4 @@ CONFIG_BOOT_SHARE_DATA_BOOTINFO=y CONFIG_BOOT_SHARE_BACKEND_RETENTION=y CONFIG_FLASH=y CONFIG_FLASH_MAP=y +CONFIG_BOOT_MAX_IMG_SECTORS_AUTO=n