You are reading a single comment by @fanoush and its replies. Click here to read the full conversation.
  • to actually move all storage onto the flash memory

    Was thinking about actually move only some storage to external memory. How easy is to have code in Storage in internal flash and then have second instance of Storage object/module for data in external SPI memory? Or maybe have one Storage but multiple drives or paths like ".boot0" in internal as before and "ext:data.bin" or "ext/data.bin" in external? But two instances like e.g. SPI objects could be easier - just a flag which one it is. I guess modules cannot have parameters like require.("Storage","internal") or require("Storage")("internal") like described here?

    Idea is that code is relatively small and can run in-place in internal flash but data can be large. Also running code in internal flash may draw less power when javascript source is not continuously interpreted by reading over SPI.

About

Avatar for fanoush @fanoush started