Bill Greiman

Results 756 comments of Bill Greiman

Probably best to just use the esp32 SD library. The esp32 library used the FatFs library. The ESP8266 library uses a version of SdFat: https://github.com/esp8266/Arduino/tree/master/libraries/SD The ESP8266 wrapper appears to...

I looked at how name() is used in _streamFileCore. It is only used to see if the file is gziped. So when I made name() a hard error WebServer failed...

See this for a possible solution for file.name() https://github.com/greiman/SdFat/issues/337

file.name() does not exist for long file names. This can require a buffer of over 500 bytes for utf-8 names so you must modify this call 227 | _streamFileCore(file.size(), file.name(),...

You probably need to stick with the ESP8266 SD library. There are now many conflicts with SdFat. This ESP8266 library uses a version of SdFat: https://github.com/esp8266/Arduino/tree/master/libraries/SD

2.0.7 compiles but will have problems since name() is not functional. Here is the code for 2.0.7: ``` * \return a pointer to replacement suggestion. */ const char* name() const...

The problem that occurs with 2.1.0 for ESP8266WebServer is that I replaced a call to a dummy function, file.name(), that return an error message instead of a filename with a...

Looks like SdFat decodes the year as BCD but it's binary. Could you edit SdIinfo.ino and change line 57 from this: ` cout

Thank you. This fix will be in the next version. It may be a while since I have a number of other changes in beta-test.

SD.h uses a 2009 version of SdFat. New versions of SdFat use optimized faster SPI. Try editing SdFatConfig.h and at about line 124 set SPI_DRIVER_SELECT to one like this: `#define...