Hi all, I'd like to let you know about a standalone (i.e., not browser-based) Bangle.js 2 emulator that I've been working on: https://github.com/dzhu/banglejs-emu.
While I really do love how Espruino provides in-browser tooling to make the barrier to entry as low as possible, and the emulator in the Espruino IDE in particular is a neat bit of tech, I find it a bit clumsy for everything to have to go through a browser (or a physical device). With this emulator, you can develop and test both firmware and apps in a way that's easier to integrate with typical coding workflows. I've already used it to help me fix a bug (https://github.com/espruino/Espruino/pull/2343) and do a variety of other tinkering besides. The emulator shows the screen and the console output right in the terminal window; the screen can be used for touch input, and you can connect via TCP to provide console input. Not all functionality is supported, but I think there's enough to be useful in a lot of cases.
The emulator is written in Rust; you can either set up Rust and build it yourself or download pre-built binaries for Linux, macOS, and Windows at https://github.com/dzhu/banglejs-emu/actions.
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.
Hi all, I'd like to let you know about a standalone (i.e., not browser-based) Bangle.js 2 emulator that I've been working on: https://github.com/dzhu/banglejs-emu.
While I really do love how Espruino provides in-browser tooling to make the barrier to entry as low as possible, and the emulator in the Espruino IDE in particular is a neat bit of tech, I find it a bit clumsy for everything to have to go through a browser (or a physical device). With this emulator, you can develop and test both firmware and apps in a way that's easier to integrate with typical coding workflows. I've already used it to help me fix a bug (https://github.com/espruino/Espruino/pull/2343) and do a variety of other tinkering besides. The emulator shows the screen and the console output right in the terminal window; the screen can be used for touch input, and you can connect via TCP to provide console input. Not all functionality is supported, but I think there's enough to be useful in a lot of cases.
The emulator is written in Rust; you can either set up Rust and build it yourself or download pre-built binaries for Linux, macOS, and Windows at https://github.com/dzhu/banglejs-emu/actions.