zephyr/tests/subsys/fs
Peter A. Bigot 167eb53e74 subsys/fs/littlefs: allow customization of file system configuration
There's desire to be able to customize parameters on a per-filesystem
basis, which means we need a way to override the Kconfig defaults which
are global.  This also means the littlefs data structure cannot own the
cache and lookahead buffers.

Switch to using a macro to define the littlefs data structure.  The
default version uses the Kconfig constants.  A custom one takes
arguments providing the most likely partition-specific parameters.
Finally the user is free to bypass the helper macros and set any
parameters desired, though validation is limited and only present when
CONFIG_DEBUG is enabled.

Extend the test suite with a performance module, which confirms that
these settings have an impact proportional to the log of changes to the
cache or IO sizes.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2019-08-06 19:39:26 +02:00
..
fat_fs_api boards: remove arduino 101 and related boards 2019-07-29 21:30:25 -07:00
fat_fs_dual_drive cleanup: include/: move misc/__assert.h to sys/__assert.h 2019-06-27 22:55:49 -04:00
fcb tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
littlefs subsys/fs/littlefs: allow customization of file system configuration 2019-08-06 19:39:26 +02:00
multi-fs cleanup: include/: move flash.h to drivers/flash.h 2019-06-27 22:55:49 -04:00
nffs_fs_api cleanup: include/: move flash.h to drivers/flash.h 2019-06-27 22:55:49 -04:00
nvs cleanup: include/: move flash.h to drivers/flash.h 2019-06-27 22:55:49 -04:00