SDFileSystem/LocalFileSystem等の不具合や機種依存性を少なくしたライブラリ。 MiMic用
Dependents: HttpClientSamlpe AsyncHttpdSample MbedFileServer TcpSocketClientSamlpe ... more
Fork of NySDFileSystem by
FATFileSystem/ChaN/integer.h@5:2c7b6bd5b079, 2013-04-25 (annotated)
- Committer:
- nyatla
- Date:
- Thu Apr 25 02:14:56 2013 +0000
- Revision:
- 5:2c7b6bd5b079
This is SDFileSystem which corrected the bug. ;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nyatla | 5:2c7b6bd5b079 | 1 | /*-------------------------------------------*/ |
nyatla | 5:2c7b6bd5b079 | 2 | /* Integer type definitions for FatFs module */ |
nyatla | 5:2c7b6bd5b079 | 3 | /*-------------------------------------------*/ |
nyatla | 5:2c7b6bd5b079 | 4 | |
nyatla | 5:2c7b6bd5b079 | 5 | #ifndef _INTEGER |
nyatla | 5:2c7b6bd5b079 | 6 | #define _INTEGER |
nyatla | 5:2c7b6bd5b079 | 7 | |
nyatla | 5:2c7b6bd5b079 | 8 | #ifdef _WIN32 /* FatFs development platform */ |
nyatla | 5:2c7b6bd5b079 | 9 | |
nyatla | 5:2c7b6bd5b079 | 10 | #include <windows.h> |
nyatla | 5:2c7b6bd5b079 | 11 | #include <tchar.h> |
nyatla | 5:2c7b6bd5b079 | 12 | |
nyatla | 5:2c7b6bd5b079 | 13 | #else /* Embedded platform */ |
nyatla | 5:2c7b6bd5b079 | 14 | |
nyatla | 5:2c7b6bd5b079 | 15 | /* These types must be 16-bit, 32-bit or larger integer */ |
nyatla | 5:2c7b6bd5b079 | 16 | typedef int INT; |
nyatla | 5:2c7b6bd5b079 | 17 | typedef unsigned int UINT; |
nyatla | 5:2c7b6bd5b079 | 18 | |
nyatla | 5:2c7b6bd5b079 | 19 | /* These types must be 8-bit integer */ |
nyatla | 5:2c7b6bd5b079 | 20 | typedef char CHAR; |
nyatla | 5:2c7b6bd5b079 | 21 | typedef unsigned char UCHAR; |
nyatla | 5:2c7b6bd5b079 | 22 | typedef unsigned char BYTE; |
nyatla | 5:2c7b6bd5b079 | 23 | |
nyatla | 5:2c7b6bd5b079 | 24 | /* These types must be 16-bit integer */ |
nyatla | 5:2c7b6bd5b079 | 25 | typedef short SHORT; |
nyatla | 5:2c7b6bd5b079 | 26 | typedef unsigned short USHORT; |
nyatla | 5:2c7b6bd5b079 | 27 | typedef unsigned short WORD; |
nyatla | 5:2c7b6bd5b079 | 28 | typedef unsigned short WCHAR; |
nyatla | 5:2c7b6bd5b079 | 29 | |
nyatla | 5:2c7b6bd5b079 | 30 | /* These types must be 32-bit integer */ |
nyatla | 5:2c7b6bd5b079 | 31 | typedef long LONG; |
nyatla | 5:2c7b6bd5b079 | 32 | typedef unsigned long ULONG; |
nyatla | 5:2c7b6bd5b079 | 33 | typedef unsigned long DWORD; |
nyatla | 5:2c7b6bd5b079 | 34 | |
nyatla | 5:2c7b6bd5b079 | 35 | #endif |
nyatla | 5:2c7b6bd5b079 | 36 | |
nyatla | 5:2c7b6bd5b079 | 37 | #endif |