1
0
Fork 0
Operating system and applications for the PineTime watch
 
 
 
 
Go to file
ml server 9be8b06c68 jebbatime.png 2021-06-12 17:48:41 -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 scriplet to upload main.py... 2021-06-12 17:39:22 -06:00
tools wasptool: Fix progress bar numbering 2021-05-05 21:02:16 +01:00
wasp sim, fewer features 2021-06-12 17:43:22 -06:00
.gitignore apps: pager: notifications: Added remove all notifications dialog 2020-11-29 09:12:03 +00:00
.gitmodules use spacecruft mirrors for git submodules 2021-06-12 12:05:56 -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 Makefile: Create .zip distributions as well as a tarball 2021-06-03 19:56:28 +01:00
README-upstream.rst readme stub 2021-06-12 11:53:48 -06:00
README.md jebbatime.png 2021-06-12 17:48:41 -06:00
TODO.rst TODO: Finalize v0.4 changelog 2021-02-20 11:50:04 +00: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.

Source

Upstream source code:

Non-free bits

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