Comments (6)
I don' know of any use of SdFat with ESPAsyncWebserver.
I avoid using ESP32/ESP8266 because SdFat often conflicts with the ESP file system.
from sdfat.
I found a wrapper, will post it next weekend
Investors to use the lib on Esp32 because of firebase library by @mobizt requires it because of your library has adjustable speed for spi interface
from sdfat.
Any chance you can post that wrapper? SD.h is unreliable for me (on Arduino Nano ESP32), but SdFat is stable, so I need to use SdFat.
from sdfat.
Hi gimme a chance this weekend
I will try to search the wrapper and post it, if you didn't got any post from me remember me latest this Sunday
from sdfat.
sd_fat32_fs_wrapper.zip
In the attachment you will find the wrapper
just include the file
I use it als following
SdFat sd_fat_fs;
fs::FS sdfilesys = fs::FS(fs::FSImplPtr(new SdFat32FSImpl(sd_fat_fs)));
If you want to use it with ESP Async Webserver in a response at server.on...
i.g. to respond a picture from an sd card
String picturefilene ="picture.jpg";
request->send(sdfilesys,picturefilename, "image/jpg", false);
hope this helps
from sdfat.
Thank you! I missed your post for a few days and came up with the workaround of replacing send(SD, filename . . . ) calls with sendChunked and my own simple function which gets data from the file using SdFat. Your wrapper is probably nicer, so I'll try it out.
from sdfat.
Related Issues (20)
- ExFatLogger vs LowLatencyLogger different behaviour HOT 7
- Running two SdCards are not working HOT 2
- addApbChangeCallback(): duplicate func when using with TFT_eSPI HOT 5
- Problems with Teensy 4.0 and Adafruit XTSD with SdFat. HOT 2
- [question]How to speed up sd writes on Arduino Uno r4? HOT 7
- Examples of SDFat HOT 4
- sdfat does one write to sd and then nothing HOT 1
- SdFat recommended usage for long term data logging HOT 5
- Pin selection for esp8266 HOT 1
- Did not work at ESP32-CAM HOT 6
- MMC_ERASE HOT 2
- pico-sdk only rp2040 implementation HOT 11
- ESP32 S3 always fails to mount card HOT 10
- Unable to format flat Spiflash module with ESP8266 HOT 4
- Mount issues for a Windows-formatted card HOT 35
- SD NAND XTSD01G (surface mounted chip) not formating HOT 1
- Unable to share the same SPI bus with TFT_eSPI on ESP32 HOT 3
- Problems with multiple SD card HOT 3
- Long timeout calling begin() on Teensy 4.1 when no card present HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdfat.