Hi Jun Zhang,
I was trying to open file in append mode and write continuosly.
But in lpcopen example projects if i configure as append mode there no macros defined. And if i am trying like below file open error is observed.
fp = fopen("abc.txt","a");
In below append mode macro is missing and in fopen definition also i see there is no implementation for append mode.
#define FA_READ 0x01
#define FA_OPEN_EXISTING 0x00
#define FA__ERROR 0x80
#if !_FS_READONLY
#define FA_WRITE 0x02
#define FA_CREATE_NEW 0x04
#define FA_CREATE_ALWAYS 0x08
#define FA_OPEN_ALWAYS 0x10
#define FA__WRITTEN 0x20
#define FA__DIRTY 0x40
#endif
Can you suggest how to append data in file using the same drivers?
Regards,
Ashru