2014-08-13 05:48:16 +00:00
|
|
|
/*
|
|
|
|
* 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
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2014-08-20 07:42:53 +00:00
|
|
|
* @file src/gfile/gfile_fatfs_wrapper.h
|
2014-08-13 05:48:16 +00:00
|
|
|
* @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
|
2015-11-21 09:27:08 +00:00
|
|
|
#include "../../3rdparty/fatfs-0.10b/src/integer.h"
|
2014-08-13 05:48:16 +00:00
|
|
|
#if defined(_T) && !defined(_INC_TCHAR)
|
|
|
|
#define _INC_TCHAR
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// Include the fatfs API
|
2015-11-21 09:27:08 +00:00
|
|
|
#include "../../3rdparty/fatfs-0.10b/src/ff.h"
|
2014-08-13 05:48:16 +00:00
|
|
|
|
|
|
|
// Include the fatfs diskio API
|
2015-11-21 09:27:08 +00:00
|
|
|
#include "../../3rdparty/fatfs-0.10b/src/diskio.h"
|
2014-08-13 05:48:16 +00:00
|
|
|
|
|
|
|
#endif //_FATFS_WRAPPER
|