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>
13 lines
220 B
Plaintext
13 lines
220 B
Plaintext
CONFIG_FILE_SYSTEM=y
|
|
CONFIG_FILE_SYSTEM_EXT2=y
|
|
CONFIG_FILE_SYSTEM_MKFS=y
|
|
|
|
CONFIG_DISK_ACCESS=y
|
|
CONFIG_DISK_DRIVER_RAM=y
|
|
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
|
|
CONFIG_ZTEST=y
|
|
CONFIG_ZTEST_NEW_API=y
|
|
CONFIG_ZTEST_STACK_SIZE=4096
|