01-13-2020, 09:45 PM
(01-10-2020, 11:47 PM)cscott Wrote: Has anyone looked closely at the work the RebbleOS folks did in creating an open source version of the Pebble OS?
It seems to be based on FreeRTOS and the Pebble hardware is very similar, although presumably we'd only use the center 144x168 pixels of the display. https://github.com/PebbleA2/wiki/wiki/Watch-Comparison is a good summary of the pebble hardware. https://github.com/ginge/FreeRTOS-Pebble seems to be the main site for the pebble firmware reimplementation.
The main limitation seems to be that "the Pebble hardware is very similar", that is, PineTime doesn't have a lot of extra CPU, RAM, or Flash to play with. So the clone implementation can't cut corners, it would have to be at least as good as the original 2012 PebbleOS. And PineTime has a lot of features that Pebble doesn't...
Still, it would be really nice to be able to cross-compile some of the old pebble watchfaces and see them run on new hardware -- or better, upload a .pbw directly to the watch via bluetooth. https://developer.rebble.io/developer.pe...index.html documents the pebble APIs you'd need to reimplement. I looked but couldn't find any documentation on the PBW file format for watch faces. https://github.com/pebble-dev/neographics has a reimplementation of the pebble graphics APIs.
I'm interested in comparing notes with anyone who's thought hard about this.
The PBW files are standard ZIP files. I wrote a very simple watch face for the Pebble and the PBW file contains a BIN file, 2 JSON files and a PBPACK file whose format I don't know.
I agree, being able to use the Pebble watch faces would be very valuable.