NEORV32 Software Framework Documentation
The NEORV32 RISC-V Processor
Loading...
Searching...
No Matches
pffconf.h
1/*---------------------------------------------------------------------------/
2/ Petit FatFs - Configuration file
3/---------------------------------------------------------------------------*/
4
5#ifndef PFCONF_DEF
6#define PFCONF_DEF 8088 /* Revision ID */
7
8/*---------------------------------------------------------------------------/
9/ Function Configurations (0:Disable, 1:Enable)
10/---------------------------------------------------------------------------*/
11
12#define PF_USE_READ 1 /* pf_read() function */
13#define PF_USE_DIR 0 /* pf_opendir() and pf_readdir() function */
14#define PF_USE_LSEEK 0 /* pf_lseek() function */
15#define PF_USE_WRITE 0 /* pf_write() function */
16
17#define PF_FS_FAT12 0 /* FAT12 */
18#define PF_FS_FAT16 0 /* FAT16 */
19#define PF_FS_FAT32 1 /* FAT32 */
20
21
22/*---------------------------------------------------------------------------/
23/ Locale and Namespace Configurations
24/---------------------------------------------------------------------------*/
25
26#define PF_USE_LCC 1 /* Allow lower case ASCII and non-ASCII chars */
27
28#define PF_CODE_PAGE 437
29/* The PF_CODE_PAGE specifies the code page to be used on the target system.
30/ SBCS code pages with PF_USE_LCC == 1 requiers a 128 byte of case conversion
31/ table. It might occupy RAM on some platforms, e.g. avr-gcc.
32/ When PF_USE_LCC == 0, PF_CODE_PAGE has no effect.
33/
34/ 437 - U.S.
35/ 720 - Arabic
36/ 737 - Greek
37/ 771 - KBL
38/ 775 - Baltic
39/ 850 - Latin 1
40/ 852 - Latin 2
41/ 855 - Cyrillic
42/ 857 - Turkish
43/ 860 - Portuguese
44/ 861 - Icelandic
45/ 862 - Hebrew
46/ 863 - Canadian French
47/ 864 - Arabic
48/ 865 - Nordic
49/ 866 - Russian
50/ 869 - Greek 2
51/ 932 - Japanese (DBCS)
52/ 936 - Simplified Chinese (DBCS)
53/ 949 - Korean (DBCS)
54/ 950 - Traditional Chinese (DBCS)
55*/
56
57#endif /* PF_CONF */