]> granicus.if.org Git - esp-idf/commit
fatfs: expose some configuration values in Kconfig
authorIvan Grokhotkov <ivan@espressif.com>
Tue, 17 Oct 2017 10:27:40 +0000 (18:27 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Tue, 17 Oct 2017 10:43:46 +0000 (18:43 +0800)
commit07c44d7f01555db0a448c8fc649e493b33fd2897
treeccb230df0ec1bbd13ce531fd08c1a248967c216c
parent90bf40587ed6335f6ea3d343c3b3a43cac3a7c53
fatfs: expose some configuration values in Kconfig

- _FS_TINY: disables per-file caches
- _FS_TIMEOUT: locking timeout for concurrent access
- _FS_LOCK: prevents operations which are not allowed on open files

Also sets _MAX_SS based on sector size configured for wear_levelling.
This reduces memory usage of FATFS if wear_levelling is using 512 byte
sectors.
components/fatfs/Kconfig
components/fatfs/src/ffconf.h