From 9b2011455585885748164ab76dfaae76fffb0ff9 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 17 Nov 2009 10:32:17 +0000 Subject: 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. --- .../StandaloneProgrammer/Lib/PetiteFATFs/integer.h | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/integer.h (limited to 'Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/integer.h') 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 +#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 -- cgit v1.2.3