I don't have any real plans - there's a lot of other more important stuff I'm afraid.
The worst case (when totally resetting) is to write require('clean') (if you create node_modules/clean.js, but you could ensure that even when resetting the device to a 'blank' state, you actually just loaded a 'clean' image that contained the relevant load and save functions already:
function reset() {
loadFromSD("clean.bin");
load(); // re-load from SD
}
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.
I don't have any real plans - there's a lot of other more important stuff I'm afraid.
The worst case (when totally resetting) is to write
require('clean')
(if you createnode_modules/clean.js
, but you could ensure that even when resetting the device to a 'blank' state, you actually just loaded a 'clean' image that contained the relevant load and save functions already: