maybe try some different places, but as a start:
jshIdle
Ideally they should both end up getting called and flashing the LED.
You could also try this at the end of jsiSoftInit (https://github.com/espruino/Espruino/blob/master/src/jsinteractive.c#L438)
jsiSoftInit
jsvUnLock(jspEvaluate("setInterval('LED.toggle()',500)", true));
In fact maybe just try doing that last one on its own - if the LED flashes then Espruino is working, it's just the serial that's not set up right.
@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.
maybe try some different places, but as a start:
jshIdle
(https://github.com/espruino/Espruino/blob/master/targets/stm32/jshardware.c#L1349) and another at the end that sets to 0.Ideally they should both end up getting called and flashing the LED.
You could also try this at the end of
jsiSoftInit
(https://github.com/espruino/Espruino/blob/master/src/jsinteractive.c#L438)In fact maybe just try doing that last one on its own - if the LED flashes then Espruino is working, it's just the serial that's not set up right.