From 17945358e8fd6d7f31adec1f80bdfcc50c338e8f Mon Sep 17 00:00:00 2001 From: "Peter A. Bigot" Date: Sun, 27 Oct 2019 06:38:40 -0500 Subject: [PATCH] tests/subsys/fs/littlefs: correct flash partition unit address Unit addresses for partitions should correspond to the start address. Signed-off-by: Peter A. Bigot --- tests/subsys/fs/littlefs/boards/native_posix.overlay | 4 ++-- tests/subsys/fs/littlefs/boards/native_posix_64.overlay | 4 ++-- tests/subsys/fs/littlefs/boards/nrf52840_pca10056.overlay | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/subsys/fs/littlefs/boards/native_posix.overlay b/tests/subsys/fs/littlefs/boards/native_posix.overlay index aadb05e6e25..92b8f2df6c4 100644 --- a/tests/subsys/fs/littlefs/boards/native_posix.overlay +++ b/tests/subsys/fs/littlefs/boards/native_posix.overlay @@ -19,11 +19,11 @@ label = "small"; reg = <0x00000000 0x00010000>; }; - partition@200000 { + partition@10000 { label = "medium"; reg = <0x00010000 0x000F0000>; }; - partition@220000 { + partition@100000 { label = "large"; reg = <0x00100000 0x00300000>; }; diff --git a/tests/subsys/fs/littlefs/boards/native_posix_64.overlay b/tests/subsys/fs/littlefs/boards/native_posix_64.overlay index aadb05e6e25..92b8f2df6c4 100644 --- a/tests/subsys/fs/littlefs/boards/native_posix_64.overlay +++ b/tests/subsys/fs/littlefs/boards/native_posix_64.overlay @@ -19,11 +19,11 @@ label = "small"; reg = <0x00000000 0x00010000>; }; - partition@200000 { + partition@10000 { label = "medium"; reg = <0x00010000 0x000F0000>; }; - partition@220000 { + partition@100000 { label = "large"; reg = <0x00100000 0x00300000>; }; diff --git a/tests/subsys/fs/littlefs/boards/nrf52840_pca10056.overlay b/tests/subsys/fs/littlefs/boards/nrf52840_pca10056.overlay index f469fde7de9..f571973f3c7 100644 --- a/tests/subsys/fs/littlefs/boards/nrf52840_pca10056.overlay +++ b/tests/subsys/fs/littlefs/boards/nrf52840_pca10056.overlay @@ -14,11 +14,11 @@ label = "small"; reg = <0x00000000 0x00010000>; }; - partition@200000 { + partition@10000 { label = "medium"; reg = <0x00010000 0x000F0000>; }; - partition@220000 { + partition@100000 { label = "large"; reg = <0x00100000 0x00300000>; };