The same thing should work with E.setBootCode - the issue is that on many of the STM32 boards there is very little free flash memory available, so being able to put code in there really doesn't help you much.
Note: There's an option in the Web IDE to do setBootCode automatically - the only issue is it won't work for modules (hence @tve's stuff above). If you just stick all your code into the main editor window it'll work though
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.
The same thing should work with
E.setBootCode
- the issue is that on many of the STM32 boards there is very little free flash memory available, so being able to put code in there really doesn't help you much.Note: There's an option in the Web IDE to do
setBootCode
automatically - the only issue is it won't work for modules (hence @tve's stuff above). If you just stick all your code into the main editor window it'll work though