Which IDE are you using? The Windows Native one? The IDE should be splitting those writes into a series of function calls, but it doesn't appear to be (I guess it might be an old one, or maybe I didn't update the Windows Native IDE).
It looks like the flash write fails because of the write size being greater than 4k though - I'll fix that in the firmware (but with the right IDE it shouldn't be an issue anyway).
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.
Are you using firmware 1v98? and on Puck.js?
Which IDE are you using? The Windows Native one? The IDE should be splitting those writes into a series of function calls, but it doesn't appear to be (I guess it might be an old one, or maybe I didn't update the Windows Native IDE).
It looks like the flash write fails because of the write size being greater than 4k though - I'll fix that in the firmware (but with the right IDE it shouldn't be an issue anyway).