Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to latest FatFS (R0.14b) #7

Open
urish opened this issue Sep 25, 2021 · 0 comments
Open

Upgrade to latest FatFS (R0.14b) #7

urish opened this issue Sep 25, 2021 · 0 comments

Comments

@urish
Copy link

urish commented Sep 25, 2021

First of all, thanks for maintaining this library! It's very useful for me.

I've run into an issue where the filesystem created by f_mkfs() can't be read by Arduino's SdFat library. The reason for that is that f_mkfs() always creates a single copy of the FAT ,whereas SdFat expects to have 2 copies.

FatFS R0.14 added support for specifying the number of FAT copies in the options for f_mkfs() (the n_fat property of the opt parameter). This new parameter makes it possible to create FAT file systems that are compatible with the SdFat library.

If you need any additional input or some help with realizing the update (i.e. pull request), please let me know.

urish added a commit to wokwi/oofatfs-wasm that referenced this issue Jul 4, 2022
patch oofatfs to produce 2 fat copies (micropython/oofatfs#7), add support for larger sector sizes (up to 4k)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant