So then all you have to do is write a function that'll handle writing the array. However it's worth noting that when you write the array (unless it was all 0xFF and you're setting individual bytes) it'll need to be re-allocated so will be at a different address, so you'd have to update it with the line above again
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.
Well, you can't create an array that way that you can write to, but you can make it so you can read from it and store it on flash. This should work:
So then all you have to do is write a function that'll handle writing the array. However it's worth noting that when you write the array (unless it was all 0xFF and you're setting individual bytes) it'll need to be re-allocated so will be at a different address, so you'd have to update it with the line above again