zephyr/tests/subsys/fs/fat_fs_api/testcase.yaml
Johann Fischer f67dd39bb2 drivers: ramdisk: use devicetree to instantiate RAM disk
Rework RAM disk driver to be configured using devicetree and
support multiple instances.

This patch also removes a copy of the RAM disk driver,
tests/subsys/fs/fat_fs_dual_drive/src/disk_access_test_drv.c,
that was there for testing multiple disk drivers support.

Bonus: one SYS_INIT() less and a memory region can be exported to the
host.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2023-09-18 17:36:50 +02:00

26 lines
668 B
YAML

common:
tags:
- filesystem
- fatfs
modules:
- fatfs
tests:
filesystem.fat.api:
platform_allow: native_posix
filesystem.fat.api.lfn:
extra_args: CONF_FILE="prj_lfn.conf"
platform_allow: native_posix
filesystem.fat.api.mmc:
extra_args: CONF_FILE="prj_mmc.conf"
filter: dt_compat_enabled("zephyr,mmc-disk")
filesystem.fat.ram.api:
platform_allow: native_posix
extra_args:
- CONF_FILE="prj_native_posix_ram.conf"
- EXTRA_DTC_OVERLAY_FILE="ramdisk.overlay"
filesystem.fat.api.reentrant:
platform_allow: native_posix
extra_configs:
- CONFIG_FS_FATFS_REENTRANT=y
- CONFIG_MULTITHREADING=y