57 printf(
"buffer_read_open: Can not open:[%s]\n", name);
Master include file for project Includes all project includes and defines here.
MEMSPACE FILE * fopen(const char *path, const char *mode)
POSIX Open a file with path name and ascii file mode string.
MEMSPACE size_t fread(void *ptr, size_t size, size_t nmemb, FILE *stream)
POSIX read nmemb elements from buf, size bytes each, to the stream fd.
uint8_t * buffer_gets(uint8_t *str, int size, buffer_t *p)
buffered getc
#define EOF
End of file or device read.
MEMSPACE int fclose(FILE *stream)
POSIX close a file stream.
void buffer_ungetc(buffer_t *p, int c)
buffered ungetc
void buffer_read_close(buffer_t *p)
buffered read close FatFS does not have a f_fgetc() and using f_read() of just 1 byte is VERY SLOW ...
character read buffering wrappers for FatFS WHY? Character at a time operation is in FatFS are VERY s...
MEMSPACE int printf(const char *format,...)
buffer_t * buffer_read_open(char *name, uint8_t *buf, int size)
FatFS does not have a f_fgetc() function Using f_read() of just 1 byte is VERY VERY SLOW...
int buffer_getc(buffer_t *p)
buffered getc