-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Update to SdFat 2.1.1 with UTF-8 support #8355
Conversation
fc0b1ac
to
4c7f163
Compare
Sorry, guys, for the churn. I seem to have lost the ability to run host tests on my machine so unfortunately have to debug the host builds using the CI system. Time to upgrade to Ubu20.04, I guess... |
...and the lib itself seems to have an issue - there is declaration of toUpcase, but it is defined as sdfat::toUpcase, so the linking fails
|
@mcspr hold off on testing this a bit. I've dug into the latest upstream changes and it should now be possible to remove all of the namespace patches. That would significantly shrink the diffs from upstream. Now that I have an Ubu20 VM and can run host tests there, I'll debug anything that breaks before pushing an update. |
Use latest upstream SdFat library to avoid need for manual patched namespaces around the core. Include UTF-8 support as well.
@mcspr you can try this version now. All tests but one valgrind one pass, and FWIW the dump points to a problem in the upstream SdFat library. I'll look into it tomorrow (well, later today since it's 1AM here), but OTW if you have a handy SD card this may be worth a run.
|
Add the new examples back to CI runs for more coverage
6457a40
to
1902618
Compare
Testing on real HW (once I reverted to a working Ubuntu kernel!) looks good on this. The old SD.h examples go and even Unicode UTF-8 runs properly, too. Looks good to go...
|
At your discretion. Seems to be working and 2.0.2 -> 2.1.1 update did not break anything. But, I also just tried the barebones example + small sketch utilizing SDFS
I have also tried FSBrowser, with some small modifications to support FsLib APIs in the SDFAT.{h,cpp} to work with exfat volume. Web portion also works correctly for editing such files.
|
We might want to consider an ExFatSDFS class (convert SDFS into a template and then instantiate one with In any case, this new version of SdFat has massively fewer changes vs. upstream, thanks to greiman's recent changes, so future pulls should be much easier. |
No description provided.