aboutsummaryrefslogtreecommitdiffstats
path: root/src/gfile/gfile_petitfs_wrapper.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-08-20 17:44:40 +1000
committerinmarket <andrewh@inmarket.com.au>2014-08-20 17:44:40 +1000
commit2b47a0708602b45b0b5db120a496bf92232aa4b1 (patch)
tree6c5965b6bf1d109b853efe64777bbc7ee5548882 /src/gfile/gfile_petitfs_wrapper.h
parentc06bff3304ed234c3a7f96fd049755ac59228ef7 (diff)
parent0f3f8f68f87233bf59c3fa68c3dfe1f492a1a478 (diff)
downloaduGFX-2b47a0708602b45b0b5db120a496bf92232aa4b1.tar.gz
uGFX-2b47a0708602b45b0b5db120a496bf92232aa4b1.tar.bz2
uGFX-2b47a0708602b45b0b5db120a496bf92232aa4b1.zip
Merge branch 'master' into newmouse
Diffstat (limited to 'src/gfile/gfile_petitfs_wrapper.h')
-rw-r--r--src/gfile/gfile_petitfs_wrapper.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/gfile/gfile_petitfs_wrapper.h b/src/gfile/gfile_petitfs_wrapper.h
new file mode 100644
index 00000000..e9080b9e
--- /dev/null
+++ b/src/gfile/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/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