• Hi - well, that is a strange one. As long as you release the button when you're on the blocky text screen (the bootloader) before or about the same time as BOOTING appears you should be basically ok though.

    As you say adding an option into the recovery menu instead seems like a smarter idea - but that menu only got added in the 2v19 last week so it's pretty new.

    PRs for this kind of stuff would be great! The fact it's an interpreter shouldn't be a big deal as you won't really go near that code. The code itself is at https://github.com/espruino/Espruino and you can build with https://github.com/espruino/Espruino/blob/master/README_Building.md

    There's some info on extending Espruino at https://www.espruino.com/Extending+Espruino+1#add-function-source-in-c - you don't need to make a new file, just add to jswrap_bluetooth.c

    And you can see how existing stuff works if you head to the reference at https://www.espruino.com/Reference#NRF then find a function you're interested in. You can then click the ⇒ link in the title and it'll bring you to where the function is defined in the code

About

Avatar for Gordon @Gordon started