diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-08-20 17:44:40 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-08-20 17:44:40 +1000 |
commit | 2b47a0708602b45b0b5db120a496bf92232aa4b1 (patch) | |
tree | 6c5965b6bf1d109b853efe64777bbc7ee5548882 /src/gfile/gfile_fatfs_wrapper.h | |
parent | c06bff3304ed234c3a7f96fd049755ac59228ef7 (diff) | |
parent | 0f3f8f68f87233bf59c3fa68c3dfe1f492a1a478 (diff) | |
download | uGFX-2b47a0708602b45b0b5db120a496bf92232aa4b1.tar.gz uGFX-2b47a0708602b45b0b5db120a496bf92232aa4b1.tar.bz2 uGFX-2b47a0708602b45b0b5db120a496bf92232aa4b1.zip |
Merge branch 'master' into newmouse
Diffstat (limited to 'src/gfile/gfile_fatfs_wrapper.h')
-rw-r--r-- | src/gfile/gfile_fatfs_wrapper.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/gfile/gfile_fatfs_wrapper.h b/src/gfile/gfile_fatfs_wrapper.h new file mode 100644 index 00000000..e66e13bc --- /dev/null +++ b/src/gfile/gfile_fatfs_wrapper.h @@ -0,0 +1,32 @@ +/* + * This file is subject to the terms of the GFX License. If a copy of + * the license was not distributed with this file, you can obtain one at: + * + * http://ugfx.org/license.html + */ + +/** + * @file src/gfile/gfile_fatfs_wrapper.h + * @brief GFILE FATFS wrapper. + * + */ + +#ifndef _FATFS_WRAPPER +#define _FATFS_WRAPPER + +// Include the fatfs configuration from the local directory not the original source folder +#include "ffconf.h" + +// Prevent preprocessor redefinition warnings +#include "3rdparty/fatfs-0.10b/src/integer.h" +#if defined(_T) && !defined(_INC_TCHAR) + #define _INC_TCHAR +#endif + +// Include the fatfs API +#include "3rdparty/fatfs-0.10b/src/ff.h" + +// Include the fatfs diskio API +#include "3rdparty/fatfs-0.10b/src/diskio.h" + +#endif //_FATFS_WRAPPER |