Open rudiars opened 10 months ago
You cannot just substitute the header file and expect it to work. The library needs to be modified as well to use LittleFS instead of the SD library. Have you done that?
Not yet sir, please help... :'(
Won't be able to do this for some time as I am busy with other things.
This is a repeat of issue #24, so potentially the OP for that issue may have already done what you are looking for.
There are only a few things that needs to be changed and they would be quite similar between the two different file systems, so if you are familiar with general file operations it should be a straightforward exercise.
Not quite what you are looking for, but I got the MD_MIDIFile library to work with SPIFFS on a Nano ESP32. Maybe you can woth with SPIFFS instead or make some additional changes to get it to work with LittleFS.
https://github.com/Zacdoesmath/MD_MIDIFileSPIFF
Apologies for anything that needs an apology. This is my firest foray into github and modifying or forking libraries and then sharing that again with others... There are a few basic examples that work for me. Would love more feedback.
IMPORTANT
Before submitting this issue [ true ] Have you tried using the latest version of the library? [ true ] Have you checked this has not already been submitted and/or resolved? [ true ] If you are requesting help a better choice may be the Arduino forum
Subject of the issue
how to use this library with ESP8266 LittleFS
Your Environment
Library Version: Arduino IDE version:1.8.17 Hardware model/type:ESP8266 dev kit OS and Version:Windows 10**
Steps to Reproduce
I want to use thus library with my ESP8266 LittleFS
Expected Behaviour
It's not work yet
Actual Behaviour
a lot of error messages
Code Demonstrating the Issue