This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_FS_FATFS_CODEPAGE

FatFS code page (character set)

Type: int

Help

Valid code page values:
1   - ASCII (No extended character. Non-LFN cfg. only)
437 - U.S.
720 - Arabic
737 - Greek
771 - KBL
775 - Baltic
850 - Latin 1
852 - Latin 2
855 - Cyrillic
857 - Turkish
860 - Portuguese
861 - Icelandic
862 - Hebrew
863 - Canadian French
864 - Arabic
865 - Nordic
866 - Russian
869 - Greek 2
932 - Japanese (DBCS)
936 - Simplified Chinese (DBCS)
949 - Korean (DBCS)
950 - Traditional Chinese (DBCS)

Direct dependencies

FAT_FILESYSTEM_ELM && FILE_SYSTEM

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definition

At subsys/fs/Kconfig.fatfs:100

Included via Kconfig:8Kconfig.zephyr:42subsys/Kconfig:25subsys/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

config FS_FATFS_CODEPAGE
    int "FatFS code page (character set)" if FAT_FILESYSTEM_ELM
    default 437 if FS_FATFS_LFN
    default 1
    depends on FAT_FILESYSTEM_ELM && FILE_SYSTEM
    help
      Valid code page values:
      1   - ASCII (No extended character. Non-LFN cfg. only)
      437 - U.S.
      720 - Arabic
      737 - Greek
      771 - KBL
      775 - Baltic
      850 - Latin 1
      852 - Latin 2
      855 - Cyrillic
      857 - Turkish
      860 - Portuguese
      861 - Icelandic
      862 - Hebrew
      863 - Canadian French
      864 - Arabic
      865 - Nordic
      866 - Russian
      869 - Greek 2
      932 - Japanese (DBCS)
      936 - Simplified Chinese (DBCS)
      949 - Korean (DBCS)
      950 - Traditional Chinese (DBCS)

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)