Skip to content

Commit 68977fa

Browse files
butokkartben
authored andcommitted
tests: flash_map: Increase the maximum number of supported sectors
Fix test_flash_area_get_sectors test for platforms with maximum number of sectors per image slot > 1024. Increase the support value to 2048. Signed-off-by: Andrej Butok <[email protected]>
1 parent e88499c commit 68977fa

File tree

1 file changed

+1
-1
lines changed
  • tests/subsys/storage/flash_map/src

1 file changed

+1
-1
lines changed

tests/subsys/storage/flash_map/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#define SLOT1_PARTITION_OFFSET FIXED_PARTITION_OFFSET(SLOT1_PARTITION)
1919

2020
extern int flash_map_entries;
21-
struct flash_sector fs_sectors[1024];
21+
struct flash_sector fs_sectors[2048];
2222

2323
ZTEST(flash_map, test_flash_area_disabled_device)
2424
{

0 commit comments

Comments
 (0)