Port fat_io_lib, mount atasd0mp1 as sys:

This commit is contained in:
2025-11-19 15:50:00 +01:00
parent 5d77974586
commit 0cc78a7247
35 changed files with 7071 additions and 7 deletions

View File

@ -0,0 +1,17 @@
#ifndef FAT_CONTEXT_H_
#define FAT_CONTEXT_H_
#include "fat_defs.h"
#include "fat_filelib.h"
struct fat_ctx {
FL_FILE _files[FATFS_MAX_OPEN_FILES];
int _filelib_init;
int _filelib_valid;
struct fatfs _fs;
struct fat_list _open_file_list;
struct fat_list _free_file_list;
void *extra;
};
#endif // FAT_CONTEXT_H_