Skip to content
Commit 043cea12 authored by Dominik Ermel's avatar Dominik Ermel Committed by Carles Cufí
Browse files

fs/fatfs: Add CONFIG_FS_FATFS_MIN_SS



The Kconfig option allows to set minimum expected sector size
to be supported by FAT fs driver.
When this value differs from CONFIG_FS_FATFS_MAX_SS the driver
will query device for actual sector size, expecting different
sector sizes for different device. When CONFIG_FS_FATFS_MIN_SS
and CONFIG_FS_FATFS_MAX_SS are the same, then there is slight
reduction if FAT driver size, as the query logic is removed
and CONFIG_FS_FATFS_MAX_SS is used for all devices.

Signed-off-by: default avatarDominik Ermel <dominik.ermel@nordicsemi.no>
parent 43d1d913
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment