Most recent activity
Not bricked, you still have the DFUTarg device so you need to repeat/finish the DFU. Just checked and it looks like the build artefact is zip inside zip! Please unpack the BANGLEJS2.zip and use the espruino_2v17.2437_banglejs2_noflash.zip inside for DFU.
Also if that zip would not work you can recover via some official Bangle2 zip from http://www.espruino.com/Download
Thanks, I downloaded the BANGLEJS2 build.
And does it work?
If you have github account you can also make the build yourself any time in the future as I described. Before creating pull request you just need to "enable allow actions and reusable workflow" for your forked Espruino repo as per attached picture. After making pull request and letting it do the builds you can disable it again if you want it disabled. It looks like this is free service of github, not sure what are the limitations.
I don't really understand why you wrote that it was a "coincidence"
You randomly found a watch that you like. This exact watch is one of the very few that already can run Espruino. That means someone wrote support for most/all the hardware inside, figured out and documented installation procedure and made usable build for you. That looks like quite a coincidence to me.
And BTW 99% of NRF52 watches cannot be updated with custom firmware without taking them apart because the firmware is signed by private key of the manufacturer and the device update won't accept any other. Da Fit - mobile app+watch firmware made by Moyoung company is rare exception. Bangle2 hardware is rare exception too with SWD pins on charging connector allowing custom firmware installation too.
I have tested @Gordon 's idea https://forum.espruino.com/conversations/384817/#16909373 and it works, github makes the build for you without having any build environment. I have forked Espruino into new
patch-1branch by trying to edit the BANGLEJS2 board file. And then it was enough to create 'fake' pull request to my own main branch (not to upstream Espruino so it does not pollute it with extra PR).
The changes I did are here https://github.com/fanoush/Espruino/pull/5/files
and the result is here REMOVED, see bottom of edited post
just try the "BANGLEJS2" build if you trust it.
Basically I copied the BANGLEJS2_NOFLASH board file to BANGLEJS2 because that one is built as part of the workflow. Then it showed it actually does not build as is https://github.com/fanoush/Espruino/actions/runs/4501570382/jobs/7922189470 so I needed to trim some stuff down in second commit.
After you download it I will close the pull request without merging. Too bad it is not possible to abandon/delete pull request completely on github.
EDIT: another build (third commit) here, with removed initial factory content there is 80KB more available for storage
Thanks for the info, I didn't know that. I shared it mainly because of the design.
Yes, what a coincidence :-) More info e.g. here https://github.com/jeffmer/WatchApps#rock-and-magic3 But of course as unofficial port it is not properly maintained and currently it is outdated and only some subset of apps work. However with some effort it could be usable. You get what you pay for :-)
Yes, it is completely empty and you need to upload stuff again. You stopped using external 8MB SPI flash storage and now you are using small internal flash - only about 480KB free. This is enough for few apps but not for much so not sure how many apps will fit.
It even does not contain the initial flash content because you would otherwise have two copies there and I hope it is not needed(?) and everything can be uploaded via app loader(?)
@Gordon is it OK or is this https://github.com/espruino/Espruino/blob/master/boards/BANGLEJS2.py#L76 needed to be there as the initial content is not part of the app loader upload?
@Ocim in case the default content I removed in last build is really needed and you won't get it working with just the apploader you can take previous build which still has is (and the storage is smaller)