aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/spi_flash/fatfs_lib.py
diff options
context:
space:
mode:
authorSasquatch <zajc3w@gmail.com>2025-07-27 17:09:11 +0100
committerGitHub <noreply@github.com>2025-07-27 12:09:11 -0400
commit4a567c8d1050d95ea22019545877715b842fa1b3 (patch)
tree0b0898ed6a93360a40f77ec9eeec93d19ab29344 /scripts/spi_flash/fatfs_lib.py
parent60879fd298fe3b4f3dda63561e6a1c9bdc5ee9af (diff)
downloadkutter-4a567c8d1050d95ea22019545877715b842fa1b3.tar.gz
kutter-4a567c8d1050d95ea22019545877715b842fa1b3.tar.xz
kutter-4a567c8d1050d95ea22019545877715b842fa1b3.zip
spi_flash: FATFS fix missing long filenames support needed by flash-sdcard.sh (#6981)
enable long file support, needed for boards using swspi and long filenames for firmware like mks robin 1.1/1.2 added MKS robin nano 1.2 board with description what and why Signed-off-by: Leszek Zajac <zajc3w@gmail.com>
Diffstat (limited to 'scripts/spi_flash/fatfs_lib.py')
-rw-r--r--scripts/spi_flash/fatfs_lib.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/spi_flash/fatfs_lib.py b/scripts/spi_flash/fatfs_lib.py
index 2f27c083..ef92070a 100644
--- a/scripts/spi_flash/fatfs_lib.py
+++ b/scripts/spi_flash/fatfs_lib.py
@@ -32,7 +32,8 @@ FATFS_CDEFS = """
uint16_t modified_date;
uint16_t modified_time;
uint8_t attrs;
- char name[13];
+ char name_sfn[13];
+ char name[256];
};
struct ff_disk_info {