version 2.8
gfile_fatfs_wrapper.h
Go to the documentation of this file.
1 /*
2  * This file is subject to the terms of the GFX License. If a copy of
3  * the license was not distributed with this file, you can obtain one at:
4  *
5  * http://ugfx.org/license.html
6  */
7 
8 /**
9  * @file src/gfile/gfile_fatfs_wrapper.h
10  * @brief GFILE FATFS wrapper.
11  *
12  */
13 
14 #ifndef _FATFS_WRAPPER
15 #define _FATFS_WRAPPER
16 
17 // Include the fatfs configuration from the local directory not the original source folder
18 #include "ffconf.h"
19 
20 // Prevent preprocessor redefinition warnings
21 #include "../../3rdparty/fatfs-0.13/source/integer.h"
22 #if defined(_T) && !defined(_INC_TCHAR)
23  #define _INC_TCHAR
24 #endif
25 
26 // Include the fatfs API
27 #include "../../3rdparty/fatfs-0.13/source/ff.h"
28 
29 // Include the fatfs diskio API
30 #include "../../3rdparty/fatfs-0.13/source/diskio.h"
31 
32 #endif //_FATFS_WRAPPER