diff options
author | Sasquatch <zajc3w@gmail.com> | 2025-07-27 17:09:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-27 12:09:11 -0400 |
commit | 4a567c8d1050d95ea22019545877715b842fa1b3 (patch) | |
tree | 0b0898ed6a93360a40f77ec9eeec93d19ab29344 /scripts/spi_flash/fatfs_api.h | |
parent | 60879fd298fe3b4f3dda63561e6a1c9bdc5ee9af (diff) | |
download | kutter-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_api.h')
-rw-r--r-- | scripts/spi_flash/fatfs_api.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/spi_flash/fatfs_api.h b/scripts/spi_flash/fatfs_api.h index 2400bc86..adbf7588 100644 --- a/scripts/spi_flash/fatfs_api.h +++ b/scripts/spi_flash/fatfs_api.h @@ -26,7 +26,8 @@ struct ff_file_info { uint16_t modified_date; uint16_t modified_time; uint8_t attrs; - char name[13]; + char name_sfn[13]; // unused, just for compatibility with fatfs lib + char name[256]; }; struct ff_disk_info { |