From e801f1a9ad6ae0d60362ec0f576ce130659360ee Mon Sep 17 00:00:00 2001 From: Dominik Ermel Date: Mon, 3 Jun 2024 08:14:57 +0200 Subject: [PATCH] tests/fs/littlefs: Fix mimxrt1060_evk QSPI overlay Changes to contents of boards directory for the board cause duplicate definitions when combined with test overlay; the commit removes duplicate partitions from overlay in test. Signed-off-by: Dominik Ermel --- .../fs/littlefs/boards/mimxrt1060_evk.overlay | 26 ++++++++----------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/tests/subsys/fs/littlefs/boards/mimxrt1060_evk.overlay b/tests/subsys/fs/littlefs/boards/mimxrt1060_evk.overlay index 4fe92fe6431..2d1c660d5f1 100644 --- a/tests/subsys/fs/littlefs/boards/mimxrt1060_evk.overlay +++ b/tests/subsys/fs/littlefs/boards/mimxrt1060_evk.overlay @@ -12,27 +12,23 @@ boot_partition: partition@0 { label = "mcuboot"; - reg = <0x00000000 DT_SIZE_K(64)>; + reg = <0x00000000 DT_SIZE_K(128)>; }; - slot0_partition: partition@10000 { + slot0_partition: partition@20000 { label = "image-0"; - reg = <0x00010000 DT_SIZE_M(3)>; + reg = <0x00020000 (DT_SIZE_M(3) + DT_SIZE_K(8))>; }; - large_partition: partition@310000 { + large_partition: partition@322000 { label = "large"; - reg = <0x00310000 DT_SIZE_M(3)>; + reg = <0x00322000 DT_SIZE_M(3)>; }; - scratch_partition: partition@610000 { - label = "image-scratch"; - reg = <0x00610000 DT_SIZE_K(128)>; - }; - small_partition: partition@630000 { - label = "small"; - reg = <0x00630000 DT_SIZE_K(64)>; - }; - medium_partition: partition@640000 { + medium_partition: partition@622000 { label = "medium"; - reg = <0x00640000 DT_SIZE_K(960)>; + reg = <0x00622000 DT_SIZE_K(960)>; + }; + small_partition: partition@712000 { + label = "small"; + reg = <0x00712000 DT_SIZE_K(64)>; }; }; };