The firmware referenced above should work on the PineTime, however, I have not tried it. There are some pin out differences which you can find listed by @atc1441 here https://github.com/atc1441/ATCwatch/blob/master/ATCwatch/pinout.h. These can easily be dealt with by editing the Espruino device driver modules. There are quite a few different versions of the P8 with different accelerometers which can again be dealt with in Espruino code.
There are I think some posts from @fanoush on this topic (or comments on his Github repository).
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.
The firmware referenced above should work on the PineTime, however, I have not tried it. There are some pin out differences which you can find listed by @atc1441 here https://github.com/atc1441/ATCwatch/blob/master/ATCwatch/pinout.h. These can easily be dealt with by editing the Espruino device driver modules. There are quite a few different versions of the P8 with different accelerometers which can again be dealt with in Espruino code.
There are I think some posts from @fanoush on this topic (or comments on his Github repository).