2021-11-06 12:38:11 +00:00
# [InfiniTime](https://github.com/InfiniTimeOrg/InfiniTime)
2020-07-28 20:51:14 +00:00
2021-10-15 16:03:10 +00:00
[![Build PineTime Firmware ](https://github.com/InfiniTimeOrg/InfiniTime/workflows/Build%20PineTime%20Firmware/badge.svg?branch=master )](https://github.com/InfiniTimeOrg/InfiniTime/actions)
2020-07-28 20:51:14 +00:00
2022-08-21 11:42:53 +00:00
![InfiniTime logo ](doc/logo/infinitime-logo-small.jpg "InfiniTime Logo" )
2020-08-02 16:09:38 +00:00
2021-11-14 13:23:12 +00:00
Fast open-source firmware for the [PineTime smartwatch ](https://www.pine64.org/pinetime/ ) with many features, written in modern C++.
2020-07-18 20:15:14 +00:00
2021-08-03 16:51:58 +00:00
## New to InfiniTime?
2022-08-21 11:50:09 +00:00
- [Getting started with InfiniTime ](doc/gettingStarted/gettingStarted-1.0.md )
- [Updating the software ](doc/gettingStarted/updating-software.md )
- [About the firmware and bootloader ](doc/gettingStarted/about-software.md )
2022-07-21 20:02:33 +00:00
2021-11-08 15:42:42 +00:00
### Companion apps
2022-07-21 20:02:33 +00:00
2022-08-21 11:50:09 +00:00
- [Gadgetbridge ](https://gadgetbridge.org/ ) (Android)
- [AmazFish ](https://openrepos.net/content/piggz/amazfish/ ) (SailfishOS)
- [Siglo ](https://github.com/alexr4535/siglo ) (Linux)
- [InfiniLink ](https://github.com/InfiniTimeOrg/InfiniLink ) (iOS) ** [Looking for a new maintainer]**
- [ITD ](https://gitea.arsenm.dev/Arsen6331/itd ) (Linux)
2023-02-11 13:23:51 +00:00
- [WatchMate ](https://github.com/azymohliad/watchmate ) (Linux)
2021-07-25 15:50:55 +00:00
2022-11-06 14:50:37 +00:00
***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 ](https://gadgetbridge.org/ ).*
2021-11-14 13:23:12 +00:00
## Development
2020-07-27 19:23:51 +00:00
2022-08-21 11:50:09 +00:00
- [InfiniTime Vision ](doc/InfiniTimeVision.md )
- [Rough structure of the code ](doc/code/Intro.md )
- [How to implement an application ](doc/code/Apps.md )
- [Generate the fonts and symbols ](src/displayapp/fonts/README.md )
- [Tips on designing an app UI ](doc/ui_guidelines.md )
- [Bootloader, OTA and DFU ](bootloader/README.md )
2022-10-02 10:27:10 +00:00
- [External resources ](doc/ExternalResources.md )
2022-02-01 20:48:56 +00:00
2021-11-14 13:23:12 +00:00
### Contributing
2022-07-21 20:02:33 +00:00
2022-08-21 11:50:09 +00:00
- [How to contribute? ](doc/contribute.md )
- [Coding conventions ](doc/coding-convention.md )
2021-11-14 13:23:12 +00:00
2020-07-18 20:15:14 +00:00
### Build, flash and debug
2021-07-25 15:50:55 +00:00
2022-08-21 11:50:09 +00:00
- [InfiniTime simulator ](https://github.com/InfiniTimeOrg/InfiniSim )
- [Build the project ](doc/buildAndProgram.md )
- [Build the project with Docker ](doc/buildWithDocker.md )
- [Build the project with VSCode ](doc/buildWithVScode.md )
- [Flash the firmware using OpenOCD and STLinkV2 ](doc/openOCD.md )
- [Flash the firmware using SWD interface ](doc/SWD.md )
- [Flash the firmware using JLink ](doc/jlink.md )
- [Flash the firmware using GDB ](doc/gdb.md )
- [Stub using NRF52-DK ](doc/PinetimeStubWithNrf52DK.md )
2020-07-26 14:15:12 +00:00
2020-07-18 20:15:14 +00:00
### API
2021-07-25 15:50:55 +00:00
2022-08-21 11:50:09 +00:00
- [BLE implementation and API ](doc/ble.md )
2021-07-25 15:50:55 +00:00
2020-07-18 20:15:14 +00:00
### Architecture and technical topics
2021-07-25 15:50:55 +00:00
2022-08-21 11:50:09 +00:00
- [Memory analysis ](doc/MemoryAnalysis.md )
2021-07-25 15:50:55 +00:00
2023-01-15 08:41:10 +00:00
### Project management
- [Maintainer's guide ](doc/maintainer-guide.md )
- [Versioning ](doc/versioning.md )
- [Project branches ](doc/branches.md )
- [Files included in the release notes ](doc/filesInReleaseNotes.md )
2020-08-02 15:38:51 +00:00
## Licenses
2021-07-25 15:50:55 +00:00
2020-08-02 15:38:51 +00:00
This project is released under the GNU General Public License version 3 or, at your option, any later version.
It integrates the following projects:
2022-08-21 11:50:09 +00:00
- RTOS : ** [FreeRTOS ](https://freertos.org )** under the MIT license
- UI : ** [LittleVGL/LVGL ](https://lvgl.io/ )** under the MIT license
- BLE stack : ** [NimBLE ](https://github.com/apache/mynewt-nimble )** under the Apache 2.0 license
- Font : ** [Jetbrains Mono ](https://www.jetbrains.com/fr-fr/lp/mono/ )** under the Apache 2.0 license
2021-07-25 15:50:55 +00:00
## Credits
2023-01-20 02:52:57 +00:00
I’ m not working alone on this project. First, many people create PR 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.
2020-03-29 13:19:39 +00:00
2020-07-18 20:15:14 +00:00
Here are some people I would like to highlight:
2020-03-29 13:19:39 +00:00
2022-08-21 11:50:09 +00:00
- [Atc1441 ](https://github.com/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 ](https://github.com/bosmoment ) : 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 ](https://github.com/lupyuen ) : 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!