Yes, that's about it. However if the CR2025s go below 4.7v then when you plug in USB it'll try and charge them, which probably isn't good.
If you added a schottky diode (so you only get a 0.3v voltage drop) between the battery and 'Bat' it'd be totally safe though.
One other thing - if you're doing this for yourself then you might be able to modify a JST battery connector so the wires came out of the top, allowing you to fit it even when the Espruino was in a box. It'd be tight though.
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.
Yes, that's about it. However if the CR2025s go below 4.7v then when you plug in USB it'll try and charge them, which probably isn't good.
If you added a schottky diode (so you only get a 0.3v voltage drop) between the battery and 'Bat' it'd be totally safe though.
One other thing - if you're doing this for yourself then you might be able to modify a JST battery connector so the wires came out of the top, allowing you to fit it even when the Espruino was in a box. It'd be tight though.