zephyr/samples
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
..
application_development
basic
bluetooth Bluetooth: Host: Print error codes in hex 2019-08-05 12:18:17 +02:00
boards Bluetooth: Host: Print error codes in hex 2019-08-05 12:18:17 +02:00
cpp_synchronization
display
drivers samples: Counter alarm should display seconds, not ticks 2019-08-05 13:27:36 +02:00
gui
hello_world
mpu
net samples: net: Modify mqtt_publisher to use set proxy 2019-08-05 13:26:11 +03:00
nfc/nfc_hello
philosophers
portability
sensor
shields
subsys subsys/fs/littlefs: allow customization of file system configuration 2019-08-06 19:39:26 +02:00
synchronization
testing/integration
userspace
xtensa_asm2
classic.rst
index.rst