saleemrashid / pebble-libopencm3

Custom firmware for Pebble Time and Pebble Time Steel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pebble-libopencm3

Custom firmware for Pebble Time (snowy) and Pebble Time Steel (bobby)

Features

  • Custom display driver for the FPGA
  • Initial port of TREZOR firmware to Pebble
  • stdout and stderr redirect to QEMU serial (note: the printf family of functions do not work because they require an sbrk implementation)

Building

git submodule update --init --recursive # Clone submodules
make # Build libpebble_opencm3.a
make -C lights # Build lights/snowy_fw.bin
make -C rainbow # Build rainbow/snowy_fw.bin

QEMU

make -C rainbow qemu # Start rainbow/snowy_fw.bin in QEMU
make -C rainbow gdb # Connect to QEMU with GDB

Hardware

To test on real hardware, you can build a PBZ or you can use rfcomm and flash.py.

./flash.py --serial /dev/rfcomm0 --firmware rainbow/snowy_fw.bin --resources system_resources.pbpack

About

Custom firmware for Pebble Time and Pebble Time Steel


Languages

Language:C 62.7%Language:Makefile 20.8%Language:C++ 13.0%Language:Python 3.6%