lorol / LITTLEFS

LittleFS library for arduino-esp32
GNU General Public License v2.0
167 stars 68 forks source link

write (buff, buffsize) does not detect error when disk is full #71

Open BojanJurca opened 2 weeks ago

BojanJurca commented 2 weeks ago

Hello, I noticed that write returns buffsize even in case of error, when the disk is full. It displays an error to Serial though:

E (228407) esp_littlefs: ./managed_components/joltwallet__littlefs/src/littlefs/lfs.c:689:error: No more free space 0x86

BojanJurca commented 2 weeks ago

... it looks like full disk identification works with the ESP32 S2 Dev Module but not with the ESP32 Dev Module ...