Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By DaveEvans
#56083 As mentioned here,
If you wish to use both SD and SPIFFS at the same time, you need to get rid of the clashing names by editing the SD library files and changing all occurrences of "File" to "SDFile".


So that every single person who wants to use a SD card and SPIFFS doesn't have to go through the trouble of figuring out exactly what that means and finding all of the occurrences, I have attached files from the SD library that I modified. Locations that have been modified have a "// DAE" comment. Note that it is a bit confusing that the files have both "SDFile" (what I changed) and "SdFile" (an original name in the library...not changed by me).

And, of course, when you create an instance of a file, you need to use
Code: Select allSDFile myFile;
not
Code: Select allFile myFile;
.
You do not have the required permissions to view the files attached to this post.