f_unlink Bug In FATFS (R0.12c)
Hi everyone,
The version of FATFS (R0.12c) included in the latest H7 firmware package has a known bug in the f_unlink function which causes lost clusters on fragmented files of exFAT volumes. This results in the memory filling up, even if all files are deleted using f_unlink.
The bug was introduced in R0.12c, and fixed in R0.13a as documented at FatFs - Updates and Migration Notes. However, this newer version is not included in the firmware package.
From what I understand, migrating to a new version can involve updating the lower level code in the IO layer to match the newer FATFS versions.
Does anyone have experience migrating the included FATFS code manually? Would simply updating the code for f_unlink be a suitable option?
Thank you,
Matt
