Kconfig 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. menu "FAT Filesystem support"
  2. choice FATFS_CHOOSE_CODEPAGE
  3. prompt "OEM Code Page"
  4. default FATFS_CODEPAGE_ASCII
  5. help
  6. OEM code page used for file name encodings. Required to
  7. be set to a non-ASCII value to use Long Filenames.
  8. config FATFS_CODEPAGE_ASCII
  9. bool "ASCII (CP1, no long filenames)"
  10. config FATFS_CODEPAGE_437
  11. bool "US (CP437)"
  12. config FATFS_CODEPAGE_720
  13. bool "Arabic (CP720)"
  14. config FATFS_CODEPAGE_737
  15. bool "Greek (CP737)"
  16. config FATFS_CODEPAGE_771
  17. bool "KBL (CP771)"
  18. config FATFS_CODEPAGE_775
  19. bool "Baltic (CP775)"
  20. config FATFS_CODEPAGE_850
  21. bool "Latin 1 (CP850)"
  22. config FATFS_CODEPAGE_852
  23. bool "Latin 2 (CP852)"
  24. config FATFS_CODEPAGE_855
  25. bool "Cyrillic (CP855)"
  26. config FATFS_CODEPAGE_857
  27. bool "Turkish (CP857)"
  28. config FATFS_CODEPAGE_860
  29. bool "Portugese (CP860)"
  30. config FATFS_CODEPAGE_861
  31. bool "Icelandic (CP861)"
  32. config FATFS_CODEPAGE_862
  33. bool "Hebrew (CP862)"
  34. config FATFS_CODEPAGE_863
  35. bool "Canadian French (CP863)"
  36. config FATFS_CODEPAGE_864
  37. bool "Arabic (CP864)"
  38. config FATFS_CODEPAGE_865
  39. bool "Nordic (CP865)"
  40. config FATFS_CODEPAGE_866
  41. bool "Russian (CP866)"
  42. config FATFS_CODEPAGE_869
  43. bool "Greek 2 (CP869)"
  44. config FATFS_CODEPAGE_932
  45. bool "Japanese (DBCS) (CP932)"
  46. config FATFS_CODEPAGE_936
  47. bool "Simplified Chinese (DBCS) (CP936)"
  48. config FATFS_CODEPAGE_949
  49. bool "Korean (DBCS) (CP949)"
  50. config FATFS_CODEPAGE_950
  51. bool "Traditional Chinese (DBCS) (CP950)"
  52. endchoice
  53. config FATFS_CODEPAGE
  54. int
  55. default 1 if FATFS_CODEPAGE_ASCII
  56. default 437 if FATFS_CODEPAGE_437
  57. default 720 if FATFS_CODEPAGE_720
  58. default 737 if FATFS_CODEPAGE_737
  59. default 771 if FATFS_CODEPAGE_771
  60. default 775 if FATFS_CODEPAGE_775
  61. default 850 if FATFS_CODEPAGE_850
  62. default 852 if FATFS_CODEPAGE_852
  63. default 855 if FATFS_CODEPAGE_855
  64. default 857 if FATFS_CODEPAGE_857
  65. default 860 if FATFS_CODEPAGE_860
  66. default 861 if FATFS_CODEPAGE_861
  67. default 862 if FATFS_CODEPAGE_862
  68. default 863 if FATFS_CODEPAGE_863
  69. default 864 if FATFS_CODEPAGE_864
  70. default 865 if FATFS_CODEPAGE_865
  71. default 866 if FATFS_CODEPAGE_866
  72. default 869 if FATFS_CODEPAGE_869
  73. default 932 if FATFS_CODEPAGE_932
  74. default 936 if FATFS_CODEPAGE_936
  75. default 949 if FATFS_CODEPAGE_949
  76. default 950 if FATFS_CODEPAGE_950
  77. default 1
  78. choice FATFS_LONG_FILENAMES
  79. prompt "Long filename support"
  80. default FATFS_LFN_NONE
  81. depends on !FATFS_CODEPAGE_ASCII
  82. help
  83. Support long filenames in FAT. Long filename data increases
  84. memory usage. FATFS can be configured to store the buffer for
  85. long filename data in stack or heap.
  86. config FATFS_LFN_NONE
  87. bool "No long filenames"
  88. config FATFS_LFN_HEAP
  89. bool "Long filename buffer in heap"
  90. config FATFS_LFN_STACK
  91. bool "Long filename buffer on stack"
  92. endchoice
  93. config FATFS_MAX_LFN
  94. int "Max long filename length"
  95. depends on !FATFS_LFN_NONE
  96. default 255
  97. range 12 255
  98. help
  99. Maximum long filename length. Can be reduced to save RAM.
  100. endmenu