2021-11-06 08:38:11 -04:00
# [InfiniTime](https://github.com/InfiniTimeOrg/InfiniTime)
2020-07-28 16:51:14 -04:00
2021-10-15 12:03:10 -04: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 16:51:14 -04:00
2021-11-06 08:38:11 -04:00
![InfiniTime logo ](images/infinitime-logo-small.jpg "InfiniTime Logo" )
2020-08-02 12:09:38 -04:00
2021-11-06 08:38:11 -04:00
InfiniTime is an open-source firmware for the [Pinetime smartwatch ](https://www.pine64.org/pinetime/ )
2020-07-18 16:15:14 -04:00
2021-08-03 12:51:58 -04:00
## New to InfiniTime?
2021-11-06 08:38:11 -04:00
- [Getting started with InfiniTime ](doc/gettingStarted/gettingStarted-1.0.md )
- [About the software and updating ](doc/gettingStarted/updating-software.md )
2021-11-08 10:42:42 -05:00
### Companion apps
- [Gadgetbridge ](https://gadgetbridge.org/ ) (Android)
- [AmazFish ](https://openrepos.net/content/piggz/amazfish/ ) (SailfishOS)
- [Siglo ](https://github.com/alexr4535/siglo ) (Linux)
- [InfiniLink ](https://github.com/xan-m/InfiniLink ) ** [Experimental]** (iOS)
2021-07-25 11:50:55 -04:00
2020-04-05 11:03:06 -04:00
## Documentation
2020-07-27 15:23:51 -04:00
2020-08-08 14:28:55 -04:00
### Develop
2021-11-07 11:30:29 -05:00
- [Coding conventions ](/doc/coding-convention.md )
2021-10-05 09:19:44 -04:00
- [Rough structure of the code ](doc/code/Intro.md )
- [How to implement an application ](doc/code/Apps.md )
2021-04-18 13:28:14 -04:00
- [Generate the fonts and symbols ](src/displayapp/fonts/README.md )
2021-04-13 13:15:29 -04:00
- [Creating a stopwatch in Pinetime(article) ](https://pankajraghav.com/2021/04/03/PINETIME-STOPCLOCK.html )
2021-11-06 09:04:37 -04:00
- [Tips on designing an app UI ](doc/ui_guidelines.md )
2020-08-08 14:28:55 -04:00
2020-07-18 16:15:14 -04:00
### Build, flash and debug
2021-07-25 11:50:55 -04:00
2020-07-26 10:15:12 -04:00
- [Project branches ](doc/branches.md )
- [Versioning ](doc/versioning.md )
2020-07-27 15:23:51 -04:00
- [Files included in the release notes ](doc/filesInReleaseNotes.md )
2020-07-18 16:15:14 -04:00
- [Build the project ](doc/buildAndProgram.md )
2020-09-28 16:07:54 -04:00
- [Flash the firmware using OpenOCD and STLinkV2 ](doc/openOCD.md )
2021-11-06 08:38:11 -04:00
- [Flash the firmware using SWD interface ](doc/SWD.md )
2020-08-19 16:04:48 -04:00
- [Build the project with Docker ](doc/buildWithDocker.md )
2021-07-25 21:14:23 -04:00
- [Build the project with VSCode ](doc/buildWithVScode.md )
2020-07-18 16:15:14 -04:00
- [Bootloader, OTA and DFU ](./bootloader/README.md )
- [Stub using NRF52-DK ](./doc/PinetimeStubWithNrf52DK.md )
2020-07-26 10:15:12 -04:00
2020-07-18 16:15:14 -04:00
### API
2021-07-25 11:50:55 -04:00
2020-07-18 16:15:14 -04:00
- [BLE implementation and API ](./doc/ble.md )
2021-07-25 11:50:55 -04:00
2020-07-18 16:15:14 -04:00
### Architecture and technical topics
2021-07-25 11:50:55 -04:00
2020-07-20 15:30:00 -04:00
- [Memory analysis ](./doc/MemoryAnalysis.md )
2021-07-25 11:50:55 -04:00
2021-11-06 08:38:11 -04:00
## Contributing
2020-07-18 16:15:14 -04:00
2020-07-22 18:33:57 -04:00
This project is far from being finished, and there are still a lot of things to do for this project to become a firmware usable by the general public.
2020-07-18 16:15:14 -04:00
2021-11-07 11:30:29 -05:00
Do not hesitate to fork the code, hack it and create pull-requests! Make sure to read the [coding conventions ](/doc/coding-convention.md )
2021-07-25 11:50:55 -04:00
2021-11-07 11:30:29 -05:00
You don't need to be a programmer to contribute. Read this page for more information on how you can help: [How to contribute? ](doc/contribute.md )
2020-07-18 16:15:14 -04:00
2020-08-02 11:38:51 -04:00
## Licenses
2021-07-25 11:50:55 -04:00
2020-08-02 11:38:51 -04: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:
- 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 11:50:55 -04:00
## Credits
2020-07-18 16:15:14 -04: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 09:19:39 -04:00
2020-07-18 16:15:14 -04:00
Here are some people I would like to highlight:
2020-03-29 09:19:39 -04:00
2020-07-18 16:15:14 -04: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.
2020-07-25 12:16:38 -04:00
- [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!
2020-07-22 18:33:57 -04:00
- [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!
2020-03-29 09:19:39 -04:00
2020-07-18 16:15:14 -04:00
*If you feel like you should appear on this list, just get in touch with me or submit a PR :)*