Skip to content

Commit

Permalink
tests: subsys: fs: Support tests/subsys/fs on RA8 boards
Browse files Browse the repository at this point in the history
Add overlay property node and configs to support tests/subsys/fs/ext2,
tests/fs/fat_fs_api and tests/subsys/sd on RA8 boards

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
  • Loading branch information
quytranpzz authored and kartben committed Dec 25, 2024
1 parent 8e48fa1 commit d740201
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/subsys/fs/ext2/boards/ek_ra8d1.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* Copyright (c) 2024 Renesas Electronics Corporation
* SPDX-License-Identifier: Apache-2.0
*/

&sdhc1 {
sdmmc {
partition {
compatible = "fixed-partitions";
#address-cells = <1>;
#size_cells = <1>;
slot1_partition: partition@0 {
reg = <0x00000000 0x800000>;
};
};
};
};
17 changes: 17 additions & 0 deletions tests/subsys/fs/ext2/boards/ek_ra8m1.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* Copyright (c) 2024 Renesas Electronics Corporation
* SPDX-License-Identifier: Apache-2.0
*/

&sdhc0 {
sdmmc {
partition {
compatible = "fixed-partitions";
#address-cells = <1>;
#size_cells = <1>;
slot1_partition: partition@0 {
reg = <0x00000000 0x800000>;
};
};
};
};
17 changes: 17 additions & 0 deletions tests/subsys/fs/ext2/boards/mck_ra8t1.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* Copyright (c) 2024 Renesas Electronics Corporation
* SPDX-License-Identifier: Apache-2.0
*/

&sdhc0 {
sdmmc {
partition {
compatible = "fixed-partitions";
#address-cells = <1>;
#size_cells = <1>;
slot1_partition: partition@0 {
reg = <0x00000000 0x800000>;
};
};
};
};
4 changes: 4 additions & 0 deletions tests/subsys/fs/fat_fs_api/boards/ek_ra8d1.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CONFIG_MAIN_STACK_SIZE=4096
CONFIG_DISK_DRIVER_RAM=n
CONFIG_DISK_DRIVER_FLASH=n
CONFIG_FS_FATFS_HAS_RTC=n
4 changes: 4 additions & 0 deletions tests/subsys/fs/fat_fs_api/boards/ek_ra8m1.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CONFIG_MAIN_STACK_SIZE=4096
CONFIG_DISK_DRIVER_RAM=n
CONFIG_DISK_DRIVER_FLASH=n
CONFIG_FS_FATFS_HAS_RTC=n
4 changes: 4 additions & 0 deletions tests/subsys/fs/fat_fs_api/boards/mck_ra8t1.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CONFIG_MAIN_STACK_SIZE=4096
CONFIG_DISK_DRIVER_RAM=n
CONFIG_DISK_DRIVER_FLASH=n
CONFIG_FS_FATFS_HAS_RTC=n

0 comments on commit d740201

Please sign in to comment.