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

Slight modification to handle SD_MMC connections #35

Closed
HankLloydRight opened this issue Feb 10, 2023 · 1 comment
Closed

Slight modification to handle SD_MMC connections #35

HankLloydRight opened this issue Feb 10, 2023 · 1 comment

Comments

@HankLloydRight
Copy link

Hi,

Great lib, thank you!

I'm using SD_MMC instead of SD/SPI, and in order to get this lib to work, I had to change two lines:

Line 10: #include <SD_MMC.h>
Line 158: _file = SD_MMC.open(_filename, _mode);

And then the repository works perfectly with SD_MMC connections.

@stevemarple
Copy link
Owner

If the Arduino IDE allowed programmers to externally define macros it would be possible for IniFile to include the appropriate header files and use the correct open function. Despite asking, and submitting a pull-request to support it (arduino/arduino-builder#29), the IDE developers repeatedly refuse to include such a feature, which makes adding this kind of support difficult.

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