My first developments were either directly using hardware (GPS/BT) or depended on boot code so the emulator wasn't great for developing those which prompted me to just use the real thing. I got a spare Bangle for this so my daily driver can stay connected to GadgetBridge all the time.
I guess for most development an emulator-based workflow would be more than sufficient and probably allow for faster iterations. That is definitely something for me to explore.
The IDE has some really nice features like getting the value of variables by hovering over them in the source while using the debugger and autocompletion for most of the Bangle/Espruino-specific APIs. I don't know if that could easily be replicated otherwise.
Opening and marking the code files of an app in the IDE (usually app.js,lib.js, maybe a module) for automatic upload to the Bangle is a relatively low overhead for me. Everything is just open all the time on a dedicated virtual desktop in the background even if I don't use it. I let it upload libs/modules to storage and apps usually to RAM. That way every save in the editor directly uploads to hardware. I think that could simplify your workflow too since you would not need to rely on the copy-paste script anymore.
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.
Thanks for the compliments ;)
My first developments were either directly using hardware (GPS/BT) or depended on boot code so the emulator wasn't great for developing those which prompted me to just use the real thing. I got a spare Bangle for this so my daily driver can stay connected to GadgetBridge all the time.
I guess for most development an emulator-based workflow would be more than sufficient and probably allow for faster iterations. That is definitely something for me to explore.
The IDE has some really nice features like getting the value of variables by hovering over them in the source while using the debugger and autocompletion for most of the Bangle/Espruino-specific APIs. I don't know if that could easily be replicated otherwise.
Opening and marking the code files of an app in the IDE (usually app.js,lib.js, maybe a module) for automatic upload to the Bangle is a relatively low overhead for me. Everything is just open all the time on a dedicated virtual desktop in the background even if I don't use it. I let it upload libs/modules to storage and apps usually to RAM. That way every save in the editor directly uploads to hardware. I think that could simplify your workflow too since you would not need to rely on the copy-paste script anymore.