Just to add that it turns out prefetch adds ~10% to the power consumption, but only reduces performance by 3%. Looks like it's getting turned off by default unless anyone has any reasons not to?
If anyone is interested, you can 'overclock' the flash memory by reducing the wait states to 1: poke32(0x40023C00, (peek32(0x40023C00)&~3) | 1);
Seems to add around 8% performance. I'm not sure how reliable it is though - at least according to the datasheet you're not supposed to run it that fast.
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.
Just to add that it turns out prefetch adds ~10% to the power consumption, but only reduces performance by 3%. Looks like it's getting turned off by default unless anyone has any reasons not to?
If anyone is interested, you can 'overclock' the flash memory by reducing the wait states to 1:
poke32(0x40023C00, (peek32(0x40023C00)&~3) | 1);
Seems to add around 8% performance. I'm not sure how reliable it is though - at least according to the datasheet you're not supposed to run it that fast.