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