Firmware for the smart watch PineTime from PINE64. Primarily focused on displaying time and notifications.
Built using Zephyr Project.
Home Screen | Console Screen |
---|---|
Hermes, messenger of the gods. He can convey messages between the divine realms, the underworld, and the world of mortals.
Follow the official steps: https://docs.zephyrproject.org/latest/getting_started/index.html
Note: use this repository's directory whenever you see mention of '~/zephyrproject'
- OS Update
- Install Dependencies
- Get the Source Code (don't create a new project, clone this repository!)
cd ~/ git clone --recurse-submodules https://github.com/Dejvino/pinetime-hermes-firmware.git cd pinetime-hermes-firmware west update
- Install Needed Python Packages
- Install Software Development Toolchain
cd ~/pinetime-hermes-firmware
west build -p -b pinetime ./app
west flash
or
./jlink-flash.sh
Enjoy!
- clock
- renders green digital clock with low precision time updates.
- power management
- backlight is enabled by holding the button, remains turned on for a few seconds.
- mocked battery level is available
- windows
- basic support for different windows (AKA screens/views/apps) shown on the display
- home shows a big clock, Bluetooth status, Battery level and a single notification message
- console shows a clock and a large scrolling console with several notification messages
- support for switching between the windows (not tested or used)
- basic support for different windows (AKA screens/views/apps) shown on the display
- notifications
- local in-memory storage of last X notifications
- Bluetooth
- connection status is indicated on the display
- advertises mock Battery level, Heart-rate sensor data, Current Time Service (CTS).
- synchronizes its clock from a connected device (if it provides CTS service).
- accepts notifications pushed to the device
Note: for the notifications to work you need a compatible Companion App, see below.
- Hermes Companion Apps: https://github.com/Dejvino/pinetime-hermes-companion
- Linux / PinePhone: companion-linux
- Android: companion-android
- PineTime Zephyr Toolkit: https://github.com/Dejvino/pinetime-zephyr
- PineTime Zephyr-RTOS: https://github.com/Dejvino/zephyr.git (pinetime branch)