Flash Library
This module allows you to read and write the nonvolatile flash memory of your device.
Also see the Storage library, which provides a safer file-like interface to nonvolatile storage.
I thought the 'Flash' and 'Storage' modules accessed the same Flash memory, with a separate API (roughly page vs file). But how then is the getFree() output to be interpreted ? Do I actually have 8 MByte available for access through the 'Storage' module ?
What then is the length of 483328 for the 'Flash' module ?
(I have about 60 kByte of code and files on the Bangle.js 2 for the moment, so I don't think it has anything to do with the Flash not being consecutive anymore.)
(All these questions because I need 'a lot' of space for storing a Far-East unicode font...)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi,
The Bangle.js 2 feature page notes :
I'm confused about Espruino's various getFree() outputs :
'flash_length' would then be the size of the internal flash ?
And then there is :
After reading
I thought the 'Flash' and 'Storage' modules accessed the same Flash memory, with a separate API (roughly page vs file). But how then is the getFree() output to be interpreted ? Do I actually have 8 MByte available for access through the 'Storage' module ?
What then is the length of 483328 for the 'Flash' module ?
(I have about 60 kByte of code and files on the Bangle.js 2 for the moment, so I don't think it has anything to do with the Flash not being consecutive anymore.)
(All these questions because I need 'a lot' of space for storing a Far-East unicode font...)