add fatfs

This commit is contained in:
marqs committed 2025-05-02 19:21:32 +03:00
1 parent 21f8bc5406
commit 30d403f157
13 files changed
+24456 -27

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
#ifndef FILE_H_
#define FILE_H_
#include "ff.h"
#include "sysconfig.h"
FRESULT file_mount();
FRESULT file_open(FIL* fil, char* path);
FRESULT file_close(FIL* fil);
TCHAR* file_get_string(FIL* fil, char* buff, int len);
FRESULT scan_files (char* path);
int find_files_exec(char* path, char* pat, FILINFO *fno, int efirst, int elast, void (*func)(FILINFO *fno));
#endif