:orphan: .. title:: CONFIG_FS_FATFS_MAX_LFN .. kconfig:: CONFIG_FS_FATFS_MAX_LFN CONFIG_FS_FATFS_MAX_LFN ####################### *Max filename length* Type: ``int`` Help ==== .. code-block:: none The working buffer occupies (FS_FATFS_MAX_LFN + 1) * 2 bytes and additional 608 bytes at exFAT enabled. It should be set 255 to support full featured LFN operations. Direct dependencies =================== \ :kconfig:`FS_FATFS_LFN ` && \ :kconfig:`FAT_FILESYSTEM_ELM ` && \ :kconfig:`FILE_SYSTEM ` *(Includes any dependencies from ifs and menus.)* Default ======= - 255 Kconfig definition ================== At ``/fs/Kconfig.fatfs:89`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:25`` → ``/fs/Kconfig:60`` Menu path: (Top) → Sub Systems and OS Services → File Systems → File system support → ELM FAT file system support → ELM FAT file system settings → Enable long filenames (LFN) .. code-block:: kconfig config FS_FATFS_MAX_LFN int "Max filename length" if FAT_FILESYSTEM_ELM range 12 255 default 255 depends on FS_FATFS_LFN && FAT_FILESYSTEM_ELM && FILE_SYSTEM help The working buffer occupies (FS_FATFS_MAX_LFN + 1) * 2 bytes and additional 608 bytes at exFAT enabled. It should be set 255 to support full featured LFN operations. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*