It's something I'd considered - there may be an issue on GitHub for it.
It's not easy to do though, because of the reference counting and locks which change whenever something is referenced. Also, the jsvLock implementation would need to check if the variable was in flash or not, which would slow down everything.
Also, right now, the data is stored compressed in Flash - so I couldn't access it directly.
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.
It's something I'd considered - there may be an issue on GitHub for it.
It's not easy to do though, because of the reference counting and locks which change whenever something is referenced. Also, the
jsvLock
implementation would need to check if the variable was in flash or not, which would slow down everything.Also, right now, the data is stored compressed in Flash - so I couldn't access it directly.