© Peter Hoddie and Lizzie Prader 2020
P. Hoddie, L. PraderIoT Development for ESP32 and ESP8266 with JavaScripthttps://doi.org/10.1007/978-1-4842-5070-9_5

5. Files and Data

Peter Hoddie1  and Lizzie Prader1
(1)
Menlo Park, CA, USA
 
Nearly every product has some data that it needs to ensure is available across restarts of the device, even if power is lost. On microcontrollers, flash memory is typically used for this non-volatile storage (NVS) memory. The same flash memory that holds the code of your application also stores the data your application uses and the data it creates. Here are some kinds of data your application might store:
  • Read-only data, such as the images that make up the user interface of your product or files containing static web pages ...

Get IoT Development for ESP32 and ESP8266 with JavaScript: A Practical Guide to XS and the Moddable SDK now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.