From 75e1e7a5e26491e942fb2b25f518d8e2e3112721 Mon Sep 17 00:00:00 2001 From: inmarket Date: Fri, 15 Aug 2014 02:22:02 +1000 Subject: Add GFILE support for PetitFS (a very tiny FAT implementation) --- src/gfile/petitfs_wrapper.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/gfile/petitfs_wrapper.h (limited to 'src/gfile/petitfs_wrapper.h') diff --git a/src/gfile/petitfs_wrapper.h b/src/gfile/petitfs_wrapper.h new file mode 100644 index 00000000..4f91bd7f --- /dev/null +++ b/src/gfile/petitfs_wrapper.h @@ -0,0 +1,26 @@ +/* + * 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/petitfs_wrapper.h + * @brief GFILE PETITFS wrapper. + * + */ + +#ifndef _PETITFS_WRAPPER +#define _PETITFS_WRAPPER + +// Include the petitfs configuration from the local directory not the original source folder +#include "pffconf.h" + +// Include the petitfs API +#include "3rdparty/petitfs-0.03/src/pff.h" + +// Include the petitfs diskio API +#include "3rdparty/petitfs-0.03/src/diskio.h" + +#endif //_PETITFS_WRAPPER -- cgit v1.2.3