You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to quickly change some code in Espruino, then compile it and flash it to my watch or the web ide emulator so that I can test my changes. That process should be very fast and very safe - no risk of breaking my watch just because I want to test a small change.
I am not able to find any documentation that can help me with that, so I want to write a tutorial specifically for this use case. I will probably need your help in finding a solution that works at all.
It should cover:
How to compile espruino - you mentioned the github action, that seems like the best solution
How to upload it easily to the banglejs2. Preferrably you can do this directly from the PC you are developing on via bluetooth.
To perform a DFU update on an nRF52 device, you need to unzip the BOARDNAME.zip file and then the zip file inside that called espruino_2vXX.YY_boardname.zip is the one you need to use for the firmware updates. On MacOS it may not be immediately apparent that the thing in BOARDNAME.zip named espruino_2vXX.YY_boardname is another zip file, and not a folder.
So linking to that from the tutorial might be good - I think that answers your second question.
How to make sure the upload cannot brick the device
Well, to some extent you can't. But as long as you're not messing with the bootloader you should always be able to recover by flashing this way: https://www.espruino.com/Firmware+Update#nrf52
how to build the Web IDE with an emulator that uses the custom espruino build
This is a continuation of espruino/Espruino#2476 (comment)
I want to quickly change some code in Espruino, then compile it and flash it to my watch or the web ide emulator so that I can test my changes. That process should be very fast and very safe - no risk of breaking my watch just because I want to test a small change.
I am not able to find any documentation that can help me with that, so I want to write a tutorial specifically for this use case. I will probably need your help in finding a solution that works at all.
It should cover:
fwupdate
fwupdate
Support double zipped firmware files BangleApps#3298I think this would be a very useful guide, what do you think?
The text was updated successfully, but these errors were encountered: