Updated get_fattime to use rtc and provide a date/time. This has been an annoying missing feature.

Dependents:   IoTGateway_Basic y_XBeeTest_5_read CameraC1098_picture LifeCam ... more

Committer:
SomeRandomBloke
Date:
Mon Apr 02 22:06:35 2012 +0000
Revision:
1:5baba5d5b728
Parent:
0:93acdd9f65f4

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
SomeRandomBloke 0:93acdd9f65f4 1 /*-------------------------------------------*/
SomeRandomBloke 0:93acdd9f65f4 2 /* Integer type definitions for FatFs module */
SomeRandomBloke 0:93acdd9f65f4 3 /*-------------------------------------------*/
SomeRandomBloke 0:93acdd9f65f4 4
SomeRandomBloke 0:93acdd9f65f4 5 #ifndef _INTEGER
SomeRandomBloke 0:93acdd9f65f4 6 #define _INTEGER
SomeRandomBloke 0:93acdd9f65f4 7
SomeRandomBloke 0:93acdd9f65f4 8 #ifdef _WIN32 /* FatFs development platform */
SomeRandomBloke 0:93acdd9f65f4 9
SomeRandomBloke 0:93acdd9f65f4 10 #include <windows.h>
SomeRandomBloke 0:93acdd9f65f4 11 #include <tchar.h>
SomeRandomBloke 0:93acdd9f65f4 12
SomeRandomBloke 0:93acdd9f65f4 13 #else /* Embedded platform */
SomeRandomBloke 0:93acdd9f65f4 14
SomeRandomBloke 0:93acdd9f65f4 15 /* These types must be 16-bit, 32-bit or larger integer */
SomeRandomBloke 0:93acdd9f65f4 16 typedef int INT;
SomeRandomBloke 0:93acdd9f65f4 17 typedef unsigned int UINT;
SomeRandomBloke 0:93acdd9f65f4 18
SomeRandomBloke 0:93acdd9f65f4 19 /* These types must be 8-bit integer */
SomeRandomBloke 0:93acdd9f65f4 20 typedef char CHAR;
SomeRandomBloke 0:93acdd9f65f4 21 typedef unsigned char UCHAR;
SomeRandomBloke 0:93acdd9f65f4 22 typedef unsigned char BYTE;
SomeRandomBloke 0:93acdd9f65f4 23
SomeRandomBloke 0:93acdd9f65f4 24 /* These types must be 16-bit integer */
SomeRandomBloke 0:93acdd9f65f4 25 typedef short SHORT;
SomeRandomBloke 0:93acdd9f65f4 26 typedef unsigned short USHORT;
SomeRandomBloke 0:93acdd9f65f4 27 typedef unsigned short WORD;
SomeRandomBloke 0:93acdd9f65f4 28 typedef unsigned short WCHAR;
SomeRandomBloke 0:93acdd9f65f4 29
SomeRandomBloke 0:93acdd9f65f4 30 /* These types must be 32-bit integer */
SomeRandomBloke 0:93acdd9f65f4 31 typedef long LONG;
SomeRandomBloke 0:93acdd9f65f4 32 typedef unsigned long ULONG;
SomeRandomBloke 0:93acdd9f65f4 33 typedef unsigned long DWORD;
SomeRandomBloke 0:93acdd9f65f4 34
SomeRandomBloke 0:93acdd9f65f4 35 #endif
SomeRandomBloke 0:93acdd9f65f4 36
SomeRandomBloke 0:93acdd9f65f4 37 #endif