:orphan: .. title:: CONFIG_FS_FATFS_READ_ONLY .. kconfig:: CONFIG_FS_FATFS_READ_ONLY CONFIG_FS_FATFS_READ_ONLY ######################### *Read-only support for all volumes* Type: ``bool`` Help ==== .. code-block:: none The option excludes write code from ELM FAT file system driver; when selected, it no longer will be possible to write data on the FAT FS. If write support is not needed, enabling this flag will slightly reduce application size. This option translates to _FS_READONLY within ELM FAT file system driver; it enables exclusion, from compilation, of write supporting code. Direct dependencies =================== \ :kconfig:`FAT_FILESYSTEM_ELM ` && \ :kconfig:`FILE_SYSTEM ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Kconfig definition ================== At ``/fs/Kconfig.fatfs:17`` 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 .. code-block:: kconfig config FS_FATFS_READ_ONLY bool "Read-only support for all volumes" if FAT_FILESYSTEM_ELM depends on FAT_FILESYSTEM_ELM && FILE_SYSTEM help The option excludes write code from ELM FAT file system driver; when selected, it no longer will be possible to write data on the FAT FS. If write support is not needed, enabling this flag will slightly reduce application size. This option translates to _FS_READONLY within ELM FAT file system driver; it enables exclusion, from compilation, of write supporting code. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*