Ok, I just spotted a few issues which I've fixed, so hopefully it'll be fine now. The closure minifier was inlining a function and had added a label/break-to-label, which is something Espruino doesn't support.
What's the current recommended way to disable the UART?
Best bet is https://www.espruino.com/BLE+Security#disable-the-ble-uart - and there's some code to re-add it after a button press. But... if you apply power while holding BTN1 down then unless you uploaded as 'flash, even after reset' the board won't load the saved code and you'll be ok to connect anyway.
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.
Ok, I just spotted a few issues which I've fixed, so hopefully it'll be fine now. The closure minifier was inlining a function and had added a label/break-to-label, which is something Espruino doesn't support.
Best bet is https://www.espruino.com/BLE+Security#disable-the-ble-uart - and there's some code to re-add it after a button press. But... if you apply power while holding BTN1 down then unless you uploaded as 'flash, even after reset' the board won't load the saved code and you'll be ok to connect anyway.