Skip to content

Commit

Permalink
tests: disk: Add overlay to support tests/samples on RA8
Browse files Browse the repository at this point in the history
Support sdhc tests/samples on Renesas RA8 boards

Signed-off-by: Tran Van Quy <[email protected]>
  • Loading branch information
quytranpzz committed Nov 25, 2024
1 parent 6217807 commit bcdb3a1
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 bcdb3a1

Please sign in to comment.