This repository is a fork of the InfiniTime firmware for the PineTime smartwatch. It is optimised for use as a BLE DataSource for OpenSeizureDetector.
- I had trouble building it on Ubuntu, so use the docker container provided by the Infinitime Project.
- Build with:
- cd InfinitimeSD
- docker run --rm -it -v
${PWD}:/sources --user $ (id -u):$(id -g) infinitime-build
- Flash the DFU format binary (e.g. build/output/pinetime-mcuboot-app-dfu-1.13.1.zip) using either GadgetBridge for Android or Siglo on Linux. (The waspos wasptool.py or dfu.py scripts do not work). Siglo seems a bit tempremental - you seem to have to manually pair the watch to the laptop before it will work (but there is no helpful error message to say that!)
Fast open-source firmware for the PineTime smartwatch with many features, written in modern C++.
- Getting started with InfiniTime
- Updating the software
- About the firmware and bootloader
- PineTimeStyle Watch face
- Gadgetbridge (Android)
- AmazFish (SailfishOS)
- Siglo (Linux)
- InfiniLink (iOS)
- ITD (Linux)
- WatchMate (Linux)
Note: We removed mentions to NRFConnect as this app is closed source and recent versions do not work anymore with InfiniTime (the last version known to work is 4.24.3). If you used NRFConnect in the past, we recommend you switch to Gadgetbridge.
- InfiniTime Vision
- Rough structure of the code
- How to implement an application
- Generate the fonts and symbols
- Tips on designing an app UI
- Bootloader, OTA and DFU
- External resources
- InfiniTime simulator
- Build the project
- Build the project with Docker
- Build the project with VSCode
- Flash the firmware using OpenOCD and STLinkV2
- Flash the firmware using SWD interface
- Flash the firmware using JLink
- Flash the firmware using GDB
- Stub using NRF52-DK
- Maintainer's guide
- Versioning
- Project branches
- Files included in the release notes
- Files needed by the factory
This project is released under the GNU General Public License version 3 or, at your option, any later version.
It integrates the following projects:
- RTOS: FreeRTOS under the MIT license
- UI: LittleVGL/LVGL under the MIT license
- BLE stack: NimBLE under the Apache 2.0 license
- Font: Jetbrains Mono under the Apache 2.0 license
I’m not working alone on this project. First, many people create pull requests for this project. Then, there is the whole #pinetime community: a lot of people all around the world who are hacking, searching, experimenting and programming the Pinetime. We exchange our ideas, experiments and code in the chat rooms and forums.
Here are some people I would like to highlight:
- Atc1441: He works on an Arduino based firmware for the Pinetime and many other smartwatches based on similar hardware. He was of great help when I was implementing support for the BMA421 motion sensor and I²C driver.
- Koen: He’s working on a firmware based on RiotOS. He integrated similar libs as me: NimBLE, LittleVGL,… His help was invaluable too!
- Lup Yuen Lee: He is everywhere: he works on a Rust firmware, builds a MCUBoot based bootloader for the Pinetime, designs a Flutter based companion app for smartphones and writes a lot of articles about the Pinetime!