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

Please fix sdfat #88

Open
BiatuAutMiahn opened this issue May 1, 2023 · 4 comments
Open

Please fix sdfat #88

BiatuAutMiahn opened this issue May 1, 2023 · 4 comments

Comments

@BiatuAutMiahn
Copy link

When using with Adafruit's sdfat library, you get errors and it will refuse to compile.

@madias123
Copy link

Meanwhile there is no way to fix all those sdfat problems for all boards:
sdfat ist the most incompatible library in the whole Arduino land, caused by "to do one's own thing", so we have:
old sdfat version by greiman
new sdfat version by greiman
teensy one
ESP8266 one
Adafruit one
RP2040 one (mostly ESP8266 one, but not really...)
...and many more.

@BiatuAutMiahn
Copy link
Author

BiatuAutMiahn commented Jun 11, 2023

Why not target greiman's new repo, or adafruit's. And leave sdfat compatibility for different boards upstream?

Currently I use greiman's...haphazardly.

@madias123
Copy link

madias123 commented Jun 12, 2023

Why not target greiman's new repo, or adafruit's. And leave sdfat compatibility for different boards upstream?

Currently I use greiman's...haphazardly.

It's a little bit complicated, because I'm converting an old TAG-MP3-Player-project of mine (STM32duino (Rogers Core), SDFat V1(!) and libraries that I modified in the past using SDfat (like VS1503).
Meanwhile, I converted the project step by step as a whole new project, caused by too old libraries used in the original code and too much hacks/tricks and workaround especially for the STM32 (low level).
Meanwhile I can use my major IO-Code (reading/writing SD Card, sorting dirs and files, reading outMP3-tags) with just the simple
#include <SD.h>
because this in in the RP2040 core just a wrapper for sdfat V2!
So I'm fine with that.

@BiatuAutMiahn
Copy link
Author

Gotcha

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

2 participants