:orphan: .. title:: FS_FATFS_MAX_LFN .. option:: CONFIG_FS_FATFS_MAX_LFN *Max filename length* Type: ``int`` 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. Direct dependencies =================== \ :option:`FS_FATFS_LFN ` && \ :option:`FAT_FILESYSTEM_ELM ` && \ :option:`FILE_SYSTEM ` *(Includes any dependencies from ifs and menus.)* Default ======= - 255 Kconfig definition ================== .. highlight:: kconfig At ``subsys/fs/Kconfig.fatfs:89`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``subsys/Kconfig:25`` → ``subsys/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) .. parsed-literal:: config FS_FATFS_MAX_LFN int "Max filename length" if \ :option:`FAT_FILESYSTEM_ELM ` range 12 255 default 255 depends on \ :option:`FS_FATFS_LFN ` && \ :option:`FAT_FILESYSTEM_ELM ` && \ :option:`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.)*