fix: reduce file system corruption from standalone Lua scripts (#5148)
Standalone Lua such as the DSM Forward Programming tool do a lot of file system writing (logging) and appears to overrun some buffer in FafFs, writing file data right into the FAT, thus corrupting the file system. Using FF_FS_TINY=1 seems to mitigate this significantly, but does not appear to completely resolve this.
This commit is contained in:
Vendored
+1
-1
@@ -235,7 +235,7 @@
|
||||
/ System Configurations
|
||||
/---------------------------------------------------------------------------*/
|
||||
|
||||
#define FF_FS_TINY 0
|
||||
#define FF_FS_TINY 1
|
||||
/* This option switches tiny buffer configuration. (0:Normal or 1:Tiny)
|
||||
/ At the tiny configuration, size of file object (FIL) is shrinked FF_MAX_SS bytes.
|
||||
/ Instead of private sector buffer eliminated from the file object, common sector
|
||||
|
||||
Reference in New Issue
Block a user