Thanks for looking into this - you're right. I'm not sure how the RAK boards ended up with only 12k reserved for saved code. I've just updated this to 40k like the other nRF52 devices.
There is some compression support in Espruino so 12k isn't as dire as you might think, but it's still easy to hit (although hopefully when you're using a built-in module for BG96 that'd reduce your code size even further).
The fact that it actually crashes when trying to save too much is bad news though. I'll take a look at that - it should just report that the saved code is too big.
© Espruino, powered by microcosm.
Report a problem