Hi - I'm not sure which board you're using, but you could possibly use E.setBootCode('...',true) with your code, then could just read the data out of flash and then write that file to all the other boards?
If you're building yourself why not just add 'default_console' : "EV_SERIAL6", in the board.py file?
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.
Hi - I'm not sure which board you're using, but you could possibly use
E.setBootCode('...',true)
with your code, then could just read the data out of flash and then write that file to all the other boards?If you're building yourself why not just add
'default_console' : "EV_SERIAL6",
in theboard.py
file?... to add your own code you'd be better off adding your own library - for example the Wio LTE executes JS this way: https://github.com/espruino/Espruino/blob/master/libs/wio_lte/jswrap_wio_lte.c#L150