Actually I just had a thought. Using the STM32Flash module you can do it pretty easily.
If that is what you want I can come up with some example code.
You mean, by directly editing the part of the flash with the saved code? I'd love to see some example code for that!
@DrAzzy 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.
Actually I just had a thought. Using the STM32Flash module you can do it pretty easily.
If that is what you want I can come up with some example code.