1
0
Fork 0
Operating system and applications for the PineTime watch
 
 
 
 
Go to file
ml server 4991a6adde cruft up make 2021-06-14 14:14:55 -06:00
.github/workflows github: workflows: Fix add-path problems 2020-12-24 14:14:39 +00:00
bootloader@1d128f1311 reloader: Add support for newer PineTime factory firmware 2020-11-07 09:30:15 +00:00
config Set time scriptlets 2021-06-12 15:14:59 -06:00
docs Added weather application. 2021-06-03 21:43:38 +01:00
micropython@048bb2da83 micropython: Improve wdt logic 2020-12-26 15:12:43 +00:00
reloader@14f85fc921 reloader: Update to newer factory firmware for pinetime 2021-06-03 17:09:32 +01:00
res jebbatime.png 2021-06-12 17:48:41 -06:00
scripts rm some ble 2021-06-14 13:38:47 -06:00
tools wasptool: Fix progress bar numbering 2021-05-05 21:02:16 +01:00
wasp not connected. rm sim bits 2021-06-14 13:52:05 -06:00
.gitignore apps: pager: notifications: Added remove all notifications dialog 2020-11-29 09:12:03 +00:00
.gitmodules rm bma42x-upy.... 2021-06-14 12:37:07 -06:00
COPYING Add licensing information for all wasp-os files. 2020-03-22 15:40:18 +00:00
COPYING.LGPL Add licensing information for all wasp-os files. 2020-03-22 15:40:18 +00:00
Makefile cruft up make 2021-06-14 14:14:55 -06:00
README-upstream.rst readme stub 2021-06-12 11:53:48 -06:00
README.md non-free 2021-06-14 14:04:56 -06:00
TODO-upstream.rst upstream todo 2021-06-14 11:38:25 -06:00
TODO.md rm some ble 2021-06-14 13:38:47 -06:00

README.md

jebbatime

jebbatime is an operating system and application suite for the PineTime watch.

Build

To build.

  • Debian Buster (10).

Dependenices

Debian Packages

Install dependencies from Debian repos.

sudo apt install \
      wget git build-essential libsdl2-2.0-0 python3-click python3-gi \
      python3-numpy python3-pexpect python3-pil python3-pip python3-pydbus \
      python3-serial unzip \
      graphviz python3-recommonmark \
      python3-sphinx \
      python3-cairo \
      python3-ecdsa \
      pkg-config \
      bluez \
      ntpdate \
      sudo \
      gcc-arm-none-eabi ccache \
      fonts-lobstertwo

ccache

Add to ~/.bashrc:

PATH=/usr/lib/ccache:$PATH

Source

Source sauce.

git clone git@spacecruft.org:jebbatime/jebbatime.git
# Or
git clone https://spacecruft.org/jebbatime/jebbatime.git
cd jebbatime

Python

Install Python dependencies with pip.

pip3 install --user -r wasp/requirements.txt
pip3 install --user freetype-py

Submodules

Some submodules are mirrored.

make submodules
# XXX grabs some source zips
make softdevice

Compile

Build thang.

# Blow out, rinse, repeat. Should take less than a minute or so.
make mrproper
make clean BOARD=pinetime
make submodules
make all BOARD=pinetime

Fonts

HOWTO add font.

cd tools/micropython-font-to-py

./font_to_py.py								\
	/usr/share/fonts/opentype/lobstertwo/LobsterTwo-Bold.otf	\
	--xmap 64							\
	--errchar 58							\
	--smallest 48							\
	--largest 58							\
	lobstertwobold64.py

mv lobstertwobold64.py ../../wasp/fonts/

Setup

This assumes two devices, the sealed watch and the open developers watch.

mkdir ~/.config/
cp -p config/jebbatime.conf ~/.config/
# Adjust as needed.
vim ~/.config/jebbatime.conf

Use

Basic scripts are in scripts/.

Upstream

Fork

jebbatime is a lesser fork of Daniel Thompson's Wasp-os.

  • Same licenses.
  • Renamed.
  • Removed more than added.
  • Removing bits not used on Pinetime.
  • Removing bits not used by me.
  • No step counter.
  • No heart rate monitor.
  • Etc.
  • Not much useful added.
  • Nice digital face font. Battery and BLE icon removed from main app.

Source

Upstream source code:

Non-free bits

XXX Appears to include non-free "5-Clause Nordic License". :|