Merge pull request #12834 from jordan-woyak/sdcard-sfd

FatFsUtil: Generate a non-partitioned image in our folder-to-sdcard conversion.
This commit is contained in:
Admiral H. Curtiss 2024-06-05 13:50:11 +02:00 committed by GitHub
commit e233a30ffc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -553,7 +553,7 @@ bool SyncSDFolderToSDImage(const std::function<bool()>& cancelled, bool determin
}
MKFS_PARM options = {};
options.fmt = FM_FAT32;
options.fmt = FM_FAT32 | FM_SFD;
options.n_fat = 0; // Number of FATs: automatic
options.align = 1; // Alignment of the data region (in sectors)
options.n_root = 0; // Number of root directory entries: automatic (and unused for FAT32)