STIMA  3
pffconf.h
1 /*---------------------------------------------------------------------------/
2 / Petit FatFs - Configuration file R0.03 (C)ChaN, 2014
3 /---------------------------------------------------------------------------*/
4 
5 #ifndef _PFFCONF
6 #define _PFFCONF 4004 /* Revision ID */
7 
8 /*---------------------------------------------------------------------------/
9 / Function Configurations
10 /---------------------------------------------------------------------------*/
11 
12 #define _USE_MINIMALISTIC_PFF
13 
14 #define _USE_READ 1 /* Enable pf_read() function */
15 #define _USE_DIR 0 /* Enable pf_opendir() and pf_readdir() function */
16 #define _USE_LSEEK 0 /* Enable pf_lseek() function */
17 #define _USE_WRITE 0 /* Enable pf_write() function */
18 
19 #define _FS_FAT12 0 /* Enable FAT12 */
20 
21 #if USE_FAT16
22  #define _FS_FAT16 1 /* Enable FAT16 */
23 #else
24  #define _FS_FAT16 0 /* Disable FAT16 */
25 #endif
26 
27 #if USE_FAT32
28  #define _FS_FAT32 1 /* Enable FAT32 */
29 #else
30  #define _FS_FAT32 0 /* Disable FAT32 */
31 #endif
32 
33 /*---------------------------------------------------------------------------/
34 / Locale and Namespace Configurations
35 /---------------------------------------------------------------------------*/
36 
37 #define _USE_LCC 0 /* Allow lower case characters for path name */
38 
39 #define _CODE_PAGE 437
40 /* The _CODE_PAGE specifies the code page to be used on the target system.
41 / SBCS code pages with _USE_LCC == 1 requiers a 128 byte of case conversion
42 / table. This might occupy RAM on some platforms, e.g. avr-gcc.
43 / When _USE_LCC == 0, _CODE_PAGE has no effect.
44 /
45 / 932 - Japanese Shift_JIS (DBCS, OEM, Windows)
46 / 936 - Simplified Chinese GBK (DBCS, OEM, Windows)
47 / 949 - Korean (DBCS, OEM, Windows)
48 / 950 - Traditional Chinese Big5 (DBCS, OEM, Windows)
49 / 1250 - Central Europe (Windows)
50 / 1251 - Cyrillic (Windows)
51 / 1252 - Latin 1 (Windows)
52 / 1253 - Greek (Windows)
53 / 1254 - Turkish (Windows)
54 / 1255 - Hebrew (Windows)
55 / 1256 - Arabic (Windows)
56 / 1257 - Baltic (Windows)
57 / 1258 - Vietnam (OEM, Windows)
58 / 437 - U.S. (OEM)
59 / 720 - Arabic (OEM)
60 / 737 - Greek (OEM)
61 / 775 - Baltic (OEM)
62 / 850 - Multilingual Latin 1 (OEM)
63 / 858 - Multilingual Latin 1 + Euro (OEM)
64 / 852 - Latin 2 (OEM)
65 / 855 - Cyrillic (OEM)
66 / 866 - Russian (OEM)
67 / 857 - Turkish (OEM)
68 / 862 - Hebrew (OEM)
69 / 874 - Thai (OEM, Windows)
70 */
71 
72 
73 /*---------------------------------------------------------------------------/
74 / System Configurations
75 /---------------------------------------------------------------------------*/
76 
77 #define _WORD_ACCESS 1
78 /* The _WORD_ACCESS option is an only platform dependent option. It defines
79 / which access method is used to the word data on the FAT volume.
80 /
81 / 0: Byte-by-byte access. Always compatible with all platforms.
82 / 1: Word access. Do not choose this unless under both the following conditions.
83 /
84 / * Address misaligned memory access is always allowed for ALL instructions.
85 / * Byte order on the memory is little-endian.
86 /
87 / If it is the case, _WORD_ACCESS can also be set to 1 to improve performance and
88 / reduce code size. Following table shows an example of some processor types.
89 /
90 / ARM7TDMI 0 ColdFire 0 V850E 0
91 / Cortex-M3 0 Z80 0/1 V850ES 0/1
92 / Cortex-M0 0 RX600(LE) 0/1 TLCS-870 0/1
93 / AVR 0/1 RX600(BE) 0 TLCS-900 0/1
94 / AVR32 0 RL78 0 R32C 0
95 / PIC18 0/1 SH-2 0 M16C 0/1
96 / PIC24 0 H8S 0 MSP430 0
97 / PIC32 0 H8/300H 0 x86 0/1
98 */
99 
100 #endif /* _PFFCONF */