I think I have in the past. I'll double check as soon as it recurs and report back with findings. I did an eraseAll last night to record the night's sleep movement and HR values, but the battery died midway. That reminds me I should merge from upstream again :-)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi - that open issue won't be your problem (it's for FAT on ESP32 - it's
E.openFile
, notStorage
related).Does
require("Storage").list()
show you any files that look like they could have come fromtest
?That's expected - it won't actually start writing the file until you write data into it.
require("Storage").getFree()==3144
is your main problem though. You need at least 4100(ish) bytes to start writing a file withStorageFile
.Does
require("Storage").compact()
do anything to free up space?