Johny Mattsson
4a47813e20
Reduced SPIFFS cache, freeing ~0.5k RAM.
...
Also made the cache on/off configurable via user_config.h. Uncached writes
are not a very good idea, but for read-only deployments a further ~0.5k RAM
can be gained by disabling the cache.
Tweaked the file.read() workhorse to read large chunks at a time rather
than use getc(), to compensate for potential unavailability of cache.
2015-07-31 18:15:18 +10:00
Johny Mattsson
8d68ad7e15
Updated SPIFFS to 0.3.2, plus alignment fix.
2015-07-17 13:40:55 +10:00
funshine
9c0c960e84
json port from cjson. not work yet
2015-03-16 09:00:33 +08:00
funshine
81ea8d9597
add math, add file.fsinfo(), update spiffs.
2015-03-10 01:12:36 +08:00
Ezekiel-DA
c869eddb8a
Update file.c
...
Made file.seek() return nil on error / EOF, as specified in documentation, instead of returning true.
2015-02-25 14:34:07 -05:00
funshine
2d711bbc0d
update spiffs to 0.2.2, add file.rename api
2015-02-11 21:20:54 +08:00
funshine
971c4b569b
fix net.socket:send(), fix file.read() when 0xFF reached
2015-01-08 16:03:21 +08:00
funshine
b65fb02cc5
add file.format() to rebuild fs system, get more ram back
2015-01-07 15:57:17 +08:00
HuangRui
c04f2578ec
Updated SDK to v0.9.5 and optimized memory.
2015-01-05 10:09:51 +08:00
funshine
2553795b1e
add file.read() api, read(n) will read n byte.
2014-12-31 13:53:26 +08:00
funshine
cdd13b1af3
source file first commit, folder structure refact
2014-12-22 19:35:05 +08:00