diff --git a/samples/subsys/fs/littlefs/boards/rcar_h3ulcb_r8a77951_a57.conf b/samples/subsys/fs/littlefs/boards/rcar_h3ulcb_r8a77951_a57.conf new file mode 100644 index 00000000000..f2dffe4fe09 --- /dev/null +++ b/samples/subsys/fs/littlefs/boards/rcar_h3ulcb_r8a77951_a57.conf @@ -0,0 +1,17 @@ +# +# Copyright (c) 2023 EPAM Systems +# +# SPDX-License-Identifier: Apache-2.0 +# +CONFIG_MAIN_STACK_SIZE=4096 +CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=8192 +CONFIG_FS_LITTLEFS_FC_HEAP_SIZE=8192 + +CONFIG_DISK_ACCESS=y +CONFIG_DISK_DRIVERS=y +CONFIG_DISK_DRIVER_MMC=y + +CONFIG_FS_LITTLEFS_BLK_DEV=y +CONFIG_APP_LITTLEFS_STORAGE_BLK_SDMMC=y + +CONFIG_FS_LITTLEFS_FMP_DEV=n diff --git a/samples/subsys/fs/littlefs/boards/rcar_h3ulcb_r8a77951_a57.overlay b/samples/subsys/fs/littlefs/boards/rcar_h3ulcb_r8a77951_a57.overlay new file mode 100644 index 00000000000..9442e02b45f --- /dev/null +++ b/samples/subsys/fs/littlefs/boards/rcar_h3ulcb_r8a77951_a57.overlay @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + +&emmc2 { + disk { + status = "okay"; + }; + status = "okay"; +}; diff --git a/samples/subsys/fs/littlefs/boards/rcar_salvator_xs.conf b/samples/subsys/fs/littlefs/boards/rcar_salvator_xs.conf new file mode 100644 index 00000000000..f2dffe4fe09 --- /dev/null +++ b/samples/subsys/fs/littlefs/boards/rcar_salvator_xs.conf @@ -0,0 +1,17 @@ +# +# Copyright (c) 2023 EPAM Systems +# +# SPDX-License-Identifier: Apache-2.0 +# +CONFIG_MAIN_STACK_SIZE=4096 +CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=8192 +CONFIG_FS_LITTLEFS_FC_HEAP_SIZE=8192 + +CONFIG_DISK_ACCESS=y +CONFIG_DISK_DRIVERS=y +CONFIG_DISK_DRIVER_MMC=y + +CONFIG_FS_LITTLEFS_BLK_DEV=y +CONFIG_APP_LITTLEFS_STORAGE_BLK_SDMMC=y + +CONFIG_FS_LITTLEFS_FMP_DEV=n diff --git a/samples/subsys/fs/littlefs/boards/rcar_salvator_xs.overlay b/samples/subsys/fs/littlefs/boards/rcar_salvator_xs.overlay new file mode 100644 index 00000000000..9442e02b45f --- /dev/null +++ b/samples/subsys/fs/littlefs/boards/rcar_salvator_xs.overlay @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: Apache-2.0 */ + +&emmc2 { + disk { + status = "okay"; + }; + status = "okay"; +}; diff --git a/samples/subsys/fs/littlefs/sample.yaml b/samples/subsys/fs/littlefs/sample.yaml index b78a070f1c9..89ffe9f16ae 100644 --- a/samples/subsys/fs/littlefs/sample.yaml +++ b/samples/subsys/fs/littlefs/sample.yaml @@ -20,6 +20,8 @@ tests: - mimxrt1160_evk/mimxrt1166/cm7 - lpcxpresso55s69/lpc55s69/cpu0 - mr_canhubk3 + - rcar_h3ulcb/r8a77951/a57 + - rcar_salvator_xs - stm32f429i_disc1 - stm32f746g_disco - stm32h747i_disco/stm32h747xx/m7