• Johny Mattsson's avatar
    Reduced SPIFFS cache, freeing ~0.5k RAM. · 4a47813e
    Johny Mattsson authored
    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.
    4a47813e
spiffs_config.h 6.94 KB