You are reading a single comment by @allObjects and its replies. Click here to read the full conversation.
  • @LeebWeeb

    What's discussed so far is static stuff that happens once on upload...

    Espruino can though also use unused space in the flash for non-volatile storage, populated with write and then read back with read. Works perfect when way more read than writes... but I would not exactly call this as RAM, even though rewriteable at runtime.

    Rewrite has its issues. Inherent to the technology used, a rewrite can only happen after an erase, and the number of erase and rewrite cycles are limited. Espruino components to write to and read from "Storage" - as it is called - makes it very acceptable and super easy to use: it takes care of the erase as well as applies wear leveling to get maximum life time out of flash uses as r/w Storage.

    Checkout out require("Storage").xyz()` - the Storage 'class' at https://www.espruino.com/Reference#Storage ( and as well https://www.espruino.com/Reference#StorageFile )...

    I hope this helps you to conceive the app you have in mind to fit...

About

Avatar for allObjects @allObjects started