Skip to content

Commit 82180e0

Browse files
tests: fs: fat_fs_api: add support for testing SDMMC devices
Add support for testings SDMMC devices using the fat_fs_api test. Signed-off-by: Daniel DeGrasse <[email protected]>
1 parent 4b8038f commit 82180e0

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
CONFIG_FILE_SYSTEM=y
2+
CONFIG_LOG=y
3+
CONFIG_FAT_FILESYSTEM_ELM=y
4+
CONFIG_ZTEST=y
5+
CONFIG_MAIN_STACK_SIZE=4096
6+
CONFIG_ZTEST_STACK_SIZE=2048

tests/subsys/fs/fat_fs_api/testcase.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ tests:
1515
filesystem.fat.api.mmc:
1616
extra_args: CONF_FILE="prj_mmc.conf"
1717
filter: dt_compat_enabled("zephyr,mmc-disk")
18+
filesystem.fat.api.sdmmc:
19+
extra_args: CONF_FILE="prj_sdmmc.conf"
20+
filter: dt_compat_enabled("zephyr,sdmmc-disk")
1821
filesystem.fat.ram.api:
1922
platform_allow:
2023
- native_sim

0 commit comments

Comments
 (0)