Mass storage revert to expand (max 2G img w/ seek)

This reverts commit 54804fcc66.
This commit is contained in:
Willy-JL
2023-08-29 03:25:45 +02:00
parent 0ec8c85481
commit 034edf50ce
10 changed files with 83 additions and 2 deletions

View File

@@ -2696,6 +2696,7 @@ Function,+,storage_file_close,_Bool,File*
Function,+,storage_file_copy_to_file,_Bool,"File*, File*, uint32_t"
Function,+,storage_file_eof,_Bool,File*
Function,+,storage_file_exists,_Bool,"Storage*, const char*"
Function,+,storage_file_expand,_Bool,"File*, uint64_t"
Function,+,storage_file_free,void,File*
Function,+,storage_file_get_error,FS_Error,File*
Function,+,storage_file_get_error_desc,const char*,File*
1 entry status name type params
2696 Function + storage_file_copy_to_file _Bool File*, File*, uint32_t
2697 Function + storage_file_eof _Bool File*
2698 Function + storage_file_exists _Bool Storage*, const char*
2699 Function + storage_file_expand _Bool File*, uint64_t
2700 Function + storage_file_free void File*
2701 Function + storage_file_get_error FS_Error File*
2702 Function + storage_file_get_error_desc const char* File*

View File

@@ -68,7 +68,7 @@
#define _USE_FASTSEEK 1
/* This option switches fast seek feature. (0:Disable or 1:Enable) */
#define _USE_EXPAND 0
#define _USE_EXPAND 1
/* This option switches f_expand function. (0:Disable or 1:Enable) */
#define _USE_CHMOD 0