mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-01-16 20:52:57 +08:00
4a47813e20
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.