Skip to content

Commit 80dc96d

Browse files
committed
samples: littlefs: add support for H3ULCB and Salvator XS M3
Add support of R-Car H3ULCB and Salvator XS M3 boards to littlefs sample. Signed-off-by: Mykola Kvach <[email protected]>
1 parent 038552b commit 80dc96d

File tree

5 files changed

+52
-0
lines changed

5 files changed

+52
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Copyright (c) 2023 EPAM Systems
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
CONFIG_MAIN_STACK_SIZE=4096
7+
CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=8192
8+
CONFIG_FS_LITTLEFS_FC_HEAP_SIZE=8192
9+
10+
CONFIG_DISK_ACCESS=y
11+
CONFIG_DISK_DRIVERS=y
12+
CONFIG_DISK_DRIVER_MMC=y
13+
14+
CONFIG_FS_LITTLEFS_BLK_DEV=y
15+
CONFIG_APP_LITTLEFS_STORAGE_BLK_SDMMC=y
16+
17+
CONFIG_FS_LITTLEFS_FMP_DEV=n
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/* SPDX-License-Identifier: Apache-2.0 */
2+
3+
&emmc2 {
4+
disk {
5+
status = "okay";
6+
};
7+
status = "okay";
8+
};
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Copyright (c) 2023 EPAM Systems
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
CONFIG_MAIN_STACK_SIZE=4096
7+
CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=8192
8+
CONFIG_FS_LITTLEFS_FC_HEAP_SIZE=8192
9+
10+
CONFIG_DISK_ACCESS=y
11+
CONFIG_DISK_DRIVERS=y
12+
CONFIG_DISK_DRIVER_MMC=y
13+
14+
CONFIG_FS_LITTLEFS_BLK_DEV=y
15+
CONFIG_APP_LITTLEFS_STORAGE_BLK_SDMMC=y
16+
17+
CONFIG_FS_LITTLEFS_FMP_DEV=n
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/* SPDX-License-Identifier: Apache-2.0 */
2+
3+
&emmc2 {
4+
disk {
5+
status = "okay";
6+
};
7+
status = "okay";
8+
};

samples/subsys/fs/littlefs/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ tests:
2020
- mimxrt1160_evk/mimxrt1166/cm7
2121
- lpcxpresso55s69/lpc55s69/cpu0
2222
- mr_canhubk3
23+
- rcar_h3ulcb/r8a77951/a57
24+
- rcar_salvator_xs
2325
- stm32f429i_disc1
2426
- stm32f746g_disco
2527
- stm32h747i_disco/stm32h747xx/m7

0 commit comments

Comments
 (0)