danicampora / micropython

The Micro Python project
MIT License
1 stars 1 forks source link

Update FatFS to the latest version #25

Closed danicampora closed 9 years ago

danicampora commented 9 years ago

R0.11 (February 9, 2015) Added f_findfirst() and f_findnext(). (_USE_FIND) Fixed f_unlink() does not remove cluster chain of the file. (appeared at R0.10c) Fixed _FS_NORTC option does not work properly. (appeared at R0.10c)

MicroPython is now using R0.10c

dpgeorge commented 9 years ago

There seem to be a lot of (superficial?) changes. Will need to find some time to merge it properly.

danicampora commented 9 years ago

OK, I didn't diff the changes, just saw the release notes and noticed: Fixed f_unlink() does not remove cluster chain of the file

I have seen that if you try to write a file that is too large to fit in the free space of the drive, the operation fails, you delete the incomplete file, and it seems to be erased, but the space is not really freed, because any subsequent write operations fail because the drive is "still" full.

Anyway, there is no rush. If I find the time before you do, I'll submit a pull request for you to review it.

danicampora commented 9 years ago

Already solved.