Extending storage module size?

Posted on
  • Hi everyone. I've been reading the posts on GitHub and here in the forums about making the storage module space bigger. It seems that the limitation is that it is "memory mapped"? But what does that mean "memory mapped"? I couldn't find exactly what that meant?

    My storage area shows about maybe 220K free? I find that small, considering I have 4-16MB of flash space typically.

    Is it possible to expand? I saw someone else ask about this somewhere, but no one responded to them.

    Thanks! :)

  • I surprised how this seems to have zero views in the forum list. Is it true that no one wants a bigger Storage area? :P

  • Mon 2021.10.18

    'I surprised how this seems to have zero views'

    It is more likely that as the ESP32 is an unsupported board, most of the community members support this project with their purchase of an authentic Espruino board.

    http://www.espruino.com/Other+Boards
    https://www.patreon.com/espruino

  • It is more likely that as the ESP32 is an unsupported board, most of the community members support this project with their purchase of an authentic Espruino board.

    There are ESP32 / 8266 community members -- so I'm guessing that people just aren't interested in a Storage module with a larger capacity, which is perfectly OK. I just posted to see the interest and if anyone had discussed it.

    I'll have a look at the module at some point myself I guess.

    G

  • I surprised how this seems to have zero views in the forum list.

    This is some forum issue, noticed this with another topics too. The number can take some time to update - even one day or more.

    As for the topic - I'm not using Espruino with ESP32 but looks like the size and address of storage is set here https://github.com/espruino/Espruino/blo­b/master/boards/ESP32.py#L60
    and it matches js_code partition here https://github.com/espruino/Espruino/blo­b/master/targets/esp32/Changes_V3.1/part­itions_espruino.csv
    Interesting that there is another 640KB partition called storage right after it so maybe esp32 has another filesystem in flash there? Anyway this partition table is sized for 4MB of flash.

  • I believe you can use the FS module to access some extra storage.

    Format the extra partition using http://www.espruino.com/Reference#l_E_fl­ashFatFS
    you can then use the extra space availible on the ESP32 board.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Extending storage module size?

Posted by Avatar for MisterG @MisterG

Actions