Like this? https://github.com/espruino/Espruino/blob/master/boards/THINGY52.py#L53
The JS files end up as modules that are available on the board. There's no way to add code that just gets run at boot yet though.
@Gordon 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.
Like this? https://github.com/espruino/Espruino/blob/master/boards/THINGY52.py#L53
The JS files end up as modules that are available on the board. There's no way to add code that just gets run at boot yet though.