If you check BANGLEJS2.py there is a line for DEFINES += -DSPIFLASH_SLEEP_CMD - and that might help you out here?
BANGLEJS2.py
DEFINES += -DSPIFLASH_SLEEP_CMD
@Gordon started
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.
If you check
BANGLEJS2.py
there is a line forDEFINES += -DSPIFLASH_SLEEP_CMD
- and that might help you out here?