Skip to content

Instantly share code, notes, and snippets.

@knkski
Created September 5, 2018 14:35
Show Gist options
  • Save knkski/701e5351a52d1ac579d00f6e53e2d6f1 to your computer and use it in GitHub Desktop.
Save knkski/701e5351a52d1ac579d00f6e53e2d6f1 to your computer and use it in GitHub Desktop.
Installing Pebble Time Round firmware

Download firmware from here:

https://github.com/Freeyourgadget/Gadgetbridge/wiki/Pebble-Firmware-updates

Copy it to your working directory

Install virtual environment:

virtualenv venv -p $(which python2.7)
source venv/bin/activate
pip install libpebble2 git+https://github.com/pebble/pebble-tool.git sourcemap

Flash firmware:

https://github.com/pebble-dev/wiki/wiki/Firmware%3A-Flashing-from-a-computer

Copy this gist to install_firmware.py:

https://gist.github.com/Katharine/af69eff12b7ccff6990d25ba8b299d2b

Enter REPL:

pebble repl --serial /dev/cu.PebbleA1F2-SerialPortSe

Run this:

import sys
sys.path.append('.')
import install_firmware as fw
fw._install_firmware(pebble, FIRMWARE_FILENAME)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment