2021-11-06 13:38:11 +01:00
# [InfiniTime](https://github.com/InfiniTimeOrg/InfiniTime)
2020-07-28 22:51:14 +02:00
2021-10-15 18:03:10 +02: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 22:51:14 +02:00
2022-08-21 13:42:53 +02:00
![InfiniTime logo ](doc/logo/infinitime-logo-small.jpg "InfiniTime Logo" )
2020-08-02 18:09:38 +02:00
2021-11-14 14:23:12 +01:00
Fast open-source firmware for the [PineTime smartwatch ](https://www.pine64.org/pinetime/ ) with many features, written in modern C++.
2020-07-18 22:15:14 +02:00
2021-08-03 18:51:58 +02:00
## New to InfiniTime?
2022-08-21 13:50:09 +02: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 22:02:33 +02:00
2021-11-08 16:42:42 +01:00
### Companion apps
2022-07-21 22:02:33 +02:00
2022-08-21 13:50:09 +02: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)
2021-07-25 17:50:55 +02:00
2021-11-14 14:23:12 +01:00
## Development
2020-07-27 21:23:51 +02:00
2022-08-21 13:50:09 +02: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 )
- [Versioning ](doc/versioning.md )
- [Project branches ](doc/branches.md )
- [Files included in the release notes ](doc/filesInReleaseNotes.md )
2022-02-01 21:48:56 +01:00
2021-11-14 14:23:12 +01:00
### Contributing
2022-07-21 22:02:33 +02:00
2022-08-21 13:50:09 +02:00
- [How to contribute? ](doc/contribute.md )
- [Coding conventions ](doc/coding-convention.md )
2021-11-14 14:23:12 +01:00
2020-07-18 22:15:14 +02:00
### Build, flash and debug
2021-07-25 17:50:55 +02:00
2022-08-21 13:50:09 +02: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 16:15:12 +02:00
2020-07-18 22:15:14 +02:00
### API
2021-07-25 17:50:55 +02:00
2022-08-21 13:50:09 +02:00
- [BLE implementation and API ](doc/ble.md )
2021-07-25 17:50:55 +02:00
2020-07-18 22:15:14 +02:00
### Architecture and technical topics
2021-07-25 17:50:55 +02:00
2022-08-21 13:50:09 +02:00
- [Memory analysis ](doc/MemoryAnalysis.md )
2021-07-25 17:50:55 +02:00
2020-08-02 17:38:51 +02:00
## Licenses
2021-07-25 17:50:55 +02:00
2020-08-02 17:38:51 +02: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 13:50:09 +02: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 17:50:55 +02:00
## Credits
2020-07-18 22:15:14 +02:00
I’ m not working alone on this project. First, many people create PR for this projects. 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 15:19:39 +02:00
2020-07-18 22:15:14 +02:00
Here are some people I would like to highlight:
2020-03-29 15:19:39 +02:00
2022-08-21 13:50:09 +02: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!