aboutsummaryrefslogtreecommitdiff
path: root/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/integer.h
diff options
context:
space:
mode:
authorDean Camera <[email protected]>2009-11-17 10:32:17 +0000
committerDean Camera <[email protected]>2009-11-17 10:32:17 +0000
commit9b2011455585885748164ab76dfaae76fffb0ff9 (patch)
tree793afb8d681b07fc84582828735e23e90465d7d7 /Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/integer.h
parent79e54580ae0ce192f6c66a11880136eac483fc29 (diff)
downloadqmk_firmware-9b2011455585885748164ab76dfaae76fffb0ff9.tar.gz
qmk_firmware-9b2011455585885748164ab76dfaae76fffb0ff9.zip
Make RNDISHost demo validate the set Packet Filter to ensure that it is being sent correctly.
Add new (incomplete) StandaloneProgrammer project, using the ELM Petite FAT library to read files stored on the board's dataflash by the host.
Diffstat (limited to 'Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/integer.h')
-rw-r--r--Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/integer.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/integer.h b/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/integer.h
new file mode 100644
index 0000000000..1d6bac3684
--- /dev/null
+++ b/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/integer.h
@@ -0,0 +1,37 @@
+/*-------------------------------------------*/
+/* Integer type definitions for FatFs module */
+/*-------------------------------------------*/
+
+#ifndef _INTEGER
+
+#if 0
+#include <windows.h>
+#else
+
+/* These types must be 16-bit, 32-bit or larger integer */
+typedef int INT;
+typedef unsigned int UINT;
+
+/* These types must be 8-bit integer */
+typedef signed char CHAR;
+typedef unsigned char UCHAR;
+typedef unsigned char BYTE;
+
+/* These types must be 16-bit integer */
+typedef short SHORT;
+typedef unsigned short USHORT;
+typedef unsigned short WORD;
+typedef unsigned short WCHAR;
+
+/* These types must be 32-bit integer */
+typedef long LONG;
+typedef unsigned long ULONG;
+typedef unsigned long DWORD;
+
+/* Boolean type */
+typedef enum { FALSE = 0, TRUE } BOOL;
+
+#endif
+
+#define _INTEGER
+#endif